Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Import-Module LithnetRMA
$DNs=Get-Content "C:\FIMScripts\FIMMA_DNs.txt"
ForEach ($DN in $DNs)
Write-Host $DN
$a=Get-Resource -ObjectType Person -AttributeName ObjectID -AttributeValue "$DN" | Remove-Resource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.