TestimoX

API Reference

Command

Remove-ADXLingeringObject

Namespace ADPlayground.PowerShell
Inputs
ADPlayground.LingeringObject
Outputs
ADPlayground.LingeringObjectRemovalResult

Removes lingering objects from domain controllers.

Examples

Authored help example

Example 1


Get-ADXLingeringObject -Domain contoso.com | Remove-ADXLingeringObject -WhatIf
        

Example 2


$obj = Get-ADXLingeringObject -Domain contoso.com | Select-Object -First 1; $obj | Remove-ADXLingeringObject -Method RemoveLingeringObject -Confirm
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Remove-ADXLingeringObject -InputObject <LingeringObject> [-Method <DsReplicaVerifyObjects|RemoveLingeringObject>] [<CommonParameters>]
#

Parameters

InputObject LingeringObject requiredposition: 0pipeline: true (ByValue)
Object returned by Get-ADXLingeringObject.
Method LingeringObjectRemovalMethod optionalposition: namedpipeline: falsevalues: 2
Removal backend to use. Possible values: DsReplicaVerifyObjects, RemoveLingeringObject
Possible values: DsReplicaVerifyObjects, RemoveLingeringObject

Outputs

ADPlayground.LingeringObjectRemovalResult