wmi gems and gotchas
play

WMI: Gems and Gotchas Richard Siddaway MVP WMI Cmdlets - PowerPoint PPT Presentation

WMI: Gems and Gotchas Richard Siddaway MVP WMI Cmdlets Get-WmiObject Remove-WmiObject Invoke-WmiMethod Set-WmiInstance Gotchas Escape = \ Quotes vs Documentation # of classes WQL = WMI Query Language


  1. WMI: Gems and Gotchas Richard Siddaway MVP

  2. WMI

  3. Cmdlets • Get-WmiObject • Remove-WmiObject • Invoke-WmiMethod • Set-WmiInstance

  4. Gotchas • Escape = \ • Quotes ‘ vs “ • Documentation – # of classes • WQL = WMI Query Language • VBScript • Change with Windows/Application versions

  5. Gotchas • Keys • WMI cmdlets – Invoke-WmiMethod – Set-WmiInstance • Format defaults • Coded values

  6. Hidden Gems • Remote capabilities • WMI cmdlets – Get-WmiObject | Remove-WmiObject • Number of classes • DNS • Hyper-V

  7. Hidden Gems • Associations • WMI events • System classes • Qualifiers • Convertdate functions • WMI wildcards

  8. More Information

Recommend


More recommend