Category: ActiveDirectory
-
PS ISE PROFILE
-

Step-by-Step Guide to Troubleshooting Windows Server 2016 Active Directory Replication Issues
To force replication, run the command: repadmin /syncall /e /d /A /P
-

THANK YOU KEVIN BROWN
http://rtsnetworking/demo Kevin is the consummate professional Windows, Azure, AWS, Cisco, Security Instructor!WOW have we learned allot from him! -Patrick and Ryan Burwell
-

Microsoft: Standardize PS Modules Development By Using Versioned Sub-Folders
This strategy could be instrumental in fostering a more modular and resilient PowerShell ecosystem.
-

Find Password Change Source
CoPIlot suggests these changes: Centralized error handling Instead of inline try/catch with Write-Warning, capture failures into a structured object so you can see which DCs failed and why. Timeouts and fallbacks Get-WinEvent can hang if RPC is flaky. Use Invoke-Command with -AsJob or Parallel to query DCs concurrently, with a timeout per job. That way…
-

Remote PWSH Session with PSEXEC64
You have installed PWSH (PS7) and have the path. You try to ‘enter-pssession’ and that’s when discover a remote session with PWSH shell will not work without being set native on the server operating system. But you can always use a remote PWSH session using PSEXEC64.
-

Enable AD RDC Rules on Domain Controllers
-
Step-by-Step Procedure to Analyze Group Policies
…be careful to be confident
-

Check for GPO or run GPupdate Remotely
This script does lots of things that are handy when group policy (SysVol) replication is a problem… (like an environment still using FRS) My Thanks to Microsoft’s CoPilot for the help in sorting the logic of the try-else-catch commands…
-

Update ADSS Subnets
The real advantage of this script is the ability it gives you to update your ADSS subnets quickly #Import the Active Directory moduleImport-Module ActiveDirectory -NoClobber -DisableNameChecking -Scope Local#Import the CSV with headers$csvData = Import-Csv -Path D:\powershell\input\subnets.csv#Checks for any count and breaks if not $nullif(!($csvData.Count)){break}#Loop through each row in the CSVforeach ($row in $csvData) {#Get the…
-

Get-ADGroup WildCard is BROKEN
In the past (2018) you could use ‘like’ on Get-adgroup, like this:
-

PS Script to Promote 2019 Server to RWDC
Add-WindowsFeature -Name “AD-Domain-Services” -IncludeManagementTools:$False -Confirm -ea Inquire -LogPath “C:\Users\$env:username\Documents\WindowsPowerShell\log\$day-RWDCPromo.log”
-

Gpupdate Latency Errors Lookup Script
I cannot TELL you how hard this was to write. Holy smokes the help on this is terrible.
-

Install Any Command Easily in PowerShell
That’s how you would install ANY module for a command you need. Now TELL me that’s not convenient!