Powershell Cheatsheats

List blocksize

Get-CimInstance -ClassName Win32_Volume | Select-Object Label, BlockSize | Format-Table -AutoSize

 

List all wmi classes

 Get-WMIObject -List| Where{$_.name -like "*MSSQL*"} | Sort Name | Format-Table Name