close to final rev

This commit is contained in:
2026-06-13 00:01:42 -06:00
parent 162bbe9cfa
commit c13e5450fc
2 changed files with 6 additions and 6 deletions
+6 -6
View File
@@ -19,7 +19,7 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S
Write-Host "`nFIXING WINDOWS FULL PRINCESS PI STYLE`n" Write-Host "`nFIXING WINDOWS FULL PRINCESS PI STYLE`n"
Write-Host "ABORTING ANY SCHEDULED SHUTDOWN" Write-Host "ABORTING ANY SCHEDULED SHUTDOWN"
shutdown.exe /a 1> $null 2> $null # cmd abort scheduled shutdowns shutdown.exe /a > $null 2> $null # cmd abort scheduled shutdowns
Write-Host "GENERATING AND DISPLAYING COMPREHENSIVE STABILITY REPORT" Write-Host "GENERATING AND DISPLAYING COMPREHENSIVE STABILITY REPORT"
Start-Process "perfmon.exe" -ArgumentList "/report" -Wait Start-Process "perfmon.exe" -ArgumentList "/report" -Wait
@@ -28,18 +28,18 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S
Start-Process "perfmon.exe" -ArgumentList "/rel" -Wait Start-Process "perfmon.exe" -ArgumentList "/rel" -Wait
Write-Host "CLEARING DNS" Write-Host "CLEARING DNS"
ipconfig.exe /flushsdns 1> $null ipconfig.exe /flushsdns > $null
Write-Host "CLEARING ARP CACHE" Write-Host "CLEARING ARP CACHE"
Remove-NetNeighbor -Confirm:$false 1> $null 2> $null Remove-NetNeighbor -Confirm:$false > $null 2> $null
Write-Host "CLEARING ALL SAMBA CREDENTIALS" Write-Host "CLEARING ALL SAMBA CREDENTIALS"
net.exe use * /delete /y 1> $null 2> $null # nuke all samba creds net.exe use * /delete /y > $null 2> $null # nuke all samba creds
Write-Host "RELEASING AND RENEWING DHCP" Write-Host "RELEASING AND RENEWING DHCP"
# release and renew dhcp # release and renew dhcp
ipconfig.exe /release 1> $null ipconfig.exe /release > $null
ipconfig.exe /renew 1> $null ipconfig.exe /renew > $null
Write-Host "UPDATING MALWARE SIGNATURES" Write-Host "UPDATING MALWARE SIGNATURES"
Update-MpSignature # update windows defender malware siggs Update-MpSignature # update windows defender malware siggs
Executable → Regular
View File