Hi Everyone,
Today i’ll be posting a new tool made to restore deleted users from Active Directory made with Powershell.
Recently i’ve received a sugestion from Rafael Bernardes to make this, since it is very common to see admins accidentally deleting AD objects and the restoration process isn’t always friendly, so i’ve decided to invest some tome to make it and this is the result.
Leave sugestions to improve the usability and new functionalities
[callout type=”left” title=”Download” message=”Click here to download this tool to restore your deleted users” button_text=”AD User Restorer” href=”https://gallery.technet.microsoft.com/AD-User-Restorer-3e258c9d” target=”blank” button_icon=”thumbs-up”]
[feature_headline type=”left” level=”h5″ looks_like=”h5″ icon=”users”] Main features of this tool: [/feature_headline]
[visibility type=”hidden-desktop, hidden-tablet, hidden-phone, visible-desktop, visible-tablet, visible-phone” inline=”true”] … [/visibility]
Portable
It was made using the .Net Framewotk, therefore it does not require the Active Directory Powershell Module installed in the machine.
Simple
It has a simple and intuitive interface that allows you to quickly restore your deleted users.
Works without the AD bin
Even without Active Directory’s bin enable it will restore the user, but with AD’s limitations, only a few attributes are kept in thombstone.
Yes, I have unblocked it. This is the error that I keep getting I would very much appreciate if you can help a n00b like me.
Split-Path : Cannot bind argument to parameter ‘Path’ because it is null.
At line:382 char:14
+ Split-Path <<<< $script:MyInvocation.MyCommand.Path
+ CategoryInfo : InvalidData: (:) [Split-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.SplitPathCommand
This website uses cookies to improve your experience. By using this website you agree to our Data Protection Policy.
3 Comments
I keep getting these errors…
Split-Path : Cannot bind argument to parameter ‘Path’ because it is null.
At line:382 char:14
+ Split-Path <<<< $script:MyInvocation.MyCommand.Path
+ CategoryInfo : InvalidData: (:) [Split-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.SplitPathCommand
Load-DataGridView : Cannot validate argument on parameter 'Item'. The argument is null. Supply a non-null argument and try the command again.
At line:110 char:55
+ Load-DataGridView -DataGridView $datagridview1 -Item <<<< $(Search-ADDeletedAccounts)
+ CategoryInfo : InvalidData: (:) [Load-DataGridView], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Load-DataGridView
Did you unblock the script file?
Yes, I have unblocked it. This is the error that I keep getting I would very much appreciate if you can help a n00b like me.
Split-Path : Cannot bind argument to parameter ‘Path’ because it is null.
At line:382 char:14
+ Split-Path <<<< $script:MyInvocation.MyCommand.Path
+ CategoryInfo : InvalidData: (:) [Split-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.SplitPathCommand