Recently I was reading some Advanced Python coding books, I was especially fascinated by the Flask module. This project is an outcome of the same, If similar can be achieved with PowerShell and HTML, I wrote some code in HTML, PHP and PowerShell and it is working well after testing. Here in this pro…
Blog posts : "active directory"
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…
Powershell Add multiple bulk DNS records from csv file
This script is very handy when creating multiple bulk DNS records in the Microsoft DNS server. It is very plain instructions how to use. At the core of this script Add-DnsServerResourceRecordA is the PowerShell cmdlet which is doing the task of creating DNS records.
To use this script create…
Resovled issue with PowerShell - Trust relationship Rejoin computers in domain without restart
While working with The trust relationship between this workstation and the primary domain failed issue on Windows Servers, I used PowerShell cmdlet Test-ComputerSecureChannel and cmd command netdom to resolve the broken AD computer account trust relationship without reboot. Apart from these com…
PowerShell fix repair The trust relationship between this workstation and the primary domain failed
This is the issue I have always seen with Windows Server Administrator. They face below issue a lot in their day to day activities while logging with their domain account. When they login with local account it was successful. The cause of this issue is simple, whenever computer joins into domain the…
Resolved - Install RSAT Tools on Windows Installer encountered an error 0x8024001d
While working on few Active Directory automation tasks I wanted RSAT tools to be installed on one of the VDI to test and write few scripts. From https://www.microsoft.com/en-in/download/details.aspx?id=45520 I downloaded installation files.
While installation I was keep receiving this error…
Connect-AzureAD: One or more errors occurred. Could not load type 'System.Security.Cryptography.SHA256Cng'
While working on AzureAD (Azure Active Directory) with PowerShell module I was received below errors and my scripts where failing. I updated AzureAD module with Update-Module command to latest one but it was still throwing errors. After few testing I checked PowerShell version, it was latest Powe…
Configure vCenter SSO Active Directory (Integrated Windows Authentication) as identity source
I have already written a article on Add a vCenter Single Sign On Identity Source Active Directory (Windows Integrated Authentication), there are 2 ways to configure vCenter SSO with Windows Integrated Authentication, In the earlier article I have shown how to Use Machine Account, and the settings d…
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…
Oneliner Powershell How to Add and Remove AD users and Objects in Groups members
This is one-liner simple and small active directory powershell script to add or remove AD groups members from text file or a single user, I have already written another few articles in this regards as you can find below.
Installing, importing and using any module in powershell
Powershell one li…
Powershell Active Directory 2: Check, enable and disable child OU protect object from accidental deletion
This script is second part of article Powershell Active Directory 1: Check, enable and disable child OU protect object from accidental deletion, In this script I have added enable and disable option, Usage are the same as first script. here is my complete OU hierarchy, There are two newly added …
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…
PowerShell Active Directory: Sync group membership from one user to another user and move to OU
Again I received some good feedback from community, This article is just a next update to my existing script PowerShell: Copy group membership from one user to another user in Active Directory, whose purpose is adding groups on member of tab on destination users and not removing anything. Which was…
PowerShell GUI: Copy group membership from one user to another user in Active Directory
This is a GUI part of my earlier written script PowerShell: Copy group membership from one user to another user in Active Directory. I converted same script to GUI written in WPF language for simplifying task. It requires Source User and Destination users list is loaded from text file. (Text file c…
PowerShell: Copy group membership from one user to another user in Active Directory
In the past, I received multiple emails asking for a script, subject was copying group membership from one user to another user in AD. I thought of writing a reusable script code and so anyone can and use it. Copy groups membership from one user to another user tasks can be lengthy and takes lots of…
Powshell GUI Date and Time converter tool
Recently I was working on a setting and automating a small project, this environment had very limited access to internet because of restrictions, Only required external partner websites were accessible. Users were using change management tool, they had to schedule times for change and company were s…
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 …
Add a vCenter Single Sign On Identity Source Active Directory (Windows Integrated Authentication)
This is a second part of my article How to join vCenter Server appliance to Active Directory, and here I am configuring Identity source on Single sign on. In my one of the previous article ADDING AND CONFIGURING VMWARE VSPHERE VCENTER SSO ACTIVE DIRECTORY AS LDAP SERVER I used AD as ldap server…
Blog Search
Page Views
9698636
Archive
- May 2023 (9)
- April 2023 (4)
- March 2023 (7)
- February 2023 (1)
- January 2023 (1)
- December 2022 (10)
- November 2022 (15)
- October 2022 (15)
- September 2022 (14)
- March 2022 (8)
Comments
-
StingrayMay 6, 2023 12:36AM
-
StingrayMay 6, 2023 12:11AM
-
DemoncleanerApril 26, 2023 08:38PM
-
April 20, 2023 11:11PM
-
reneApril 20, 2023 09:40PM