Skip to content

Instantly share code, notes, and snippets.

@progre
Created December 9, 2017 13:20
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/517eccdf2e7b0635a904423ed6f279c5 to your computer and use it in GitHub Desktop.
Save progre/517eccdf2e7b0635a904423ed6f279c5 to your computer and use it in GitHub Desktop.
PS C:\WINDOWS\system32> Set-Disk -UniqueID 5B6748E3BB3EE541BB063CFD65AD2BF1 -IsReadOnly $False
PS C:\WINDOWS\system32> get-disk -UniqueID 5B6748E3BB3EE541BB063CFD65AD2BF1 | fl *
DiskNumber : 6
PartitionStyle : GPT
ProvisioningType : Thin
OperationalStatus : Offline
HealthStatus : Healthy
BusType : Spaces
UniqueIdFormat : Vendor Specific
OfflineReason : Critical Write Failures
ObjectId : {1}\\MOTHERBASE\root/Microsoft/Windows/Storage/Providers_v2\WSP_Disk.ObjectId="{681b49b4-8886-1
1e6-8abf-806e6f6e6963}:DI:\\?\storage#disk#{e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}#{53f56307-b6b
f-11d0-94f2-00a0c91efb8b}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : 5B6748E3BB3EE541BB063CFD65AD2BF1
AdapterSerialNumber :
AllocatedSize : 3298534883328
BootFromDisk : False
FirmwareVersion : 0.1
FriendlyName : Parity storage space
Guid : {148e8074-0e32-11e7-8afc-7085c20eab9b}
IsBoot : False
IsClustered : False
IsHighlyAvailable : False
IsOffline : True
IsReadOnly : False
IsScaleOut : False
IsSystem : False
LargestFreeExtent : 0
Location :
LogicalSectorSize : 4096
Manufacturer : Msft
Model : Storage Space
Number : 6
NumberOfPartitions : 2
Path : \\?\storage#disk#{e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
PhysicalSectorSize : 4096
SerialNumber : {e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}
Signature :
Size : 3298534883328
PSComputerName :
CimClass : ROOT/Microsoft/Windows/Storage:MSFT_Disk
CimInstanceProperties : {ObjectId, PassThroughClass, PassThroughIds, PassThroughNamespace...}
CimSystemProperties : Microsoft.Management.Infrastructure.CimSystemProperties
#################################################
# ここで記憶域の「オンラインにする」をクリック
#################################################
PS C:\WINDOWS\system32> get-disk -UniqueID 5B6748E3BB3EE541BB063CFD65AD2BF1 | fl *
DiskNumber : 6
PartitionStyle : GPT
ProvisioningType : Thin
OperationalStatus : Online
HealthStatus : Healthy
BusType : Spaces
UniqueIdFormat : Vendor Specific
OfflineReason :
ObjectId : {1}\\MOTHERBASE\root/Microsoft/Windows/Storage/Providers_v2\WSP_Disk.ObjectId="{681b49b4-8886-1
1e6-8abf-806e6f6e6963}:DI:\\?\storage#disk#{e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}#{53f56307-b6b
f-11d0-94f2-00a0c91efb8b}"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : 5B6748E3BB3EE541BB063CFD65AD2BF1
AdapterSerialNumber :
AllocatedSize : 3298534883328
BootFromDisk : False
FirmwareVersion : 0.1
FriendlyName : Parity storage space
Guid : {148e8074-0e32-11e7-8afc-7085c20eab9b}
IsBoot : False
IsClustered : False
IsHighlyAvailable : False
IsOffline : False
IsReadOnly : False
IsScaleOut : False
IsSystem : False
LargestFreeExtent : 0
Location :
LogicalSectorSize : 4096
Manufacturer : Msft
Model : Storage Space
Number : 6
NumberOfPartitions : 2
Path : \\?\storage#disk#{e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
PhysicalSectorSize : 4096
SerialNumber : {e348675b-3ebb-41e5-bb06-3cfd65ad2bf1}
Signature :
Size : 3298534883328
PSComputerName :
CimClass : ROOT/Microsoft/Windows/Storage:MSFT_Disk
CimInstanceProperties : {ObjectId, PassThroughClass, PassThroughIds, PassThroughNamespace...}
CimSystemProperties : Microsoft.Management.Infrastructure.CimSystemProperties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment