Posts

Showing posts from October, 2018

Get-PhysicalDisk (MSFT_PhysicalDisk) and Get-Disk (MSFT_Disk) OperationalStatus values

We've recently had an issue that values were missing from the OperationalStatus property of the MSFT_Disk WMI class documented here. https://msdn.microsoft.com/en-us/library/windows/desktop/hh830493(v=vs.85).aspx It seems that this list is missing a number of values. You can see more values that are available with this PowerShell command Get-PhysicalDisk|Get-Member -Name OperationalStatus | SELECT Definition -ExpandProperty Definition This reveals the inner code that the cmdlet is using to provide a display value for the operational status. Here you can see a number of values that are not documented in the page above. System.Object OperationalStatus {get=$_status = @();           foreach ( $status in $this.psBase.CimInstanceProperties["OperationalStatus"].Value )           {             switch ( $status )     ...

Yellow exclamation mark on C drive on Windows 10

Image
You may find in My Computer that there is a yellow exclamation mark on a drive in Windows 10 Windows 10 unhelpfully provides no contextual information about this. This typically occurs if BitLocker protection has been paused. To resolve the issue simply right click the drive and select Resume BitLocker Protection .