Continuing the series:
Note: If you’re
wondering why this series, the eventual goal is to create a CDOT Health Check
using PowerShell. For this to be possible there is a need to know how to get
certain information out using PowerShell.
Getting a SIS
Volume in a Variable
PS
C:> $sisVols = Get-NcSis
PS
C:> $sisVol = $sisVols[1]
SIS Volume
Information
PS
C:> $sisVol
Path State Status ScheduleOrPolicy Progress
---- -----
------ ---------------- --------
/vol/v_iscsi_1
enabled
idle sun-sat@0 Idle for 00:00:32
PS
C:> $sisVol.BlocksSkippedSharing
0
PS
C:> $sisVol.BlocksSkippedSharingSpecified
True
PS
C:> $sisVol.BlocksSkippedSharing
0
PS
C:> $sisVol.BlocksSkippedSharingSpecified
True
PS
C:> $sisVol.ChangelogSize
PS
C:> $sisVol.ChangelogSizeSpecified
False
PS
C:> $sisVol.ChangelogUsedPercent
0
PS
C:> $sisVol.ChangelogUsedPercentSpecified
True
PS
C:> $sisVol.CheckpointOpType
PS
C:> $sisVol.CheckpointProgress
PS
C:> $sisVol.CheckpointStage
PS
C:> $sisVol.CheckpointSubStage
PS
C:> $sisVol.CheckpointTime
PS
C:> $sisVol.CheckpointTimeDT
PS
C:> $sisVol.CheckpointTimeSpecified
False
PS
C:> $sisVol.CompressionChangelogSize
PS
C:> $sisVol.CompressionChangelogSizeSpecified
False
PS
C:> $sisVol.IsCompressionEnabled
False
PS
C:> $sisVol.IsCompressionEnabledSpecified
True
PS
C:> $sisVol.IsConstituent
False
PS
C:> $sisVol.IsConstituentSpecified
True
PS
C:> $sisVol.IsContentAvailable
True
PS
C:> $sisVol.IsContentAvailableSpecified
True
PS
C:> $sisVol.IsIddEnabled
False
PS
C:> $sisVol.IsIddEnabledSpecified
True
PS
C:> $sisVol.IsInlineCompressionEnabled
False
PS
C:> $sisVol.IsInlineCompressionEnabledSpecified
True
PS
C:> $sisVol.LastOpBeginTimestamp
1403127045
PS
C:> $sisVol.LastOpBeginTimestampDT
18
June 2014 22:30:45
PS
C:> $sisVol.LastOpBeginTimestampSpecified
True
PS
C:> $sisVol.LastOpEndTimestamp
1403127109
PS
C:> $sisVol.LastOpEndTimestampDT
18
June 2014 22:31:49
PS
C:> $sisVol.LastOpEndTimestampSpecified
True
PS
C:> $sisVol.LastOpError
PS
C:> $sisVol.LastOpSize
28991488
PS
C:> $sisVol.LastOpState
Success
PS
C:> $sisVol.LastSuccessOpBeginTimestamp
1403127045
PS
C:> $sisVol.LastSuccessOpBeginTimestampDT
18
June 2014 22:30:45
PS
C:> $sisVol.LastSuccessOpBeginTimestampSpecified
True
PS
C:> $sisVol.LastSuccessOpEndTimestamp
1403127109
PS
C:> $sisVol.LastSuccessOpEndTimestampDT
18
June 2014 22:31:49
PS
C:> $sisVol.LastSuccessOpEndTimestampSpecified
True
PS
C:> $sisVol.LogicalDataLimit
703687441776640
PS
C:> $sisVol.LogicalDataLimitSpecified
True
PS
C:> $sisVol.LogicalDataSize
29802496
PS
C:> $sisVol.LogicalDataSizeSpecified
True
PS
C:> $sisVol.MinimumBlocksShared
1
PS
C:> $sisVol.MinimumBlocksSharedSpecified
True
PS
C:> $sisVol.NcController
Name Address Vserver Version
---- ------- ------- -------
naclu1 10.10.10.110 SVM-ISCSI NetApp
Release 8.2.1 Cluster-Mode: Fri Mar 21 14:25:07
PS
C:> $sisVol.Path
/vol/v_iscsi_1
PS
C:> $sisVol.Policy
PS
C:> $sisVol.Progress
Idle
for 00:00:32
PS
C:> $sisVol.QueuedJobType
PS
C:> $sisVol.QuickCheckFsize
524288000
PS
C:> $sisVol.QuickCheckFsizeSpecified
True
PS
C:> $sisVol.Schedule
sun-sat@0
PS
C:> $sisVol.StaleFingerprintPercentage
0
PS
C:> $sisVol.StaleFingerprintPercentageSpecified
True
PS
C:> $sisVol.State
enabled
PS
C:> $sisVol.Status
idle
PS
C:> $sisVol.Type
regular
PS
C:> $sisVol.VaultTransferLogSize
PS
C:> $sisVol.VaultTransferLogSizeSpecified
False
PS
C:> $sisVol.Vserver
SVM-ISCSI
PS
C:> $sisVol.ScheduleOrPolicy
sun-sat@0
THE END
Comments
Post a Comment