Home > Powershell, SCVMM, Virtualization > Using SC App Controller 2012 SP1 PowerShell module remote

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 :-)

Screen Shot 2013-03-26 at 20.55.51

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 :-)

Screen Shot 2013-03-26 at 21.43.22

Here you can see where I added the cerificate,

Screen Shot 2013-03-26 at 21.59.48

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.

Categories: Powershell, SCVMM, Virtualization Tags:
  1. Otis
    April 25th, 2013 at 23:45 | #1

    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.

  2. Stefan
    May 10th, 2013 at 10:04 | #2

    Thank YOU, i wanted to add my user with the browser, but only the PoserShell-cmdlet are working!

  3. hobo
    December 12th, 2013 at 15:45 | #3

    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?

  1. March 28th, 2013 at 14:54 | #1