Quantcast
Viewing all articles
Browse latest Browse all 240675

Re: Powershell V2 vs V3 issue?

Hello Luc,

 

At this time, my script isn't even being run by the scheduled task.

I've just moved the .ps1 file from my win8 client to the server and ran it there from the powershell prompt.

 

When I run the script on a Win2012 server, then it works without errors (like on the win8 machine)..

 

The only difference I see is Powershell V2 vs V3..

 

I've not yet tried to run it in the PowerCLI window directly.

I'll test this and get back to you.

 

How can I introduce logging?

I'm new to Powershell / PowerCLI and am not familiar with Start-Transcript.

How should I implement this?

 

Regards,

 

Filip


Viewing all articles
Browse latest Browse all 240675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>