Archive | Active Directory RSS feed for this section
-
What Happened to My Managed Service Accounts Container?
In Windows Server 2008 R2 Active Directory (AD), Microsoft introduced managed service accounts. If you create a new AD domain with Windows Server 2008 R2 or later, when you look in Active Directory Us
-
Find Services Using a Domain Account on Specified Computers in Microsoft Active Directory (Get-ServiceAccounts V1.20)
January 19, 2021
Comments Off on Find Services Using a Domain Account on Specified Computers in Microsoft Active Directory (Get-ServiceAccounts V1.20)
#Version 1.20 19-Jan-2021 Added creating a CSV file Changed to create an object instead of text Added switch UseDcom to change from using TCP port 139 for testing connections to port 5985 (WinRM 2
-
Update Active Directory DNS Reverse Lookup Zones from Sites and Services Subnets (Update-ReverseZonesFromSubnets.ps1 V1.10)
April 29, 2020
Comments Off on Update Active Directory DNS Reverse Lookup Zones from Sites and Services Subnets (Update-ReverseZonesFromSubnets.ps1 V1.10)
#Version 1.10 29-Apr-2020 Cleaned up some code and typos driving my OCD up the wall Reformatted the terminating Write-Error messages to make them more visible and readable in the console I put this
-
Find Services Using a Domain Account on Specified Computers in Microsoft Active Directory (Get-ServiceAccounts V1.10)
April 29, 2020
Comments Off on Find Services Using a Domain Account on Specified Computers in Microsoft Active Directory (Get-ServiceAccounts V1.10)
#Version 1.10 29-Apr-2020 Add email capability to match other scripts Update Help Text with examples Add ScriptInfo Parameter Add code to show Script Options and write out Script Info file Chan
-
Microsoft Active Directory Health Check PowerShell Script Version 2.08
April 28, 2020
#Version 2.08 8-May-2020 Add checking for a Word version of 0, which indicates the Office installation needs repairing Change color variables $wdColorGray15 and $wdColorGray05 from [long] to [int] Ch
-
New Script: Update Active Directory DNS Reverse Lookup Zones from Sites and Services Subnets (Update-ReverseZonesFromSubnets.ps1)
April 20, 2020
While Active Directory (AD) does not need DNS Reverse Lookup Zones, most Citrix and VMware products do. If you are visiting my website, you probably use Citrix and VMware products. If you have heard
-
Bart Jacobs’s Toolbox: CopyADGroupMembers
March 20, 2020
Comments Off on Bart Jacobs’s Toolbox: CopyADGroupMembers
Another easy, simple addition to my toolbox: a PowerShell script to copy group members from one AD group to another. Why? Because I recently needed to do precisely that: after having created a new AD
-
CUGC DC 10+ Things in Active Directory
February 27, 2020
Comments Off on CUGC DC 10+ Things in Active Directory
Greetings, Here is a PDF of the presentation from February 27, 2020, for the Washington, DC Citrix Users Group. You can always find the most current PDF by going to https://www.carlwebster.com/where-
-
New Script: Find Services Using a Domain Account on Specified Computers in Microsoft Active Directory (Get-ServiceAccounts V1.00)
December 19, 2019
Comments Off on New Script: Find Services Using a Domain Account on Specified Computers in Microsoft Active Directory (Get-ServiceAccounts V1.00)
One of the questions asked when I am either doing Active Directory (AD) remediation work or preparing a customer for an AD migration is “what domain accounts are used by what services and on wha
-
Get-GPOBackupAndReports PowerShell Script V1.23
September 12, 2019
Comments Off on Get-GPOBackupAndReports PowerShell Script V1.23
#Version 1.23 12-Sep-2019 Add a Rename parameter switch. (Thanks to Jani Kohonen for this suggestion) If a GPO name contains any of the following characters, <>:”\/|?*, replace the charac
-
Get-GPOBackupAndReports PowerShell Script V1.22
April 24, 2019
Comments Off on Get-GPOBackupAndReports PowerShell Script V1.22
#Version 1.22 24-Apr-2019 Fixed bug when a GPO had been linked multiple times. The script counted all the GPOs, even the duplicates. Added -Unique to the Sort. If a GPO was linked ten times, the scri
-
Get-GPOBackupAndReports PowerShell Script V1.20
March 29, 2019
Comments Off on Get-GPOBackupAndReports PowerShell Script V1.20
The original purpose of this script was to backup and report on all Group Policy Objects (GPOs) in an Active Directory (AD) domain. That worked well for small domains, but recently I have worked with
-
How To Hide Additional Drive Letters On A Server Updated for ADMX/ADML
August 9, 2018
Back in June 2009, I wrote the original How To Hide Additional Drive Letters article. Recently, someone asked me how to do the same task but with an ADMX file instead of ADM. Following the original e
-
Error 9611 DNS_ERROR_INVALID_ZONE_TYPE When Attempting to Configure a Microsoft DNS Scavenging Server
July 20, 2018
Comments Off on Error 9611 DNS_ERROR_INVALID_ZONE_TYPE When Attempting to Configure a Microsoft DNS Scavenging Server
I have been working with Microsoft Active Directory (AD) since July 2001 and doing AD Health Checks since September 2003. One item I have done hundreds of times, failed on me yesterday during an AD re
-
Removing Remote Installation Services User Settings from the Default Domain Policy
July 19, 2018
I do a LOT of Active Directory (AD) Health Checks. One of the things I look for are User Settings in the Default Domain Policy. Why? Because Microsoft says only four groups of settings should be conf
-
10 Things in Active Directory – 2018 Edition Webinar
June 11, 2018
Comments Off on 10 Things in Active Directory – 2018 Edition Webinar
Greetings, If you attended my webinar presented, thanks for being there. This presentation is based on the original presentation presented at Citrix Synergy 2012 in San Francisco and then numerous oth
-
Get-GPOBackupAndReports PowerShell Script V1.10
June 1, 2018
Comments Off on Get-GPOBackupAndReports PowerShell Script V1.10
#Version 1.10 1-Jun-2018 Add Parameter MaxZipSize (in MBs) [default is 150 MB] Test combined size of the two Zip files created to see if <= to MaxZipSize If > MaxZipSize, do not attempt the em
-
Get-GPOBackupAndReports PowerShell Script V1.00
May 1, 2018
Some of you know that I do a lot of work with Active Directory and Group Policy (GPO). I needed a script that would: Backup all GPOs in a domain Give me HTML and XML reports for all those GPOs Zip up
-
PowerShell One-Liner for Finding Users with a Home Drive Configured in Active Directory Users and Computers
November 28, 2017
On a recent project, I needed to generate a report of all users who had a Home Drive configured on the Profile tab in Active Directory Users and Computers (ADUC). Something most IT Pros do not know i
-
Finding Microsoft Folder Redirection Errors Using Microsoft PowerShell V2.0
May 18, 2017
Comments Off on Finding Microsoft Folder Redirection Errors Using Microsoft PowerShell V2.0
About a year ago, I released V1.0 of this script and stated if I ever found the time I would update it to not require XenApp 6.5. Finally, I took the time between customer calls to update this script
January 26, 2021
12 Comments