Blog

Careful with Arrays

With PowerShell you never know whether a cmdlet returns an array or a single object. That’s because PowerShell automatically wraps results in an...

read more

Get Volume IDs (Part 2)

In Windows 10 and better, you can use Get-Volume to get volume IDs and other information about your drives: PS> Get-Volume DriveLetter...

read more

Get Volume IDs (Part 1)

You can query WMI to get a list of your drives volume IDs like so: Get-CimInstance -ClassName Win32_Volume | Select-Object -Property DriveLetter,...

read more
1 2 3 567