SCOM---Any power shell command to allow agent to act as a proxy and discover managed objects on other computers?
Any power shell command to allow agent to act as a proxy and discover managed objects on other computers? this is under the security tab when right clicking an agent in scom.dsk
July 12th, 2011 6:03pm
I have a .exe I use that does it en masse, called ProxySettings.exe that gets the job done. I forget where I found it, but I can send it to you if you want."Fear disturbs your concentration"
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2011 6:10pm
Please send me this .exe for setting agent proxy enabled for all agents already discovered.
Thanks.dsk
July 12th, 2011 6:42pm
Hi,
Also you may want to check this post:
http://blogs.technet.com/b/kevinholman/archive/2010/11/09/how-to-set-agent-proxy-enabled-for-all-agents.aspxhttp://OpsMgr.ru/
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2011 7:50pm
Yes there is. I forget the name of it - but it takes a group name and sets proxy to on or off. Most people doing this target the all computers group.Microsoft Corporation
July 12th, 2011 8:38pm
The following function will set the proxy on a computer. The one for the groups also works well, but this allows you to do it for a specific computer. Just pass it the computer name.
function set-SCOMAgentProxy
{
Param ($inAgent)
$a = get-agent|where {$_.PrincipalName -eq $inAgent}
$a|ft displayname, HealthState, ProxyingEnabled, ManuallyInstalled, InstalledBy -auto
if($a.ProxyingEnabled.value -ne "True")
{
$a.ProxyingEnabled = $true
$a.ApplyChanges()
}
}
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2011 6:18pm
HI DSK
Please feel free to re-open if you have further questions. The PShell script in the link from Alex above should do exactley what you want.
Cheers
GrahamView OpsMgr tips and tricks at
http://systemcentersolutions.wordpress.com/
July 13th, 2011 6:42pm