Tag: 2019
-

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.
-

Upgrade to PWSH Without Being Destructive (even for DCs)
-

PWSH: Get-Latest-WinEvent-Prompted-DCs
This is a VERY useful script that prompts for RWDC or RODCs, prompt to specify EventIDs or just get the last event on each DC, and refactored with Microsoft CoPilot 4 for locations where WinRM is disabled, using Invoke-Command (Enter-PSSession)
-

Use ISE in PS7
This is so easy you’re gonna spit… #-OR-#Just type ‘powershell_ise’ at the PWSH.exe prompt with the path\script name to edit in ISE
-
Step-by-Step Procedure to Analyze Group Policies
…be careful to be confident
-
Confirm Windows Server In-place Upgrade to 2025
From 4SysOps: Confirm Windows Server in-place upgrade to 2025 Current version Upgrade to Windows Server 2025? Windows Server 2012 ❌ No Windows Server 2012 R2 ❌ No Windows Server 2016 ✅ Yes Windows Server 2019 ✅ Yes Windows Server 2022 ✅ Yes https://4sysops.com/archives/check-the-windows-server-version-to-determine-if-an-in-place-upgrade-to-server-2025-is-supported
-

Remove Revoked Certificates
The removal of revoked certificates is not automatic…
-

Set PS 5.1 to use PS 7 PSModulePath
…might as well prepare by using the D:\PowerShell path now with PS 5.1…
-

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”
-

Locate Pervasive Lockouts of AD Accounts
You can use PowerShell to search the Security event log for lockout events…
-

PowerShell: Install ActiveDirectory Easily
I have found this make installing the ActiveDirectory Module FAR easier.Quick.Painless.
-

Windows Server 2019 Safe_OS Error Correction Poll
…did you just bail to a new build?
