Windows Thread, Logging psshutdown? in Technical; I'm using psshutdown on our teaching PCs to shut them down after 10pm but would like to log the results ...
-
23rd April 2008, 12:38 PM #1
Logging psshutdown?
I'm using psshutdown on our teaching PCs to shut them down after 10pm but would like to log the results of the batch file as some aren't working, I think due to some odd security settings from a while back.
Tried piping the cmd batch file output to a text file but it only shows the commands psshutdown runs e.g. shutting down PC06 but no output e.g. shutdown successful
Anyone got a logging system set up?
Thanks
Last edited by gshaw; 23rd April 2008 at 12:43 PM.
-
-
IDG Tech News
-
23rd April 2008, 02:28 PM #2 Not sure that you'll be able to do this - I think that all psshutdown does is to tell the computer to shut down and, provided that the PC accepts this, then you get "OK" back. If it fails to shutdown (eg box pops up saying "Save your work?" then psshutdown will know nothing about it.
What you could do is wait (say) 5 minutes and then try and ping the machines you tried to shut down; if they reply then your shutdown failed.
When you say "odd security settings", do you know what or is this one of those things you've inherited?? I know you can prevent an interactive shutdown and you can prevent remote RPC connections but I can't think of anything else!
-
-
23rd April 2008, 02:42 PM #3
-
-
23rd April 2008, 08:11 PM #4 How about a scheduled task about 30 mins later:
net view > pcslefton.txt
combine this with bmail to email the log to yourself.
-
SHARE: 
Similar Threads
-
By tech_guy in forum Windows
Replies: 13
Last Post: 17th February 2010, 11:29 PM
-
By gh256 in forum How do you do....it?
Replies: 30
Last Post: 22nd January 2009, 03:09 PM
-
By frankybaloney in forum Windows
Replies: 9
Last Post: 10th October 2008, 12:17 PM
-
By faza in forum Wireless Networks
Replies: 6
Last Post: 31st January 2008, 06:43 AM
-
By garibaldi in forum General Chat
Replies: 5
Last Post: 13th March 2006, 10:18 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules