ntsabman
asked on
PowerShell Commande to do a subst
i need a commande to be able to do the following in PowerShell
Subst w: p:\w
but i need it to vérify if the letter is allready in use by a network share and if so unlink it firts
Subst w: p:\w
but i need it to vérify if the letter is allready in use by a network share and if so unlink it firts
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The brut force one is more stable and did not fail in testing the firts one fail from time to time witch is weard.
Thanks for the correction Qlemo