Invoke-LMDeviceConfigSourceCollection
Syntax
Section titled “Syntax”Name-dsName
Section titled “Name-dsName”Invoke-LMDeviceConfigSourceCollection -DatasourceName <string> -Name <string> -InstanceId <string> [<CommonParameters>]Id-dsName
Section titled “Id-dsName”Invoke-LMDeviceConfigSourceCollection -DatasourceName <string> -Id <int> -InstanceId <string> [<CommonParameters>]Name-dsId
Section titled “Name-dsId”Invoke-LMDeviceConfigSourceCollection -DatasourceId <int> -Name <string> -InstanceId <string> [<CommonParameters>]Id-dsId
Section titled “Id-dsId”Invoke-LMDeviceConfigSourceCollection -DatasourceId <int> -Id <int> -InstanceId <string> [<CommonParameters>]Id-HdsId
Section titled “Id-HdsId”Invoke-LMDeviceConfigSourceCollection -Id <int> -HdsId <string> -InstanceId <string> [<CommonParameters>]Name-HdsId
Section titled “Name-HdsId”Invoke-LMDeviceConfigSourceCollection -Name <string> -HdsId <string> -InstanceId <string> [<CommonParameters>]Description
Section titled “Description”The Invoke-LMDeviceConfigSourceCollection function triggers configuration collection for a specified device datasource instance.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”#Collect config using datasource nameInvoke-LMDeviceConfigSourceCollection -Name "Device1" -DatasourceName "Config" -InstanceId "123"EXAMPLE 2
Section titled “EXAMPLE 2”#Collect config using datasource IDInvoke-LMDeviceConfigSourceCollection -Id 456 -DatasourceId 789 -InstanceId "123"Parameters
Section titled “Parameters”-DatasourceId
Section titled “-DatasourceId”The ID of the datasource. Required for dsId parameter sets.
Type: System.Int32DefaultValue: 0SupportsWildcards: falseAliases: []ParameterSets:- Name: Name-dsId Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false- Name: Id-dsId Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-DatasourceName
Section titled “-DatasourceName”The name of the datasource. Required for dsName parameter sets.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Name-dsName Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false- Name: Id-dsName Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-HdsId
Section titled “-HdsId”The host datasource ID. Required for HdsId parameter sets.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Name-HdsId Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false- Name: Id-HdsId Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''The ID of the device. Required for Id parameter sets.
Type: System.Int32DefaultValue: 0SupportsWildcards: falseAliases: []ParameterSets:- Name: Id-HdsId Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false- Name: Id-dsName Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false- Name: Id-dsId Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-InstanceId
Section titled “-InstanceId”The ID of the datasource instance.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''The name of the device. Required for Name parameter sets.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Name-HdsId Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false- Name: Name-dsId Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false- Name: Name-dsName Position: Named IsRequired: true 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.