Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
マップされたドライブ情報を含むバット ファイルが既にありますが、ドライブの名前を変更する方法はありますか?
次のように comobject を使用できます (powershell コード):
$desc= "MyNetworkshare" # This is the label for your unit $mDrive = "H:\" #this is your unit (any letter you have..) $oShell = new-Object -com Shell.Application $oShell.NameSpace($mDrive).Self.Name = $Desc