Skip to content

Instantly share code, notes, and snippets.

@progre
Created December 7, 2017 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save progre/043a65e0bd51750e0ddb99cd82add3a4 to your computer and use it in GitHub Desktop.
Save progre/043a65e0bd51750e0ddb99cd82add3a4 to your computer and use it in GitHub Desktop.
PS C:\WINDOWS\system32> get-disk|fl
UniqueId : 5001517BB2AA91C8
Number : 0
Path : \\?\scsi#disk&ven_inte___&prod_ssdsc2ct120a3#4&26892dd9&0&010000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
Manufacturer :
Model : INTEL SSDSC2CT120A3
SerialNumber : CVMP24140155120BGN
Size : 111.79 GB
AllocatedSize : 120032026624
LogicalSectorSize : 512
PhysicalSectorSize : 512
NumberOfPartitions : 3
PartitionStyle : GPT
IsReadOnly : False
IsSystem : True
IsBoot : True
UniqueId : 5B6748E3BB3EE541BB063CFD65AD2BF1
Number : 6
Path : \\?\storage#disk#{e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
Manufacturer : Msft
Model : Storage Space
SerialNumber : {e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}
Size : 3 TB
AllocatedSize : 3298534883328
LogicalSectorSize : 4096
PhysicalSectorSize : 4096
NumberOfPartitions : 2
PartitionStyle : GPT
IsReadOnly : True
IsSystem : False
IsBoot : False
PS C:\WINDOWS\system32> get-storagepool|fl
ObjectId : {1}\\MOTHERBASE\root/Microsoft/Windows/Storage/Providers_v2\SPACES_StoragePool.ObjectId="{681b49b4-8886-11e6-8a
bf-806e6f6e6963}:SP:{681b49b3-8886-11e6-8abf-806e6f6e6963}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : {681b49b3-8886-11e6-8abf-806e6f6e6963}
AllocatedSize : 6000908173312
ClearOnDeallocate : False
EnclosureAwareDefault : False
FaultDomainAwarenessDefault : PhysicalDisk
FriendlyName : Primordial
HealthStatus : Healthy
IsClustered : False
IsPowerProtected : False
IsPrimordial : True
IsReadOnly : False
LogicalSectorSize :
MediaTypeDefault : Unspecified
Name :
OperationalStatus : OK
OtherOperationalStatusDescription :
OtherUsageDescription :
PhysicalSectorSize :
ProvisioningTypeDefault : Fixed
ReadOnlyReason : None
RepairPolicy : Parallel
ResiliencySettingNameDefault : Mirror
RetireMissingPhysicalDisks : Auto
Size : 6121230925824
SupportedProvisioningTypes : {Thin, Fixed}
SupportsDeduplication : False
ThinProvisioningAlertThresholds : {70}
Usage : Other
Version : Windows Server 2016 RS3
WriteCacheSizeDefault : Auto
WriteCacheSizeMax : 18446744073709551614
WriteCacheSizeMin : 0
PSComputerName :
ObjectId : {1}\\MOTHERBASE\root/Microsoft/Windows/Storage/Providers_v2\SPACES_StoragePool.ObjectId="{681b49b4-8886-11e6-8a
bf-806e6f6e6963}:SP:{a9bbd592-5fd6-4a00-b38d-fa40da2cb5ec}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : {a9bbd592-5fd6-4a00-b38d-fa40da2cb5ec}
AllocatedSize : 2041988513792
ClearOnDeallocate : False
EnclosureAwareDefault : False
FaultDomainAwarenessDefault : PhysicalDisk
FriendlyName : Storage pool
HealthStatus : Healthy
IsClustered : False
IsPowerProtected : False
IsPrimordial : False
IsReadOnly : False
LogicalSectorSize : 4096
MediaTypeDefault : Unspecified
Name :
OperationalStatus : OK
OtherOperationalStatusDescription :
OtherUsageDescription :
PhysicalSectorSize : 4096
ProvisioningTypeDefault : Fixed
ReadOnlyReason : None
RepairPolicy : Parallel
ResiliencySettingNameDefault : Mirror
RetireMissingPhysicalDisks : Auto
Size : 5998995570688
SupportedProvisioningTypes : {Thin, Fixed}
SupportsDeduplication : False
ThinProvisioningAlertThresholds : {70}
Usage : Other
Version : Windows Server 2016
WriteCacheSizeDefault : Auto
WriteCacheSizeMax : 18446744073709551614
WriteCacheSizeMin : 0
PSComputerName :
PS C:\WINDOWS\system32> get-virtualdisk|fl
ObjectId : {1}\\MOTHERBASE\root/Microsoft/Windows/Storage/Providers_v2\SPACES_VirtualDisk.ObjectId="{681b49b4-8886-11e6-8a
bf-806e6f6e6963}:VD:{a9bbd592-5fd6-4a00-b38d-fa40da2cb5ec}{e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : 5B6748E3BB3EE541BB063CFD65AD2BF1
Access : Read/Write
AllocatedSize : 1360430891008
AllocationUnitSize : 268435456
ColumnIsolation : PhysicalDisk
DetachedReason : None
FaultDomainAwareness : PhysicalDisk
FootprintOnPool : 2041183207424
FriendlyName : Parity storage space
HealthStatus : Healthy
Interleave : 262144
IsDeduplicationEnabled : False
IsEnclosureAware : False
IsManualAttach : False
IsSnapshot : False
IsTiered : False
LogicalSectorSize : 4096
MediaType : Unspecified
Name :
NameFormat :
NumberOfAvailableCopies :
NumberOfColumns : 3
NumberOfDataCopies : 1
NumberOfGroups : 1
OperationalStatus : OK
OtherOperationalStatusDescription :
OtherUsageDescription :
ParityLayout : Rotated Parity
PhysicalDiskRedundancy : 1
PhysicalSectorSize : 4096
ProvisioningType : Thin
ReadCacheSize : 0
RequestNoSinglePointOfFailure : False
ResiliencySettingName : Parity
Size : 3298534883328
UniqueIdFormat : Vendor Specific
UniqueIdFormatDescription :
Usage : Data
WriteCacheSize : 33554432
PSComputerName :
PS C:\WINDOWS\system32> Get-VirtualDisk -FriendlyName "Parity Storage Space" | Get-Disk | Set-Disk -IsReadonly $False
PS C:\WINDOWS\system32> Get-VirtualDisk -FriendlyName "Parity Storage Space" | Get-Disk | Set-Disk -IsOffline $False
PS C:\WINDOWS\system32> Get-StoragePool –FriendlyName "Storage pool" | Get-Virtualdisk | Repair-VirtualDisk -Asjob
Id Name PSJobTypeName State HasMoreData Location Command
-- ---- ------------- ----- ----------- -------- -------
65 CimJob34 CimJob Running True MOTHERBASE Repair-VirtualDisk -Asjob
PS C:\WINDOWS\system32> get-storagejob
Name IsBackgroundTask ElapsedTime JobState PercentComplete BytesProcessed BytesTotal
---- ---------------- ----------- -------- --------------- -------------- ----------
Parity storage space-Repair False 00:00:00 Completed 100 0 B 0 B
PS C:\WINDOWS\system32> get-disk|fl
UniqueId : 5001517BB2AA91C8
Number : 0
Path : \\?\scsi#disk&ven_inte___&prod_ssdsc2ct120a3#4&26892dd9&0&010000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
Manufacturer :
Model : INTEL SSDSC2CT120A3
SerialNumber : CVMP24140155120BGN
Size : 111.79 GB
AllocatedSize : 120032026624
LogicalSectorSize : 512
PhysicalSectorSize : 512
NumberOfPartitions : 3
PartitionStyle : GPT
IsReadOnly : False
IsSystem : True
IsBoot : True
UniqueId : 5B6748E3BB3EE541BB063CFD65AD2BF1
Number : 6
Path : \\?\storage#disk#{e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
Manufacturer : Msft
Model : Storage Space
SerialNumber : {e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}
Size : 3 TB
AllocatedSize : 3298534883328
LogicalSectorSize : 4096
PhysicalSectorSize : 4096
NumberOfPartitions : 2
PartitionStyle : GPT
IsReadOnly : False
IsSystem : False
IsBoot : False
PS C:\WINDOWS\system32> get-storagepool|fl
ObjectId : {1}\\MOTHERBASE\root/Microsoft/Windows/Storage/Providers_v2\SPACES_StoragePool.ObjectId="{681b49b4-8886-11e6-8a
bf-806e6f6e6963}:SP:{681b49b3-8886-11e6-8abf-806e6f6e6963}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : {681b49b3-8886-11e6-8abf-806e6f6e6963}
AllocatedSize : 6000908173312
ClearOnDeallocate : False
EnclosureAwareDefault : False
FaultDomainAwarenessDefault : PhysicalDisk
FriendlyName : Primordial
HealthStatus : Healthy
IsClustered : False
IsPowerProtected : False
IsPrimordial : True
IsReadOnly : False
LogicalSectorSize :
MediaTypeDefault : Unspecified
Name :
OperationalStatus : OK
OtherOperationalStatusDescription :
OtherUsageDescription :
PhysicalSectorSize :
ProvisioningTypeDefault : Fixed
ReadOnlyReason : None
RepairPolicy : Parallel
ResiliencySettingNameDefault : Mirror
RetireMissingPhysicalDisks : Auto
Size : 6121230925824
SupportedProvisioningTypes : {Thin, Fixed}
SupportsDeduplication : False
ThinProvisioningAlertThresholds : {70}
Usage : Other
Version : Windows Server 2016 RS3
WriteCacheSizeDefault : Auto
WriteCacheSizeMax : 18446744073709551614
WriteCacheSizeMin : 0
PSComputerName :
ObjectId : {1}\\MOTHERBASE\root/Microsoft/Windows/Storage/Providers_v2\SPACES_StoragePool.ObjectId="{681b49b4-8886-11e6-8a
bf-806e6f6e6963}:SP:{a9bbd592-5fd6-4a00-b38d-fa40da2cb5ec}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : {a9bbd592-5fd6-4a00-b38d-fa40da2cb5ec}
AllocatedSize : 2041988513792
ClearOnDeallocate : False
EnclosureAwareDefault : False
FaultDomainAwarenessDefault : PhysicalDisk
FriendlyName : Storage pool
HealthStatus : Healthy
IsClustered : False
IsPowerProtected : False
IsPrimordial : False
IsReadOnly : False
LogicalSectorSize : 4096
MediaTypeDefault : Unspecified
Name :
OperationalStatus : OK
OtherOperationalStatusDescription :
OtherUsageDescription :
PhysicalSectorSize : 4096
ProvisioningTypeDefault : Fixed
ReadOnlyReason : None
RepairPolicy : Parallel
ResiliencySettingNameDefault : Mirror
RetireMissingPhysicalDisks : Auto
Size : 5998995570688
SupportedProvisioningTypes : {Thin, Fixed}
SupportsDeduplication : False
ThinProvisioningAlertThresholds : {70}
Usage : Other
Version : Windows Server 2016
WriteCacheSizeDefault : Auto
WriteCacheSizeMax : 18446744073709551614
WriteCacheSizeMin : 0
PSComputerName :
PS C:\WINDOWS\system32> get-virtualdisk|fl
ObjectId : {1}\\MOTHERBASE\root/Microsoft/Windows/Storage/Providers_v2\SPACES_VirtualDisk.ObjectId="{681b49b4-8886-11e6-8a
bf-806e6f6e6963}:VD:{a9bbd592-5fd6-4a00-b38d-fa40da2cb5ec}{e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : 5B6748E3BB3EE541BB063CFD65AD2BF1
Access : Read/Write
AllocatedSize : 1360430891008
AllocationUnitSize : 268435456
ColumnIsolation : PhysicalDisk
DetachedReason : None
FaultDomainAwareness : PhysicalDisk
FootprintOnPool : 2041183207424
FriendlyName : Parity storage space
HealthStatus : Healthy
Interleave : 262144
IsDeduplicationEnabled : False
IsEnclosureAware : False
IsManualAttach : False
IsSnapshot : False
IsTiered : False
LogicalSectorSize : 4096
MediaType : Unspecified
Name :
NameFormat :
NumberOfAvailableCopies :
NumberOfColumns : 3
NumberOfDataCopies : 1
NumberOfGroups : 1
OperationalStatus : OK
OtherOperationalStatusDescription :
OtherUsageDescription :
ParityLayout : Rotated Parity
PhysicalDiskRedundancy : 1
PhysicalSectorSize : 4096
ProvisioningType : Thin
ReadCacheSize : 0
RequestNoSinglePointOfFailure : False
ResiliencySettingName : Parity
Size : 3298534883328
UniqueIdFormat : Vendor Specific
UniqueIdFormatDescription :
Usage : Data
WriteCacheSize : 33554432
PSComputerName :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment