SCOM 2012 RC: How do I install the agent on computer(s) in domain using powershell cmdlet RRS feed

  • Question

  • Hi,

    I have loaded the PSSnapin  Microsoft.EnterpriseManagement.OperationsManager.Client on my scom server which provides me with all the cmdlets needed to handle the its operations. There is a cmdlet to install agents named Install-AgentByName which has the parameters -Name (FQDN of the computer where I want to install the agent) -Path (I do not get what value should I pass here), in case i do not what to go with this (-Path) parameter I should pass the -ManagementServer object (can get it by using cmdlet Get-ManagementServer) which in turns request for the -Path parameter to be supplied.

    I have a requirement in which I have to manage this agent installation remotely. So I am thinking of doing this by entering into the remote pssession and executing Install-AgentByName cmdlet on scom server.

    Can anyone out there help me out in getting me through this path trouble.



    Wednesday, June 6, 2012 9:32 AM


All replies