Disconnecting from vRealize Operations Manager servers
The Disconnect-OMServer
cmdlet closes the connection to one or more vRealize Operations Manager servers. The syntax of the Disconnect-OMServer
cmdlet is as follows:
Disconnect-OMServer [[-Server] <OMServer[]>] [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
The Disconnect-OMServer
cmdlet has no required parameters.
In the following example, we will disconnect from vRealize Operations Manager 192.168.0.62
, as follows:
PowerCLI C:\> Disconnect-OMServer -Server 192.168.0.62 -Confirm:$false
The preceding command does not return any output.
Get Learning PowerCLI - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.