Is the list down? 

I havent seen a email from the list in a day...

Z

Edward E. Ziots
Network Engineer
Lifespan Organization
MCSE,MCSA,MCP,Security+,Network+,CCA
Phone: 401-639-3505
-----Original Message-----
From: Troy Meyer [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 26, 2008 6:40 PM
To: NT System Admin Issues
Subject: RE: Powershell scheduled job

You can redirect from within the script itself using out-file or echo
(ghetto but I use it sometimes).

Gci c:\badexample | sort-object "name" |out-file c:\filename.txt


-troy


-----Original Message-----
From: Joseph L. Casale [mailto:[EMAIL PROTECTED]
Sent: Friday, September 26, 2008 3:29 PM
To: NT System Admin Issues
Subject: Powershell scheduled job

I have a job I schedule as follows:



powershell.exe -PSConsoleFile "C:\Program Files\Microsoft\Exchange
Server\Bin\ExShell.psc1" -Command ". 'C:\Scripts\job.ps1'"



How can I redirect the output of this job to a text file?



Thanks!
jlc







~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to