Hi all,
I'm creating a test environment I would like to be able to create hosted organizations and a simple RDS Service.
According to the documentation it stays I already created a test OU in order to run the DSHeuristics script, but I get this error.
dSHeuristics has already been set to 001
Checking Authenticated Users are part of "Pre-Windows 2000 Compatible Access" group
.. It has already been removed
Going through the Hosted Orgs
Cannot index into a null array.
At C:UsersAdministratorDesktopSolidCP-dSHeuristicsdSHeuristics.ps1:62 char:33
+ Foreach ($SubOU in $SubOUs[1..$($SubOUs.count)]){
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
Existing Environments
In existing environments we have made a powershell script which will secure the currnt Hosted Orgs for your customers. The script can be found at http://installer.solidcp.com/Files/Stable/Tools/SolidCP-dSHeuristics.zip
Before running this script you are required to edit the CustomerOU to point to the location SolidCP is setup to use.
Once this has been set you can run the script (Please ensure your logged in with a AD Domain Admin account) and it will secure the Hosted Orgs for you.
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
Hey,
Can you confirm you opened the .ps1 file and edited the values at the top?
Kind Regards,
Trevor Robinson
Hi Trevor,
Yes I had edited the PS1 script and I used a DN pointing to an OU called hosting.
Hello,
Silly question but: are you logged in as Domain administrator?
(it appears it's in the path of the local administrator user instead).
Regards,
Marco
I'm logged with a domain admin.
Regards,
German