Hello,
I have this script , the only problem is creation of the share , i think its happing problems with the UNC path the\\ws30540\c$\WebSrvLog\APP is used as a working UNC path on my computer ( its my own computer )
I know i can use net share with c:\ but as i have read on the internet netshare + unc path do not work ( i tested it myself )
So i started using win32_share but this doesn't work either. When i change the script to C:\WebSrv... it works :(
I can't copy PS script here so i used pastbin ; http://pastebin.com/RGpvHP4X