• /r/powershell
  • Uses for WMI event handlers?

    Hello!! I’m learning about CIM, WMI, WBEM, etc., and am finding it all to be incredibly useful. It appears to be one of those things that you’ll never need until you have it, and then you’ll need it all the time because you can do things that would have seemed to difficult before. In particular […]

  • /r/powershell
  • Loading xml files in 2.0

    I have a script that is being deployed to Windows 7 clients with PowerShell 2.0 using ConfigMgr 2012 R2. In the script I need to expand a cab file and load a particular xml file. The script bombs out when it is loading the xml file. I’ve tried a few different ways of loading the […]