PowerShell script to offline and online a disk First, we need to find out the disk number ,for that run the following command get-disk It will list Read More PowerShell script to offline and online a disk
Powershell script to list a disk with a label. The below script will list out a disk with label "backup" (Get-WMIObject Win32_Volume | ? { $_.Label Read More Powershell script to query a disk with label