Public Folder - How to remove a deleted user via powershell?
Hi,
I wish to delete a user from my permissions on a Public Folder and its subdirectories.
Unfortunatly the user has been deleted from AD leaving the SID
I tried this
Get-PublicFolder Identity \Case Manager Recurse | Remove-PublicFolderClientPermission User "NT USER:S-1-5-21-1614895754-1972579041-682003330-10699"
but it failed.
Any ideas on the correct syntax?
Phil
September 11th, 2012 11:04am
Then something has gone wrong with the deletion because everything should have been cleaned up.
I don't know of any way to do that with PowerShell, sorry.Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Free Windows Admin Tool Kit Click here and download it now
September 11th, 2012 3:58pm
Hi
It is not syntax problem. It is removing Unresolved SIDs in exchange system.
I remember Bill Long's blog about how to remove Unresolved SIDs through script.
.\Check-UnresolvedSIDs.ps1 -Server MyPFServer -Remove $true
You can read
this blog and run the script.
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tnmff@microsoft.com
Terence Yu
TechNet Community Support
September 11th, 2012 10:56pm
Hi
It is not syntax problem. It is removing Unresolved SIDs in exchange system.
I remember Bill Long's blog about how to remove Unresolved SIDs through script.
.\Check-UnresolvedSIDs.ps1 -Server MyPFServer -Remove $true
You can read
this blog and run the script.
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tnmff@microsoft.com
Terence Yu
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
September 11th, 2012 11:04pm