需要一个 PowerShell 命令来显示它映射到的驱动器号和路径。
换句话说,一个命令向我显示与 Windows 资源管理器相同的内容。
试过这个:
Get-WmiObject -Class Win32_MappedLogicalDisk | select Name, ProviderName
它缺少几个驱动器(在 Windows 资源管理器中列出)。
powershell c# command-line .net-framework mapped-drive
.net-framework ×1
c# ×1
command-line ×1
mapped-drive ×1
powershell ×1