An IT engineering family’s journey…
-

Scheduled Local Admin
You could also change the duration to hours with (Get-Date).AddHours($durationInHours)
-

Get Uptime Remotely for Windows Operating System
-

The End of Cheap Cloud Computing?
Did you really think letting someone else manage your security was the answer? What is missing in this Petri article, ‘Free Microsoft Identity Tools Increasing Risk‘, the blog posting that presents the problem many have with Cloud security, from a survey Petri.com ran, is the answer to the problems presented. Their Key Takeaways from the…
-
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
-
Use a Header on your Scripts
I know, it sounds silly we have to say this, but use a header on your scripts or you will lose track of the development path… As you can see, having a header helps keeps track of when you created the script, gives your client details on who made the script, so they can reach…
-

HOWTO move an ESXi host from one vCenter to another
Storage Configuration: Ensure that datastores are accessible by the ESXi host and are compatible with the new vCenter.
-

Get Print Server Printer IPs Remotely
[Here you could add a line to call excel, like “‘start excel $excelFilePath”]
-

Read a Linux Conf File Easily
The way to read a conf file without all the remarked lines.As Kevin Brown of Udemy.com likes to say:
-

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

Microsoft Hands-On-Labs
Microsoft’s Hands On Labs are here:https://learn.microsoft.com/en-us/training/?WT.mc_id=sitertzn_homepage_learn-redirect-handsonlabs …scroll to the bottom.Why build your own expensive lab when you can practice for free here? THANK YOU KEVIN BROWN:http://rtsnetworking/demo
-

PowerShell Module Bloat
#PLEASE GOD, Microsoft, USE STANDARDS in your PowerShell module development ..
-

$ENV:Temp use is best in PS scripting, not ‘C:\Temp’
…et tu’ CoPIlot Microsoft???
-

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…
-
Weight Loss Math
⚖️ Weight Loss Math
-

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

Upgrade Windows 11 at Home
-

Update and Restart System
Something I was playing with to ensure my system updates every day, so I run this at the end of the day…
-

Fix the SoftwareDistribution Folder
“ensure your windows update works ”
-

Enable AD RDC Rules on Domain Controllers
-

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

GPOs: List-GPOs-EnabledandLinked-AndBackup
How to backup the Group Policies you are actually using
-

Easy(er) Windows 11 Upgrade
1. Install kb50626912. Reboot3. Run Windows11InstallationAssistant.exe If you get a TPM error you need a new system
-

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
-
Repeating Rows in Excel
In excel 2016 how do I repeat the top row(s) on the print out? To have the first (or any) row repeat at the top of every printed page in Excel 2016, do the following: Now when you print (File → Print or Ctrl+P), row 1 will appear at the top of every page.
-
Install PowerCli from PS 5.1 Shell
‘Install-PowerCLI-2.ps1’#Install DOTNet Framework 4.7.2 first#Get DotNet Framework Install here and put in $ENV:USERPROFILE\downloads#”https://support.microsoft.com/en-us/topic/microsoft-net-framework-4-7-2-offline-installer-for-windows-05a72734-2127-a15d-50cf-daf56d5faec2″$url = “https://go.microsoft.com/fwlink/?linkid=863265″$output = “$ENV:UserProfile\Downloads\dotnet-framework-installer.exe” Invoke-WebRequest -Uri $url -OutFile $output #>. $ENV:USERPROFILE\downloads\\NDP472-KB4054530-x86-x64-AllOS-ENU.exe /q /norestart’Wait for the task to finish – watch with tasklist”…and then run this”Install-module -force -Name VMware.PowerCLI -AllowClobber -SkipPublisherCheck -AcceptLicense -AllowPrerelease|Out-Null”Import-Module VMware.PowerCLI -PassThru -FORCE -Verbose|Out-null”Update-module VMware.PowerCLI -Force -Verbose -PassThru|Add-PSSnapin’
-
Step-by-Step Procedure to Analyze Group Policies
…be careful to be confident
-

Check-WinEvents-Prompted.ps1
‘Check-WinEvents-Prompted.ps1’ #************************************************************************************************************* # Script Name : Get-Latest-WinEvent-Prompted-DCs # Purpose : Check Latest Event log for DCs chosen # Date : #.\Get-UpdateDate.ps13:32 PM 3/13/2024 # – Initial version # Date : #.\Get-UpdateDate.ps11:12 PM 3/14/20244 # – Updated to reflect specific events, added credentials, added prompts # Author : Patrick Burwell #************************************************************************************************************* #Set location first set-location D:\PowerShell…
