Category: PowerShell
-
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…
-

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

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

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

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

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

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