System Center Orchestrator 2012 Beta: Using Run .Net Script Activity – PowerShell: Inputting and Returning Data
This article describes how to use the Run .Net Activity to run PowerShell Scripts. I have created an example runbook which does the following: Start once every minute. Read a text file containing a list of sites/servers. Parse the list to PowerShell script. PowerShell script tried to ping each address and get the response time. […]Category: Orchestrator / Opalis, Powershell, Scripting, System Center Orchestrator 2012, System Center Orchestrator 2012 Beta | 1 Comment
Run code when a new advertisement is created.Category: Configuration Manager, Scripting, VBScript | 11 Comments
This post contains a vbscript using async operations to catch the new advertisement, when it is created.
PowerShell: Creating new users from CSV with password and enabled accounts or How to Pipe into multiple cmdlets
How to create users from a CSV file, set their password and enable them in one command.Category: Powershell, Scripting | 12 Comments
This method shows you how to pipe the same output into multiple cmdlets by using the ForEach-Object Cmdlet.
The Configuration Manager 2007 SDK, has a lot of missing examples and parts that are not well documented. One of them is the part about User permissions and how to add them. During the development of the install script for our HTA solution, I had to create a HTA user, with special permissions for the […]Category: Configuration Manager, Scripting, VBScript | Comment
When we are deploying OS via ConfigMgr, we usually do a cleanup of all old objects before creating the new object. This helps prevent errors and mistakes, and is pretty easy to do. We are able to use both SMBOIS GUID and Mac addresses for the cleanup. usually I recommend using mac addresses, since I […]Category: Configuration Manager, OS Deployment, Scripting, VBScript | 2 Comments
Just came back from a customer which needed to limit the number of mobile device to one per mailbox. For this implementation the customer used all kind of smart phones, so the challange was also to find the unique Device ID from the Smartphone and add it to a Active Directory Attribute called: msExchMobileAllowedDeviceIDs. I […]Category: Exchange, Powershell | Comment
Many people who have worked with PowerShell have reached this problem. You have a exe file in a folder that includes spaces. (fx. “C:\Program Files\”)Category: Powershell, Scripting | 1 Comment
This exe file needs to be called with an argument that starts with “-“. at the same time , you need to call it from another folder.
“How to Raise Alert from Microsoft Outlook in OpsMgr 2007” or a New Outlook Connector to Operations Manager 2007 R2
Have you ever thought on creating Alerts directly from a mail? Or Send a mail to your OpsMgr to raise an alert in your Operations Manager? A few weeks ago I was talking with a guy participating on one of the Advanced OpsMgr courses, his existing monitoring environment currently delivered an mail to a group […]Category: Operations Manager 2007, Scripting, VBScript | 6 Comments