Set-LMPortalInfo
Syntax
Section titled “Syntax”__AllParameterSets
Section titled “__AllParameterSets”Set-LMPortalInfo [[-Whitelist] <string>] [[-RequireTwoFA] <bool>] [[-IncludeACKinAlertTotals] <bool>] [[-IncludeSDTinAlertTotals] <bool>] [[-EnableRemoteSession] <bool>] [[-CompanyDisplayName] <string>] [[-UserSessionTimeoutInMin] <int>] [-ClearWhitelist] [-WhatIf] [-Confirm] [<CommonParameters>]Description
Section titled “Description”The Set-LMPortalInfo function modifies various portal-wide settings in LogicMonitor, including whitelisting, two-factor authentication, alert totals, and session timeouts.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”Set-LMPortalInfo -RequireTwoFA $true -UserSessionTimeoutInMin 60 -CompanyDisplayName "My Company"Updates the portal settings to require 2FA, set session timeout to 60 minutes, and update company display name.
Parameters
Section titled “Parameters”-ClearWhitelist
Section titled “-ClearWhitelist”Indicates whether to clear the existing whitelist.
Type: System.Management.Automation.SwitchParameterDefaultValue: FalseSupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-CompanyDisplayName
Section titled “-CompanyDisplayName”Specifies the company name to display in the portal.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: 5 IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-Confirm
Section titled “-Confirm”Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameterDefaultValue: ''SupportsWildcards: falseAliases:- cfParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-EnableRemoteSession
Section titled “-EnableRemoteSession”Specifies whether to enable remote session functionality.
Type: System.Nullable`1[System.Boolean]DefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: 4 IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-IncludeACKinAlertTotals
Section titled “-IncludeACKinAlertTotals”Specifies whether to include acknowledged alerts in alert totals.
Type: System.Nullable`1[System.Boolean]DefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: 2 IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-IncludeSDTinAlertTotals
Section titled “-IncludeSDTinAlertTotals”Specifies whether to include alerts in SDT in alert totals.
Type: System.Nullable`1[System.Boolean]DefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: 3 IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-RequireTwoFA
Section titled “-RequireTwoFA”Specifies whether to require two-factor authentication for all users.
Type: System.Nullable`1[System.Boolean]DefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: 1 IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-UserSessionTimeoutInMin
Section titled “-UserSessionTimeoutInMin”Specifies the session timeout in minutes. Valid values: 30, 60, 120, 240, 480, 1440, 10080, 43200.
Type: System.Nullable`1[System.Int32]DefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: 6 IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-WhatIf
Section titled “-WhatIf”Runs the command in a mode that only reports what would happen without performing the actions.
Type: System.Management.Automation.SwitchParameterDefaultValue: ''SupportsWildcards: falseAliases:- wiParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-Whitelist
Section titled “-Whitelist”Specifies IP addresses/ranges to whitelist for portal access.
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.