Patrick J Burwell’s Latest Resume-SrEngineerClick to Download

An IT engineering family’s journey…

  • Step-by-Step Procedure to Analyze Group Policies

    …be careful to be confident

  • PWSH: Get-Latest-WinEvent-Prompted-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)

  • GPOs: List-GPOs-EnabledandLinked-AndBackup

    GPOs: List-GPOs-EnabledandLinked-AndBackup

    How to backup the Group Policies you are actually using

  • Easy Windows 11 Upgrade

    Easy 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

    Use ISE in PS7

    This is so easy you’re gonna spit…

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

  • Step-by-Step Guide to Troubleshooting Windows Server 2016 Active Directory Replication Issues

    Step 1: Verify Replication Status 1. Open Command Prompt as an administrator. 2. Run the command:    This command provides a summary of the replication status across all domain controllers. Step 2: Check Event Logs 1. Open Event Viewer. 2. Navigate to Applications and Services Logs > Directory Service. 3. Look for any errors or…

  • 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’

  • Get ESXi Details

    ‘ESXI-Details.ps1’#Set Cleanuprm -force -verbose d:\PowerShell\reports\ESXIHostDetails.txt#Set ESXIHosts from this script below:#. D:\powershell\Set-ESXiHosts.ps1$ESXIHosts = gc D:\powershell\input\ESXIHosts.txt#$ESXIHosts.count# Connect to each vCenter server#Set Headers‘ESXIHostDetailComputerName,ESXIHostDetailIP’|out-file -Append -Encoding ascii d:\PowerShell\reports\ESXIHostDetails.txtforeach($ESXIHost in $ESXIHosts){ # Test network connection to vCenter server $ESXIHostDetail = Test-NetConnection $ESXIHost -ea Stop |select -Unique -Property ComputerName, RemoteAddress if($ESXIHostDetail -is $Null){continue} # Extract required information from network connection details…

  • Recurse with Grep (SLS in PS 5.1)

    Recurse with Grep (SLS in PS 5.1)

    The diffculty at finding this was unnecessary Linux guys… sheesh! The first line shows how to recurse a sls/grep search in Powershell for specific content of PS scripts, in subdirectories, not the .\, while the second line gives an example on how to get the list you can then call a program against, like ISE…

Got any book recommendations?


Excellent, Handy Little book!

Who We Are