Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to use powershell to get Snapshot Policy's Snapmirrorlable
2023-04-26
08:02 PM
1,719 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Is anybody know how to get Snapshot Policy's SnapMirror Label?
I can't get any SnapMirror Label information in get-ncsnapshotpolicy
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To get the SnapMirror label information for a Snapshot Policy, you need to use the "Get-NcSnapmirrorPolicy" cmdlet instead of "Get-NcSnapshotPolicy". The "Get-NcSnapmirrorPolicy" cmdlet retrieves the SnapMirror policy information, including the label.
Barcode Label Maker by : https://www.barcodelabelmaker.org
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Kirk
but I don't see the snapmirror label in the output
PS C:\File> Get-NcSnapmirrorPolicy myasyncsnapmirrorpolicy1|fl
Comment :
CreateSnapshot : False
DiscardConfigs :
IgnoreAtime : False
IsNetworkCompressionEnabled : False
NcController : 10.0.0.1
Owner : vserver_admin
PolicyName : myasyncsnapmirrorpolicy1
Restart : always
SnapmirrorPolicyRules : {mysnapmirrorlabel1}
TotalKeep : 255
TotalRules : 1
TransferPriority : normal
Tries : 8
Type : vault
VserverName : svm1
WindowSizeForTdpMirror :
CommonSnapShotSchedule :
Rpo :
Uuid :
CopyAllSourceSnapshots :
CreateSnapshotOnSource :
CopyLatestSourceSnapshot :
Throttle :
IdentityPreservation :
TransferSchedule :
SyncType :
Archive :
CreateSnapshotSpecified : True
IgnoreAtimeSpecified : True
IsNetworkCompressionEnabledSpecified : True
TotalKeepSpecified : True
TotalRulesSpecified : True
Name : myasyncsnapmirrorpolicy1
Vserver : svm1
