EllisDee
Established Members-
Posts
3 -
Joined
-
Last visited
Everything posted by EllisDee
-
Good to know. I was beginning to think I was just a little crazy.. Couldn't find it.
- 20 replies
-
- sql server 2017
- powershell
-
(and 3 more)
Tagged with:
-
First off, Thank you so much for the install scripts. This takes the doofus element out of the installation. However, I do doofus really well. I am trying to use the add user script and am getting the following errors. I think I have edited the file in the appropriate locations to reflect my domain. But something is a miss. About to add the following OU: drwho to this OUPath: DC=dc-01,DC=drwho,DC=localNew-ADOrganizationalUnit : Directory object not found At C:\Scripts\Create Users Usergroups and OUs in AD.ps1:15 char:13 + New-ADOrganizationalUnit -Name $OUName -Path $OUPath + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (OU=drwho,DC=dc-01,DC=drwho,DC=local:String) [New-ADOrganizationalUnit], ADIdentityNotFoundException + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Managem ent.Commands.NewADOrganizationalUnit Adding child OU's... About to add the following OU: Security Groups to this OUPath: OU=dc-01, DC=dc-01,DC=drwho,DC=localNew-ADOrganizationalUnit : Directory object not found At C:\Scripts\Create Users Usergroups and OUs in AD.ps1:15 char:13 + New-ADOrganizationalUnit -Name $OUName -Path $OUPath + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (OU=Security Gro...=drwho,DC=local:String) [New-ADOrganizationalUnit], ADIdentityNotFoundException + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Managem ent.Commands.NewADOrganizationalUnit About to add the following OU: Servers to this OUPath: OU=dc-01, DC=dc-01,DC=drwho,DC=localNew-ADOrganizationalUnit : Directory object not found At C:\Scripts\Create Users Usergroups and OUs in AD.ps1:15 char:13 + New-ADOrganizationalUnit -Name $OUName -Path $OUPath + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (OU=Servers,OU=d...=drwho,DC=local:String) [New-ADOrganizationalUnit], ADIdentityNotFoundException + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Managem ent.Commands.NewADOrganizationalUnit About to add the following OU: Service Accounts to this OUPath: OU=dc-01, DC=dc-01,DC=drwho,DC=localNew-ADOrganizationalUnit : Directory object not found At C:\Scripts\Create Users Usergroups and OUs in AD.ps1:15 char:13 + New-ADOrganizationalUnit -Name $OUName -Path $OUPath + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (OU=Service Acco...=drwho,DC=local:String) [New-ADOrganizationalUnit], ADIdentityNotFoundException + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Managem ent.Commands.NewADOrganizationalUnit About to add the following OU: Users to this OUPath: OU=dc-01, DC=dc-01,DC=drwho,DC=localNew-ADOrganizationalUnit : Directory object not found At C:\Scripts\Create Users Usergroups and OUs in AD.ps1:15 char:13 + New-ADOrganizationalUnit -Name $OUName -Path $OUPath + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (OU=Users,OU=dc-...=drwho,DC=local:String) [New-ADOrganizationalUnit], ADIdentityNotFoundException + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Managem ent.Commands.NewADOrganizationalUnit About to add the following OU: Workstations to this OUPath: OU=dc-01, DC=dc-01,DC=drwho,DC=localNew-ADOrganizationalUnit : Directory object not found At C:\Scripts\Create Users Usergroups and OUs in AD.ps1:15 char:13 + New-ADOrganizationalUnit -Name $OUName -Path $OUPath + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (OU=Workstations...=drwho,DC=local:String) [New-ADOrganizationalUnit], ADIdentityNotFoundException + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Managem ent.Commands.NewADOrganizationalUnit Adding more child OU's... About to add the following OU: SCCM to this OUPath: OU=Service Accounts, OU=dc-01, DC=dc-01,DC=drwho,DC=localNew-ADOrganizationalUnit : Directory object not found At C:\Scripts\Create Users Usergroups and OUs in AD.ps1:15 char:13 + New-ADOrganizationalUnit -Name $OUName -Path $OUPath + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (OU=SCCM,OU=Serv...=drwho,DC=local:String) [New-ADOrganizationalUnit], ADIdentityNotFoundException + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Managem ent.Commands.NewADOrganizationalUnit About to add the following OU: MDT to this OUPath: OU=Service Accounts, OU=dc-01, DC=dc-01,DC=drwho,DC=localNew-ADOrganizationalUnit : Directory object not found At C:\Scripts\Create Users Usergroups and OUs in AD.ps1:15 char:13 + New-ADOrganizationalUnit -Name $OUName -Path $OUPath + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (OU=MDT,OU=Servi...=drwho,DC=local:String) [New-ADOrganizationalUnit], ADIdentityNotFoundException + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Managem ent.Commands.NewADOrganizationalUnit About to add the following OU: MBAM to this OUPath: OU=Service Accounts, OU=dc-01, DC=dc-01,DC=drwho,DC=localNew-ADOrganizationalUnit : Directory object not found At C:\Scripts\Create Users Usergroups and OUs in AD.ps1:15 char:13 + New-ADOrganizationalUnit -Name $OUName -Path $OUPath + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (OU=MBAM,OU=Serv...=drwho,DC=local:String) [New-ADOrganizationalUnit], ADIdentityNotFoundException + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Managem ent.Commands.NewADOrganizationalUnit