Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "active directory"

Active Directory Powershell: Aduser A value for the attribute was not in the acceptable range of values

August 21, 2017 08:02PM

While writing and testing script Active Directory Powershell: Create bulk users from CSV file, Simulating single user creation I came across an error. This error says.

New-ADUser : A value for the attribute was not in the acceptable range of values
At line:1 char:1
+ New-ADUser -Name TestUse…

Read more

Active Directory Powershell: Create bulk users from CSV file

August 19, 2017 11:00PM

Creating bulk multiple user accounts on Active Directory Users and Computers mmc console is very boring and tough task also it is most of the time consuming and error prone tend to be lots of mistakes. If same task is done using automation it will be interesting and happen in less time. Active direc…

Read more

Powershell one liner: Create multiple user accounts

August 9, 2017 10:44PM

I had an opportunity to teach PowerShell Active Directory basics to some of my junior subordinate, Where I wanted them to show few test cases on creating multiple active directory user accounts, After building active directory from scratch, As this was the demo example lab, accounts created  running…

Read more

POWERCLI AND VSPHERE WEB CLIENT: JOIN ESXI INTO ACTIVE DIRECTORY DOMAIN CONTROLLER

July 26, 2017 09:22AM

This is another best security guideline to always join Esxi server into domin, most preferable is Active Directory domain controller, One of the advantage is I can use domain-wide authentication with Domain joined ESXi, Means I don't have to use or share root or any local username to login, Creating…

Read more

ADDING AND CONFIGURING VMWARE VSPHERE VCENTER SSO ACTIVE DIRECTORY AS LDAP SERVER

September 21, 2016 11:09PM

After installing my new vCenter Server in my office every time I was using Administrator@vsphere.local account to login into vCenter server Including my colleagues. (After Installing vCenter server there is default vsphere.local SSO directory service created in PSC (Platform Service Controller), vCe…

Read more

PART 3 : (ADMT) ACTIVE DIRECTORY MIGRATION TOOL REPORTING

August 29, 2016 08:39PM

I did successful migration of Active Directory objects between domain. It was time to create reporting of migrated users and other AD objects, As I had given access to my other colleagues to AD migration, it was necessary to have some reporting in case if there is any mistake to rectify. Reporting c…

Read more

PART1 : INSTALLING ADMT TOOL (ACTIVE DIRECTORY MIGRATION TOOL)

August 22, 2016 09:50AM

Recently I was involved into new child domain creation in Active Directory, and another major task was migrating existing certain Users, Groups, Computers and other objects from Parent root domain to child domain for management delegation purpose. This Users and other AD objects were part of one of …

Read more

POWERSHELL DSC XACTIVEDIRECTORY ERROR - A NETBIOS DOMAIN NAME MUST BE SPECIFIED

June 26, 2016 11:17PM

While testing Powershell DSC (Desired State Configuration) for Active Directory Domain (First Domain Controller) setup I was getting below error constantly.

Verification of prerequisites for Domain Controller promotion failed. A NetBIOS domain name must be specified.
    + CategoryInfo         …

Read more

POWERSHELL: INSTALLING AND CONFIGURING ACTIVE DIRECTORY

June 13, 2016 09:05AM

I have already written few articles on PART 1 : INSTALL ACTIVE DIRECTORY DOMAIN CONTROLLER ON VMWARE WORKSTATION, That was completely GUI (Graphical User Interface) based installation and configuration using server manager, I used it to add AD role and promote it. This article is written for windows…

Read more

PART 2 : CONFIGURE AND PROMOTE ACTIVE DIRECTORY DOMAIN CONTROLLER ON VMWARE WORKSTATION

June 9, 2016 11:56PM

This is second part of PART 1 : INSTALL ACTIVE DIRECTORY DOMAIN CONTROLLER ON VMWARE WORKSTATION, I configured Windows Server 2012 R2, and installed only Active Directory Domain Services role, Now it should be promoted to domain controller. Click Promote this server to a domain controller when you…

Read more

10 Blog Posts