< Back
Get-NsSnapshotProtectionService
Post
NAME Get-NsSnapshotProtectionService
SYNOPSIS
Get Snaphost based Protection Services
SYNTAX
Get-NsSnapshotProtectionService [<CommonParameters>]
Get-NsSnapshotProtectionService [-Path <String>] [-ByPath] [<CommonParameters>]
Get-NsSnapshotProtectionService [-Name <String>] [-ByName] [<CommonParameters>]
DESCRIPTION
Get Snaphost based Protection Services
PARAMETERS
-Path <String>
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Name <String>
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-ByPath [<SwitchParameter>]
Invoke to resolve ambiguity between piped inputs
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ByName [<SwitchParameter>]
Invoke to resolve ambiguity between piped inputs
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Nothing if no matching filesystems are found.
All snaphot protection services if no criteria given
Otherwise, matching snaphot protection services
-------------------------- EXAMPLE 1 --------------------------
PS C:\\temp>Get-Filesystem p1/collab-01 | Get-SnapshotProtectionService -ByPath | ft
name id managerNodes isManager runNumber recursive sourceDataset
type state isLocked
---- -- ------------ --------- --------- --------- -------------
---- ----- --------
collab-01-hourly 6c1da6c1-05a7-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 True p1/collab-01
scheduled enabled False
twsset/sdf 7bacd8d1-05a8-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 False p1/collab-01
scheduled enabled False
Get all services for a filesystem
-------------------------- EXAMPLE 2 --------------------------
PS C:\\temp>Get-SnapshotProtectionService | ft
name id managerNodes isManager runNumber recursive sourceDataset
type state isLocked
---- -- ------------ --------- --------- --------- -------------
---- ----- --------
p1-top2 d32e58e0-ff86-11e7-9b3d-773bc8b1c3e3 @{primary=} True 0 True p1/top2
scheduled faulted False
daily 4121b941-0046-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 True p1/top2
scheduled faulted False
test-hpr-ss 58f73c10-0515-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 True p1/test
scheduled enabled False
collab-01-hourly 6c1da6c1-05a7-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 True p1/collab-01
scheduled enabled False
twsset/sdf 7bacd8d1-05a8-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 False p1/collab-01
scheduled enabled False
Get all services
RELATED LINKS
SYNOPSIS
Get Snaphost based Protection Services
SYNTAX
Get-NsSnapshotProtectionService [<CommonParameters>]
Get-NsSnapshotProtectionService [-Path <String>] [-ByPath] [<CommonParameters>]
Get-NsSnapshotProtectionService [-Name <String>] [-ByName] [<CommonParameters>]
DESCRIPTION
Get Snaphost based Protection Services
PARAMETERS
-Path <String>
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Name <String>
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-ByPath [<SwitchParameter>]
Invoke to resolve ambiguity between piped inputs
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ByName [<SwitchParameter>]
Invoke to resolve ambiguity between piped inputs
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Nothing if no matching filesystems are found.
All snaphot protection services if no criteria given
Otherwise, matching snaphot protection services
-------------------------- EXAMPLE 1 --------------------------
PS C:\\temp>Get-Filesystem p1/collab-01 | Get-SnapshotProtectionService -ByPath | ft
name id managerNodes isManager runNumber recursive sourceDataset
type state isLocked
---- -- ------------ --------- --------- --------- -------------
---- ----- --------
collab-01-hourly 6c1da6c1-05a7-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 True p1/collab-01
scheduled enabled False
twsset/sdf 7bacd8d1-05a8-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 False p1/collab-01
scheduled enabled False
Get all services for a filesystem
-------------------------- EXAMPLE 2 --------------------------
PS C:\\temp>Get-SnapshotProtectionService | ft
name id managerNodes isManager runNumber recursive sourceDataset
type state isLocked
---- -- ------------ --------- --------- --------- -------------
---- ----- --------
p1-top2 d32e58e0-ff86-11e7-9b3d-773bc8b1c3e3 @{primary=} True 0 True p1/top2
scheduled faulted False
daily 4121b941-0046-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 True p1/top2
scheduled faulted False
test-hpr-ss 58f73c10-0515-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 True p1/test
scheduled enabled False
collab-01-hourly 6c1da6c1-05a7-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 True p1/collab-01
scheduled enabled False
twsset/sdf 7bacd8d1-05a8-11e8-9b3d-773bc8b1c3e3 @{primary=} True 0 False p1/collab-01
scheduled enabled False
Get all services
RELATED LINKS