Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Creating a Management OData Web Service

 

Management ODATA IIS Extension is an infrastructure for creating an ASP.NET web service end point that exposes your management data, accessed through Windows PowerShell cmdlets and scripts, as OData Web service entities. It does that by processing OData requests and converting them into a Windows PowerShell invocation. Product teams can build on top of this infrastructure to create endpoints that expose specific sets of management data.

Download and install the PswsRoleBasedPlugins sample. Follow the instructions to deploy the web service. This web service exposes Services and Processes through Create, Read, Update, and Delete (CRUD) operations. CRUD requests made to the web service invoke Windows PowerShell commands that perform the requested operations. A mapping between the CRUD operations and the underlying Windows PowerShell commands is implemented by two schema files, schema.mof and schema.xml. The schema.mof file uses the Distributed Management Task Force (DTMF) Managed Object (MOF) standard. The schema.xml file uses an XML schema that is described in Resource Mapping Schema.

System_CAPS_importantImportant

Before you enabling Management ODATA IIS Extension on Windows Server 2008 R2 SP1, the following features must be enabled.

  1. IIS-WebServerRole

  2. IIS-WebServer

  3. IIS-HttpTracing

  4. IIS-ManagementOData

Show: