Get the App
SLTechnology News&Howtos  ›  Servers  › 

AD- delete account command Remove-ADUser

Shulou Source: shulou.com Published: 2022-06-02 16:15:21 12月06日 Update

Learn from:

Teacher Xu Peng's AD Powershell series of video courses

Delete all users under Lab

Get-ADUser-Filter *-SearchBase "ou=Lab,dc=satid,dc=com" | foreach {Remove-ADUser-identity $_ .Name-Confirm:$false}

Delete users contained in the table

Tags: User teacher video course package Xu Peng study command account Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL NVidia Huawei OPPO Reno Linux