< Back

Get-NsSnapshotProtectionServiceSnapshot

Sat Jan 18, 2020 5:13 pm

NAME Get-NsSnapshotProtectionServiceSnapshot



SYNOPSIS

Get a snapshot





SYNTAX

Get-NsSnapshotProtectionServiceSnapshot [[-Name] <String>] [-Service <String>] [-Path <String>]

[<CommonParameters>]





DESCRIPTION

Get a snapshot





PARAMETERS

-Name <String>



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Service <String>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Path <String>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

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

An Array of matching NsSnapshot objects





-------------------------- EXAMPLE 1 --------------------------



PS C:\\temp>Get-SnapshotProtectionServiceSnapshot -Service collab-04 | ft



path pool parent

name creationTime

---- ---- ------

---- ------------

p1/collab-04/ee-p1may2007exams@snapping-2018-02-01-01-20-01-473 p1

p1/collab-04/ee-p1may2007exams snapping-2018-02-01-01-20-01-473 2018-02-01T01:20:...

p1/collab-04/ee-6000_teaching_rom@snapping-2018-02-01-01-20-01-473 p1

p1/collab-04/ee-6000_teaching_rom snapping-2018-02-01-01-20-01-473 2018-02-01T01:20:...

p1/collab-04/its-asset-management@snapping-2018-02-01-01-20-01-473 p1

p1/collab-04/its-asset-management snapping-2018-02-01-01-20-01-473 2018-02-01T01:20:...

p1/collab-04/its-it-tel@snapping-2018-02-01-01-20-01-473 p1

p1/collab-04/its-it-tel snapping-2018-02-01-01-20-01-473 2018-02-01T01:20:...

p1/collab-04/its-apphelp@snapping-2018-02-01-01-20-01-473 p1

p1/collab-04/its-apphelp snapping-2018-02-01-01-20-01-473 2018-02-01T01:20:...

p1/collab-04@snapping-2018-02-01-01-20-01-473



Get snaphosts assosiated with the collab-04 HPR Service









-------------------------- EXAMPLE 2 --------------------------



PS C:\\temp>Get-SnapshotProtectionServiceSnapshot -Path p1/collab-02/pso-research_data_management | ft



path pool parent name creationTime

parentType bytesLogicalUsed bytesReferenced bytesUsed compressionRatio

---- ---- ------ ---- ------------

---------- ---------------- --------------- --------- ----------------

p1/collab-02/pso-... p1 p1/collab-02/pso-... snapping-2018-01-... 2018-01-30T15:25:...

filesystem 0 24576 0 1

p1/collab-02/pso-... p1 p1/collab-02/pso-... snapping-2018-01-... 2018-01-30T15:26:...

filesystem 0 24576 0 1

p1/collab-02/pso-... p1 p1/collab-02/pso-... snapping-2018-01-... 2018-01-30T15:27:...

filesystem 0 24576 0 1



Get snaphosts for the filesystem p1/collab-02/pso-research_data_management











RELATED LINKS