Import-LMDeviceGroupsFromCSV
Syntax
Section titled “Syntax”Import (Default)
Section titled “Import (Default)”Import-LMDeviceGroupsFromCSV -FilePath <string> [-PassThru] [<CommonParameters>]Sample
Section titled “Sample”Import-LMDeviceGroupsFromCSV [-GenerateExampleCSV] [<CommonParameters>]Description
Section titled “Description”Imports list of device groups based on specified CSV file. You can generate a sample of the CSV file by specifying the -GenerateExampleCSV parameter.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”Import-LMDeviceGroupsFromCSV -FilePath ./ImportList.csv -PassThruParameters
Section titled “Parameters”-FilePath
Section titled “-FilePath”Path to the CSV file containing device groups to import. Required for Import parameter set.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Import Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-GenerateExampleCSV
Section titled “-GenerateExampleCSV”Generates a sample CSV file to use as a template for importing device groups.
Type: System.Management.Automation.SwitchParameterDefaultValue: FalseSupportsWildcards: falseAliases: []ParameterSets:- Name: Sample Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-PassThru
Section titled “-PassThru”Returns the imported device group objects. By default, no output is returned.
Type: System.Management.Automation.SwitchParameterDefaultValue: FalseSupportsWildcards: falseAliases: []ParameterSets:- Name: Import 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.