To disconnect your PowerCLI session from one or more SRM servers, you can use the Disconnect-SrmServer
cmdlet. The syntax of the Disconnect-SrmServer
cmdlet is as follows:
Disconnect-SrmServer [[-Server] <SrmServer[]>] [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
The Disconnect-SrmServer
cmdlet has no required parameters.
In the following example, we will disconnect from all of the connected SRM servers:
PowerCLI C:> Disconnect-SrmServer * -Confirm:$False
The preceding command does not return any output.
3.12.36.30