Next part of this Blog Series; How to Install and Configure OSD Webportal
Install should be easy as well, You can read this in the First Blog Post about this tool (http://blog.colemberg.ch/2013/08/how-to-configure-sccm-2012-for-use-with-this-tool/) and also in the Technet Gallery Link to download the tool (http://gallery.technet.microsoft.com/OSD-Webportal-10139926-e13f2d78).
In a few Days will a setup exe available for Download, to install all in one, that means no more self configuration, just setup and configure the connections to SCCM 2012x.
But you have allways the chance to download the full package, in this ZIP File are included the Two Folders to create the WebService and WebPortal Site self or the Setup.exe to install both automaticly.
This Steps are described here, we will beginn with the Configuration here.
After the installation are complete and you would open the website the first time there will open the settings Site:
Edit Connection Settings
The WebPortal Settings is ready on the links: http://localhost/OSDWebPortal/settings/ServiceEdit
You can change the Localhost with your Servername where the WebPortal is running, Tested is the WebPortal tool just in SCCM Primary Site Servers, but more about this in a other Blog for komplex szenarios (coming soon).
SCCM Service URL: http://nyc-cfg/OSDWebService/CMService.aspx
This URL is needed that the WebSitePortal can connect tho the WebService, you can Use this WebService also to send direct Powershell commands to it. Moore in the list below…
User: Administrator
Domain: contoso
Password: Pa$$w0rd
The User Domain and Password is needed to have rights in SCCM to manage these Components:
Components are:
- CreateDevice
- DeleteDevice
- AssignLocation
- AssignOS
- ClearPXEFlag
Imortant: The Password is not crypted now (should be follow)! If you open the IIS you can see the Password. So be sure that no User can connect to the IIS over MMC on the SCCM Primary Site Server. And can view the Password.
The next page is to Set the configuration for the WebService:
Edit WebService Settings
The WebService Settings is ready on the link: http://localhost/OSDWebPortal/settings/WebService
You can change the Localhost with your Servername where the WebService is running.
SCCM Server: nyc-cfg
The Servername is needed to connect the Server without localhost 😉
SCCM Site Code: S01
The SiteCode is needed that we can connect the Database, but that requieres that you use the Built in DB Name like CM_xxx (CM_S01).
Local DDR Path: C:\Prgram Files\Microsoft Configuration Manager\inboxes\auth\ddm.box
The DDR Path is to crate the DDR Files like AD-Discovery . That means the tool is crating some DDR Files. In CreateDevice with the Attributes that we have, like Locations or Operating System Name and Version.
The Website for Settings dosn’t work?
No Problem you can Configure these settings direct in IIS:
Have You See, there is a hidden Option 😉 You can create a Link to the Reporting Server i preferre the Link to the “All Collection” So the Hepldesk User can controll that the Device is in the collection that he Want and can start the PXE Boot or something. And on the WebSite loks like:
Use WebService direct with Powershell Commands
You can Use the WebService also for Direct commands over powershell, for example to use it during a Tasksequence 😉
First you have to Crate a Variable like $CM, then you can use this for all the Actions you want.
Example:
$CM = New-WebServiceProxy -Uri:”http://localhost/OSDWebService/cmservice.asmx” –UseDefaultCredential
$CM.CreateDevice(“supercomputer”, “11:22:33:44:55:6A”)
Actions:
AssignLocation (string Computername, string Luxation)
AssignOS (string Computername, string OSName)
CreateDevice (string Computername, MACAddress)
ClearPXEFlag (string Computername)
DeleteDevice (string Computername)
there are a couple more to list but without any function, sorry, this functions are ready in the full version. from the www.syliance.com Team.
This Infos are as is, please test it before use it, have fun and let me know for any news
Leave a Reply