Powershell sctript base monitoring with certificate authentication
Hi All,
i am working to create an PowerShell script to monitor azure environment, I have imported the azure module and PowerShell script works as desired and need to setup monitoring from multiple proxy
agent.
Issue: in script i am using certificate to authenticate the azure hosted service, for this i need to install certificate
on proxy which is not an best practice.
PowerShell command:
$cert = Get-Item cert:\CurrentUser\My\{Thumb print}
i have imported certificate in to the scom as binary authentication and password as basic authentication. Please let me know if there is an workaround to pass runas account certificate
as parameter to script, so that i can execute PowerShell commands for azure.
Thanks
sridhar v
May 28th, 2012 10:34pm