One more "helpful" note...I can use powershell commands in the calles scripts and they work, such as:
write-output hello >> "D:\Powercli\Scripts\Storage\args.txt"
but can't run Add-PSSnapin
One more "helpful" note...I can use powershell commands in the calles scripts and they work, such as:
write-output hello >> "D:\Powercli\Scripts\Storage\args.txt"
but can't run Add-PSSnapin