Disconnecting from SRM servers

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.36.30