I am trying to create a external network drive using PowerShell 5.0. I Need those drive to display in My Computer. For that purpose I am using this follow command.
New-PSDrive -Name "X" -PSProvider FileSystem -Root "\\192.168.0.1\hde_path" -Persist
Is there anything wrong with this command? Because as per my understanding if I use -Persist it is should be displayed in the My Computer window.
After using this, the mapped drive X: is not being displayed in My Computer.
Get-ChildItem X:
shows you the right content of your share? – Taphousenet use
– Pyrrhonism