Get-WmiObject -Class Win32_Volume | Select-Object Name, Label, BlockSize
Get-CimInstance -ClassName Win32_Volume | Select-Object Name, Label, BlockSize
25 May 2018
Find filesystem blocksize on windows with powershell
22 May 2018
Find exception full name
$Error[0] | Select-Object *
Exception : Microsoft.ActiveDirectory.Management.ADIdentityAlreadyExistsException: The specified account already exists
$Error[0].Exception.GetType().FullName
Microsoft.ActiveDirectory.Management.ADIdentityAlreadyExistsException
Exception : Microsoft.ActiveDirectory.Management.ADIdentityAlreadyExistsException: The specified account already exists
$Error[0].Exception.GetType().FullName
Microsoft.ActiveDirectory.Management.ADIdentityAlreadyExistsException
Subscribe to:
Posts (Atom)