Home »

Posts tagged ‘WMI’


VBScript: Receiving new advertisement info from ConfigMgr 2007 via WMI Events.

Run code when a new advertisement is created.
This post contains a vbscript using async operations to catch the new advertisement, when it is created.

Category: Configuration Manager, Scripting, VBScript  |  3 Comments

Powershell – WMI: Working with Shares – Part 1: Creating a Share with Custom Permissions

Download Script: Intro: Last week, i was teaching a Powershell course (MOC6434), when a student asked me, how to create a share with custom permissions via WMI. I tried to find an answer for him, but could not really find any examples, cmdlets or functions for it. I found some examples and help in vbscript, [...]

Category: Powershell, Scripting  |  21 Comments