-
Notifications
You must be signed in to change notification settings - Fork 2
Get MdeMachine
Jan-Henrik Damaschke edited this page Sep 15, 2022
·
1 revision
Gets one or multiple machine objects
Get-MdeMachine [[-id] <String>] [<CommonParameters>]
If no parameters are specified, returns all Defender for Endpoint machines. If an ID is specified, it returns a single machine object, if the ID is found, otherwise nothing.
$machines = Get-MdeMachine
$machine = Get-MdeMachine -id '123'
Optional. Specifies the id of the target MDE machine.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
PSCustomObject. The Get-MdeMachine function returns a list of or a single PSCustomObject containing the parsed MDE machine object.
Author: Jan-Henrik Damaschke