Removes the Operations Manager connection from VMM.
Description
The Remove-SCOpsMgrConnection cmdlet removes the existing System Center Operations Manager connection from System Center Virtual Machine Manager (VMM).
For more information about Remove-SCOpsMgrConnection, type: "Get-Help Remove-SCOpsMgrConnection -online".
Parameters
Force
Required?
false
Accept Pipeline Input?
false
Position?
named
Forces the operation to complete.
For example:
- Remove-SCSCVMHost -Force
Forces the removal of a host object from the VMM database.
- Stop-SCVirtualMachine -Force
Stops a virtual machine.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
VMMServer
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a VMM server object.
Examples
1: Remove the Operations Manager
connection from VMM.
PS C:\> Remove-SCOpsMgrConnection
This command removes the Operations Manager connection from VMM.
2: Remove an Operations Manager
connection that is not accessible from VMM.
PS C:\> Remove-SCOpsMgrConnection -Force
This command removes an Operations Manager connection from VMM when the Operations Manager server is unavailable or no longer accessible from VMM.
NOTE: Removing the connection to an Operations Manager server that is unavailable or no longer accessible from VMM will not remove VMM-related artifacts, such as internal connectors, from Operations Manager.