O'Reilly logo

Windows PowerShell™ 2.0: Administrator’s Pocket Consultant by William R. Stanek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Examining the System Configuration and the Working Environment

Sometimes when you are working with a computer, you’ll want to obtain detailed information on the system configuration or the operating system. With mission-critical systems, you might want to save or print this information for easy reference. Items that help you gather detailed system information include the following:

  • Get-HotFix. Gets information about service packs and updates applied to the local computer or specified computers. Use –Id to look for a specific hotfix by its identifier. Use –Description to get hotfixes by type.

    Get-HotFix [[–Id | -Description] HotFixes] {AddtlParams}
    
    AddtlParams=
     [-Credential Credential] [-ComputerName ComputerName1, ComputerName2,
    ...]
  • Win32_ComputerSystem ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required