Someone can explain how really works this script for remove the SCOM Agentless servers.
I'm trying to remove some but is not working!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Please help !
Parameter Set: FromRemotelyManagedComputer Remove-RemotelyManagedComputer [-Computer] <RemotelyManagedComputer[]> [-Confirm] [-WhatIf] [ <CommonParameters>]
The examples doesn't really explains.
Examples
-------------- EXAMPLE 1 --------------
This command uses Get-RemotelyManagedComputer to retrieve all remotely managed computers. It passes the results along the pipeline to Remove-RemotelyManagedComputer to remove them.
C:\PS>get-remotelymanagedcomputer | remove-remotelymanagedcomputer
http://technet.microsoft.com/en-us/library/gg132205.aspx