psshutdown -e question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chapio
    New Member
    • Aug 2008
    • 1

    psshutdown -e question

    I am goofing around with the psshutdown.exe command and I think it's working pretty well. However, being the nerd that I am, I want to explore more of the options psshutdown provides. I am having a heck of a time trying to figure out the -e switch.

    How does that work? How do you put in the codes? What codes do you put in? What would show up on the remote computer if I put in the -e switch for a Planned Minor Other?

    I see when I do a psshutdown /? I get the following:

    Reasons defined on this computer (U = unplanned, P = planned):
    Type Major Minor Title
    U 0 0 Other (Unplanned)
    P 0 0 Other (Planned)
    U 1 1 Hardware: Maintenance (Unplanned)
    P 1 1 Hardware: Maintenance (Planned)
    U 1 2 Hardware: Installation (Unplanned)
    P 1 2 Hardware: Installation (Planned)
    U 2 3 Operating System: Upgrade (Unplanned)
    P 2 3 Operating System: Upgrade (Planned)
    U 2 4 Operating System: Reconfiguration (Unplanned)
    P 2 4 Operating System: Reconfiguration (Planned)
    U 4 1 Application: Maintenance (Unplanned)
    P 4 1 Application: Maintenance (Planned)
    U 4 5 Application: Unresponsive
    U 4 6 Application: Unstable

    This is what I got for a command so far that does work:
    C:\PSTOOLS>pssh utdown -r -t 15 -m "There is a scheduled reboot for this machine. Please standby..." -n 10 @Computers.txt
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    You seem to have asked that question here after it was answered to you here. Weird behaviour...

    Greetings,
    Nepomuk

    Comment

    • andr
      New Member
      • Mar 2022
      • 1

      #3
      The page seemed down...

      Originally posted by Nepomuk
      You seem to have asked that question here after it was answered to you here. Weird behaviour...

      Greetings,
      Nepomuk
      I'm having the similar question, and the forum seemed unavailable. I've checked web.archive.org ...
      But i do find a working method: -e P:4:1

      Comment

      Working...