Commands / System

Get-PSDrive

List drives PowerShell can see

beginner System Aliases gdr

Get-PSDrive
 Get-PSDrive
Works on
WindowsLinuxmacOS
PowerShell
5.1 and later
Reference
Microsoft Learn: Get-PSDrive

PowerShell drives are not just C:. Env: is environment variables. HKCU: is the current-user registry. Variable: is in-memory variables.

Try this

Get-PSDrive -PSProvider FileSystem
Get-ChildItem Env:TEMP

Coming from another shell

ShellWhat you might type
bash / zshdf -h

More in From bash and From cmd.