Link to home
Start Free TrialLog in
Avatar of sunhux
sunhux

asked on

PowerShell command from AD server to get last boot-up (or uptime) & MS patches applied

From AD server, I wud like to issue command (can be Powershell or
Windows batch script) to the various Win 2008 R2 servers to obtain the

a) last boot-up time (or uptime)
b) MS patches applied the last 1 week
c) MS patches applied the last 1 month

Ideally the command has parameters to take in the username &
password of my adid (domain id)
ASKER CERTIFIED SOLUTION
Avatar of Member_2_7083154
Member_2_7083154

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sunhux
sunhux

ASKER

Was expecting the command to take in a server's name,
the domain login id & password.  Could you enhance
that command?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sunhux

ASKER

> don't think there is any way to output the password of the user
I don't need the above but I need to run the script from the AD
server & it will prompt for my domain id+password to login to
the server I'm trying to get the information.

I don't want to login individually to each server (as there are
hundreds of them), I want to gather the data just by login to
the AD server to run the script & the script pulls the data from
the hundreds of servers in the domain.
Avatar of sunhux

ASKER

Partial & not that accurate solutions