Home »

Posts tagged ‘.NET’


WMI/ConfigMgr Scripting: CreateEmbeddedObjectInstance (.NET) or SpawnInstance (VBScript) in PowerShell

  During the development of the script I posted yesterday, I noticed that a lot of people had problem discovering how to create WMI objects in PowerShell. I found different suggestions, but they all had problems. When I have to create WMI object instances I use this this method, which I used in my old [...]

Category: Configuration Manager, Powershell, Scripting  |  1 Comment

System Center Orchestrator 2012 Beta: Using Web Service in .NET – Part 1 – Creating a SharePoint 2010 Web part

How to create a simple web part for SharePoint that is connecting to the Orchestrator Web Service
Sample project attatached.

Category: Orchestrator / Opalis, System Center Orchestrator 2012, System Center Orchestrator 2012 Beta  |  1 Comment

Serializing System.Net.IPAddress to XML

  Working on a project today, i needed to serialize one of my classes that included at System.Net.IPAddress property. Problem problem is that IPAddress does not support XML Serialization since it does not implement a parameterless constructor! I tried to search the net, but couldnt find a complete guide, therefore i am posting this, hoping [...]

Category: .NET, Scripting  |  Comment