Windows automation

From Coolscript
Jump to navigation Jump to search

Win Updates

  • Get-wuinstall -listonly
  • Get-wuinstall


Proxy

  • C:\>netsh winhttp show proxy
  • C:\>proxycfg

System Uptime

Get-CimInstance -ClassName Win32_OperatingSystem | Select LastBootUpTime