Wey's note
只是一些隨手筆記
2018年11月7日 星期三
防止組織單位OU意外刪除
ADDS在建立物件時, 預設會將其設定保護以防止意外刪除, 如果沒有則自行在進階功能下開啟物件內容中的「物件」標籤裡勾選保護物件以防止被意外刪除
w-studio.idv.tw
或者使用 PowerShell指令啟用或停用保護:
Get-ADOrganizationalUnit –filter * -properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion –eq $false} | Set-ADOrganizationalUnit –protectedFromAccidentalDeletion $true
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
沒有留言:
張貼留言