Open IntuneEnterPriseAdmin opened 1 year ago
Hello,
Sometimes the Drive Label ist not correctly translated (New-Object -ComObject Shell.Application).NameSpace("$($drive.DriveLetter):").Self.Name = $drive.Label
change to
(New-Object -ComObject Shell.Application).NameSpace("$($drive.DriveLetter):").Self.Name = $ExecutionContext.InvokeCommand.ExpandString($drive.Label)
This will correct this Issue
Thank you for this very usefull generator
Hello,
Sometimes the Drive Label ist not correctly translated (New-Object -ComObject Shell.Application).NameSpace("$($drive.DriveLetter):").Self.Name = $drive.Label
change to
(New-Object -ComObject Shell.Application).NameSpace("$($drive.DriveLetter):").Self.Name = $ExecutionContext.InvokeCommand.ExpandString($drive.Label)
This will correct this Issue
Thank you for this very usefull generator