This is a one liner command script to connect to Active Directory and verify user name and password credentials provided. I am using System.DirectoryServices.DirectoryEntry .net object here to connect to LDAP server (In my case it is Active Directory). When you are connected successful with correct…
Blog posts : "domain controller"
Active Directory User Account Password Expiry Email Notification using PowerShell
While working and setting up a new project from scratch, the Helpdesk team wanted a solution to automatically send alert notification to Users about their Accounts password expiring. The notification email format looks like below once password is near defined days in the PowerShell Script. This Powe…
Configuring Secure LDAPs on Domain Controller
After installing and configuring Certification Authority (CA) server, Next step is use it to generate SSL certificate for LDAPS configuration on Domain Controller.
The Lightweight Directory Access Protocol (LDAP) is used to read from and write to Active Directory. By default, LDAP traffic is t…
Powershell Active Directory 1: Check, enable and disable child OU protect object from accidental deletion
This script can be used to check the OU (Organization Unit) protect object from accidental deletion status. it provides other OU related information for reporting and inventory purpose. Inventory is generated using ActiveDirectory powershell module.
This report includes parent OU and all it…
Adding active directory group to computer local administrator Group using Group Policy Object - Part 2
This is the second part of my earlier article Adding user to domain administrators from another cross domain - Part 1 where I setup cross domain trust and added cross domain user to AD administrators group for management purpose. After getting access over acquired company Active Directory domain co…
Adding user to domain administrators from another cross domain - Part 1
I was working on one of the company acquiring project where I wanted to add users from another forest root domain to domain admins, but as Domain admins being global group, group that can be used in its own domain, in member servers and in workstations of the domain, and in trusting domains. In all …
Solved: Esxi server cannot joined into active directory domain
I assigned one task to my junior colleagues to configure authentication services on vmware esxi servers (Join esxi server into domain), They reported to me that they are not able to join few esxi servers in the domain and giving error. They followed correct instructions as shown below from my earlie…
Build a simple email server for home lab using hMailServer and Thunderbird
Since long time I was looking for very small and lightweight email server for my lab, here I have hMailServer is to my rescue, it is very lightweight, opensource and free. It is just 4 MB of setup file, easy to setup and configure. Setup is available on https://www.hmailserver.com/, there is not m…
Oneliner Microsoft Powershell Script Get members list from active directory group in excel
This is my tiny article on gathering members information from active directory groups using windows PowerShell in very easy, I have used one-liner script earlier for creating bulk ad users, This script will get all the members from group and export it to CSV, This is very handy when providing someon…
Configuring a vCenter PSC Single sign-on Active directory Integrated windows authentication
In my one of the earlier article I shown ADDING AND CONFIGURING VMWARE VSPHERE VCENTER SSO ACTIVE DIRECTORY AS LDAP SERVER, That was one of the security best practices, Here I am going to perform the same task but will use Active directory integrated windows authentication way instead. For this fe…
Join domain ESXi to an Active Directory OU : Powercli
I received request from my internal team to provide a small solution on Esxi Domain join and created when pulled it in domain computer account should be created in specific OU (Organization Unit). To perform this task first, we need complete OU path, to find it open Active Directory Users and Comp…
Resolved: Esxi Join domain failed-Error in Active Directory Operations
This is some times common, you document something and if don't implement it or use something since long, you might forget knowledge or the issues you resolved earlier. I was automating join domain ESXi servers, while trying joining I was keep getting error: Errors in Active directory operations. I a…
Powershell Active Directory: Show treeview of User or Group memberof hierarchy
After going through many testing and successfully streamlining most of the Users and Groups member of in active directory environment using Powershell Active Directory: List complete hierarchy of upstream nested groups recursively of User. I was still facing some of the issues, Earlier script was no…
Powershell one liner: Create multiple user accounts
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…
PART 2 : CONFIGURE AND PROMOTE ACTIVE DIRECTORY DOMAIN CONTROLLER ON VMWARE WORKSTATION
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…
Blog Search
Page Views
12063596
Archive
- October 2024 (2)
- September 2024 (12)
- August 2024 (22)
- July 2024 (11)
- June 2024 (1)
- May 2024 (3)
- April 2024 (5)
- November 2023 (1)
- September 2023 (6)
- July 2023 (15)
Comments
-
NeoModJuly 30, 2024 11:14PM
-
RogerJuly 22, 2024 10:13PM
-
DonJune 28, 2024 11:29PM
-
visamanxJune 25, 2024 01:30AM
-
AdamJune 14, 2024 01:37AM