0

There are plentiful ways in obtain remote uptime. However it seems every one I have tried, powershell, wmic, systeminfo etc all required elevated access. Unfortunately running this as a privileged account is not possible in this circumstance. Is there anything that can make this happen?

PS C:\Users\jweinraub> get-wmiobject -computername jsmith Win32_OperatingSystem | select LastBootUpTime
get-wmiobject : Access denied
At line:1 char:1
+ get-wmiobject -computername jsmith Win32_OperatingSystem | select ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], Managemen
   tException
    + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.C
   ommands.GetWmiObjectCommand
Jon Weinraub
  • 307
  • 1
  • 3
  • 16

0 Answers0