931 B
Requirements: The CBPAD PowerShell module located here. Copy the whole CBPAD folder to your jump server to your "C:\Users\<hash id>-M\Documents\PowerShell\Modules" or "C:\Users\<hash id>-M\Documents\WindowsPowerShell\Modules" folder(s). Depending on what version of PowerShell you typically use.
You will need to have a copy of the same module on a domain controller as well to delete the OUs. Then the module will need to be copied to your -0 profile but the same location as above.
The CBPADREORG PowerShell module located here. Copy the whole CBPADREORG folder to your jump server to your "C:\Users\<hash id>-M\Documents\PowerShell\Modules" or "C:\Users\<hash id>-M\Documents\WindowsPowerShell\Modules" folder(s). Depending on what version of PowerShell you typically use.