Temporary interlude, figuring out how to get some numbers from our IT environment to create some models for complexity in our technology environment. I thought System Center Operations Manager should be useful here but running powershell from the SCOM shell isn't that clever. It'd be much nicer in a decent editor... but how? I couldn't find this anywhere else on the net... so here's how I managed to get SCOM (R2) accessible from the Powershell ISE...
import-module "C:\Program Files\System Center Operations Manager 2007\Microsoft.EnterpriseManagement.OperationsManager.ClientShell.dll"
&"C:\Program Files\System Center Operations Manager 2007\Microsoft.EnterpriseManagement.OperationsManager.ClientShell.Functions.ps1"
Start-OperationsManagerClientShell -ManagementServerName: somemachinename -PersistConnection: $true -Interactive: $True
1 comment:
thanks for sharing, keep em coming.
Post a Comment