AD-刪除賬戶命令 Remove-ADUser

學習自: 徐鵬老師的 AD Powershell 系列視頻課程 把 Lab 下的用戶全部刪除 1 Get-ADUser  - Filter  * -SearchBase  "ou=Lab,dc=satid,dc=com"  |  foreach { Remove-ADUser  -identity  $_ .Name -Confirm: $false } 刪除表中包含的用戶       本文轉自c
相關文章
相關標籤/搜索