Get-LMCachedAccount
Syntax
Section titled “Syntax”__AllParameterSets
Section titled “__AllParameterSets”Get-LMCachedAccount [[-CachedAccountName] <string>] [<CommonParameters>]Description
Section titled “Description”The Get-LMCachedAccount function retrieves information about cached LogicMonitor account credentials stored in the Logic.Monitor vault. It can return information for a specific cached account or all cached accounts.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”#Retrieve all cached accountsGet-LMCachedAccountEXAMPLE 2
Section titled “EXAMPLE 2”#Retrieve a specific cached accountGet-LMCachedAccount -CachedAccountName "MyAccount"Parameters
Section titled “Parameters”-CachedAccountName
Section titled “-CachedAccountName”The name of the specific cached account to retrieve information for. If not specified, returns information for all cached accounts.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: 0 IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''CommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.