Skip to content

Invoke-LMCloudGroupNetScan

Terminal window
Invoke-LMCloudGroupNetScan -Id <string> [<CommonParameters>]
Terminal window
Invoke-LMCloudGroupNetScan -Name <string> [<CommonParameters>]

The Invoke-LMCloudGroupNetScan function schedules a NetScan task for a specified cloud device group (AWS, Azure, or GCP) in LogicMonitor.

Terminal window
#Run NetScan on a cloud group by ID
Invoke-LMCloudGroupNetScan -Id "12345"
Terminal window
#Run NetScan on a cloud group by name
Invoke-LMCloudGroupNetScan -Name "AWS-Production"

The ID of the cloud device group. Required for GroupId parameter set.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: GroupId
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

The name of the cloud device group. Required for GroupName parameter set.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: GroupName
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

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.