Freigeben über


Discover and install agent

$query = New-LdapQueryDiscoveryCriteria -domain domain -ldapquery "(cn=target_netbios_name)"

$discoverycfg = New-WindowsDiscoveryConfiguration -ldapquery $query

$discoveryResults = Start-Discovery -managementServer (get-managementServer) -windowsDiscoveryConfiguration $discoverycfg

Install-Agent -managementServer (get-ManagementServer) -agentManagedComputer $discoveryResults.CustomMonitoringObjects

**This example will configure the agent to report to the Management Server you are currently connected to while performing this action.

main menu

Comments

  • Anonymous
    January 01, 2003
    The comment has been removed