Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Save the output of powershell script

$
0
0

Start-Transcript is another option. The main disadvantages of that command versus the PSLogging module are that Start-Transcript doesn’t work from the ISE, and you can only have one transcript going for the entire session (which may become an issue if you’re calling multiple scripts or functions that all try to do their own logging via Start-Transcript). The PSLogging module supports multiple simultaneous subscribers that mostly don’t interfere with one another (except when calling Suspend-Logging and Resume-Logging, which is a global setting).


Viewing all articles
Browse latest Browse all 13067

Trending Articles