Jan 162012
 

 

PowerhShell has turned into one of the best tools that we have as administrators of windows products.  Support from the community is truly amazing.  PoshWSUS is a module that was created to help administrate WSUS.  The below commands can be used instead of executing everything through the GUI.  Stop by the CodePlex site and check it out.  Below are also a couple more links you can reference.  Please leave a comment if you have used it and what you think.

Current Commands From The PoshCode website.  (http://poshwsus.codeplex.com/)

Current commands are:

  • Add-WSUSClientToGroup
  • Approve-WSUSUpdate
  • Connect-WSUSDatabaseServer
  • Connect-WSUSServer
  • Deny-WSUSUpdate
  • Disconnect-WSUSServer
  • Export-WSUSMetaData
  • Get-WSUSChildServer
  • Get-WSUSClient
  • Get-WSUSClientGroupMembership
  • Get-WSUSClientPerUpdate
  • Get-WSUSClientsInGroup
  • Get-WSUSCommand
  • Get-WSUSContentDownloadProgress
  • Get-WSUSCurrentUserRole
  • Get-WSUSDatabaseConfig
  • Get-WSUSDownstreamServer
  • Get-WSUSEmailConfig
  • Get-WSUSEvent
  • Get-WSUSGroup
  • Get-WSUSInstallableItem
  • Get-WSUSInstallApprovalRule
  • Get-WSUSServer
  • Get-WSUSStatus
  • Get-WSUSSubscription
  • Get-WSUSSyncEvent
  • Get-WSUSSyncHistory
  • Get-WSUSSyncProgress
  • Get-WSUSUpdate
  • Get-WSUSUpdateApproval
  • Get-WSUSUpdateCategory
  • Get-WSUSUpdateClassification
  • Get-WSUSUpdateFile
  • Get-WSUSUpdatePerClient
  • Get-WSUSUpdateSummary
  • Get-WSUSUpdateSummaryPerGroup
  • Get-WSUSUpdateSummaryPerClient
  • Import-WSUSMetaData
  • New-WSUSComputerScope
  • New-WSUSGroup
  • New-WSUSInstallApprovalRule
  • New-WSUSLocalPackage
  • New-WSUSUpdateScope
  • Remove-WSUSClient
  • Remove-WSUSClientFromGroup
  • Remove-WSUSGroup
  • Remove-WSUSInstallApprovalRule
  • Remove-WSUSUpdate
  • Reset-WSUSContent
  • Resume-WSUSDownload
  • Resume-WSUSUpdateDownload
  • Set-WSUSEmailConfig
  • Set-WSUSInstallApprovalRule
  • Start-WSUSCleanup
  • Start-WSUSInstallApprovalRule
  • Start-WSUSSync
  • Stop-WSUSDownload
  • Stop-WSUSSync
  • Stop-WSUSUpdateDownload
  • Test-WSUSDatabaseServerConnection

Examples Of PoshWSUS
http://learn-powershell.net/2010/11/14/wsus-administrator-module/ 

Jan 152012
 

PAL version 2.1 was released on November 8, 2011.  I just wanted to take a few minutes to create another post so hopefully more people will hear about this great tool.  PAL stands for Performance Analysis Of Logs and is hosted on SourceForge.  Clint Huffman who is a premier field engineer (PFE) for Microsoft is the main contributor to the project.

PAL is used to read performance logs from Windows and analyze them based on thresholds that are set.   From the SourceForge website here are some of the features.

  • Thresholds files for most of the major Microsoft products such as IIS, MOSS, SQL Server, BizTalk, Exchange, and Active Directory.
  • An easy to use GUI interface which makes creating batch files for the PAL.ps1 script.
  • A GUI editor for creating or editing your own threshold files.
  • Creates an HTML based report for ease of copy/pasting into other applications.
  • Analyzes performance counter logs for thresholds using thresholds that change their criteria based on the computer’s role or hardware specs.
In the future plan on looking for some tutorials on how to use PAL.  In the meantime please check out the links below.  If you have used to tool please leave me a comment on how you liked it.
PAL 2.1 By Cling Huffman

PAL 2.1 By Clint Huffman

 

PAL SourceForge Site
http://pal.codeplex.com/

PAL v2.0’s New Counter Generation Feature is Powerful
http://blogs.technet.com/b/clinth/archive/2010/03/02/pal-v2-0-s-new-counter-generation-feature-is-powerful.aspx

 The PAL Tool on Memory Leaks
http://blogs.technet.com/b/clinth/archive/2011/03/28/the-pal-tool-on-memory-leaks.aspx

 

Jan 152012
 

System administrators sometimes need to be able to produce a list of drivers that are installed on their system.  Driveryquery.exe is an excellent command line tool from Microsoft to accomplish this.  This tool will give you a report on all of the current device drivers that are loaded on your system.  The command line tool also gives you several options on the information that it will display.  Below is a screenshot that shows all of the options available for running Driverquery.exe.

Driverquery.exe From Microsoft

Driverquery.exe From Microsoft

 

Examples Of Driverquery.exe

This example will pipe the information from driverquery.exe to a txt file on the drive.
C:\driverquery.exe > C:\driverqueyr.txt

This example will format the output into a list view.
C:\driverquery.exe /fo list

This example will turn on verbose output for more information.
C:\driverquery.exe /V

This example will show drivers that are currently running.
C:\driverquery.exe /v | findstr Running