So i'm racking my brain here..
I have a function doing several things, but I want to focus on the piece that is racking my brains.
$udpath = "\\" + $server + "\" + $share + "test1234"
I cannot figure out for the life of me why i'm getting this. If I take the share outside of the script like this
new-item : The path is not of a legal form.
This has been solved, the actually problem was the share wasn't provisioned fast enough.. I put a sleep statement in there and all is good
You must be logged in to reply to this topic.