Disconnect-LMAccount
Syntax
Section titled “Syntax”Disconnect-LMAccount [<CommonParameters>]Description
Section titled “Description”The Disconnect-LMAccount function clears stored API credentials for a previously connected LM portal. It’s useful for switching between LM portals or clearing credentials after a script runs.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”#Disconnect from the current LM portalDisconnect-LMAccountParameters
Section titled “Parameters”CommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
Section titled “Inputs”None. You cannot pipe objects to this command.
Section titled “None. You cannot pipe objects to this command.”Outputs
Section titled “Outputs”None. This command does not generate any output.
Section titled “None. This command does not generate any output.”Once disconnected you will need to reconnect to a portal before you will be allowed to run commands again.