Get-LMCollectorInstaller
Syntax
Section titled “Syntax”Id (Default)
Section titled “Id (Default)”Get-LMCollectorInstaller -Id <int> [-Size <string>] [-OSandArch <string>] [-UseEA <bool>] [-DownloadPath <string>] [<CommonParameters>]Get-LMCollectorInstaller -Name <string> [-Size <string>] [-OSandArch <string>] [-UseEA <bool>] [-DownloadPath <string>] [<CommonParameters>]Description
Section titled “Description”The Get-LMCollectorInstaller function downloads the LogicMonitor Collector installer based on the specified parameters. It supports different operating systems, architectures, and collector sizes, and can download either standard or Early Access (EA) versions.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”#Download a Windows collector installerGet-LMCollectorInstaller -Id 123 -Size medium -OSandArch Win64 -DownloadPath "C:\Downloads"EXAMPLE 2
Section titled “EXAMPLE 2”#Download a Linux collector installer with Early AccessGet-LMCollectorInstaller -Name "Collector1" -OSandArch Linux64 -UseEA $trueParameters
Section titled “Parameters”-DownloadPath
Section titled “-DownloadPath”The path where the installer file will be saved. Defaults to the current directory.
Type: System.StringDefaultValue: (Get-Location).PathSupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''The ID of the collector to download the installer for. This parameter is mandatory when using the Id parameter set.
Type: System.Int32DefaultValue: 0SupportsWildcards: falseAliases: []ParameterSets:- Name: Id Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''The name of the collector to download the installer for. This parameter is mandatory when using the Name parameter set.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Name Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-OSandArch
Section titled “-OSandArch”The operating system and architecture for the installer. Valid values are ‘Win64’, ‘Linux64’. Defaults to ‘Win64’.
Type: System.StringDefaultValue: Win64SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''The size of the collector to install. Valid values are ‘nano’, ‘small’, ‘medium’, ‘large’, ‘extra_large’, ‘double_extra_large’. Defaults to ‘medium’.
Type: System.StringDefaultValue: mediumSupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-UseEA
Section titled “-UseEA”Switch to use the Early Access version of the collector. Defaults to $false.
Type: System.BooleanDefaultValue: FalseSupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named 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.