Using SC App Controller 2012 SP1 PowerShell module remote
Today I have been exploring the System Center App Controller 2012 SP1 and the PowerShell module that it has.
There is not so many cmdlets in this but maybe it is enough… will find out soon 🙂
One cmdlet that is necessary is the Get-SCACServer if you are running the powershell module remote. Here comes the small problem when like me not using a certificate from a trusted CA like the AD CS or bought by a small amount of $$$ from verisign or other vendor of certs. As you can see on the next screendump I get a small error that the cmdlet does not like the certificate, well as there is no -force parameter on the cmdlet I went for another aproach and I added the self-signed cerificate from the App Controller server that was used in the IIS to the trusted root certificate authorities certificate store in the cert manager on the Management machine where I wanted to run the appcontroller PowerShell module. And now the cmdlet did not complain and I could get the App Controller server 🙂
Here you can see where I added the cerificate,
When using the App Controller PowerShell module locally on the same server as the App Controller Server resides this trust of the cert is already taken care of 🙂
A good post on how to create your own certificates for example using in management of your Azure or your IIS SSL you can find here on this link.
[…] Last post I did was about how to get the connection to an remote SC App Controller Server with the SCAC PowerShell module. […]
An impressive share! I’ve just forwarded this onto a friend who was doing a little research on this. And he in fact ordered me breakfast because I found it for him… lol. So allow me to reword this…. Thank YOU for the meal!! But yeah, thanks for spending the time to discuss this subject here on your blog.
Thank YOU, i wanted to add my user with the browser, but only the PoserShell-cmdlet are working!
nice work around. What I haven’t been able to find is how to get the AppController module loaded on my remote management machine. I tried just moving the module from the appcontroller server to my modules directory but get an error. Import-Module : The assembly ‘..\Microsoft.SystemCenter.CloudManager.PowerShell.dll’ was not loaded because no assembly was found.
Any advice on getting it loaded?