This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I can see you type., | |
| I put the STD in STUD all I need is you., | |
| I like the way you stare at my screen., | |
| No, I will not make out with you!, | |
| What we have here is a failure to communicate., | |
| The more you weigh the harder you are to kidnap. Stay safe, eat cake., | |
| I bet its called almond milk because no one can say nut juice with a straight face., | |
| I dont think inside the box. I dont think outside the box either. I dont even know where the box is., | |
| If were not meant to have midnight snacks why is there a light in the fridge., | |
| Im actually not funny, im just mean and people think im joking., |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #search and list all missing Drivers | |
| $Session = New-Object -ComObject Microsoft.Update.Session | |
| $Searcher = $Session.CreateUpdateSearcher() | |
| $Searcher.ServiceID = '7971f918-a847-4430-9279-4a52d1efe18d' | |
| $Searcher.SearchScope = 1 # MachineOnly | |
| $Searcher.ServerSelection = 3 # Third Party | |
| $Criteria = "IsInstalled=0 and Type='Driver' and ISHidden=0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try { | |
| new-NetQosPolicy -Name "Dialpad RTP" -AppPathNameMatchCondition "Dialpad.exe" -IPProtocolMatchCondition UDP -IPSrcPortStartMatchCondition 16384 -IPSrcPortEndMatchCondition 32768 -DSCPAction 46 -NetworkProfile All | |
| } | |
| catch { | |
| {1: New-Item -Path "C:\IT" -Name "log.txt" -ItemType file -Value "Qos policy for port 16384 failed" <#Do this if a terminating exception happens#>} | |
| } | |
| try { | |
| new-NetQosPolicy -Name "Dialpad SIP" -AppPathNameMatchCondition "Dialpad.exe" -IPProtocolMatchCondition TCP -IPSrcPortStartMatchCondition 443 -IPSrcPortEndMatchCondition 443 -DSCPAction 26 -NetworkProfile All | |
| } | |
| catch { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try { | |
| new-NetQosPolicy -Name "Teams Audio" -AppPathNameMatchCondition "Teams.exe" -IPProtocolMatchCondition Both -IPSrcPortStartMatchCondition 50000 -IPSrcPortEndMatchCondition 50019 -DSCPAction 46 -NetworkProfile All | |
| } | |
| catch { | |
| {1: New-Item -Path "C:\IT" -Name "log.txt" -ItemType file -Value "Qos policy for port 50000 failed" <#Do this if a terminating exception happens#>} | |
| } | |
| try { | |
| new-NetQosPolicy -Name "Teams Video" -AppPathNameMatchCondition "Teams.exe" -IPProtocolMatchCondition Both -IPSrcPortStartMatchCondition 50020 -IPSrcPortEndMatchCondition 50039 -DSCPAction 34 -NetworkProfile All | |
| } | |
| catch { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $source = "https://github.com/TimLeitch/usefulsoftware/raw/main/BleachBit-4.4.2-portable.zip"; | |
| $destination = "C:\Temp\BleachBit.zip"; | |
| Invoke-WebRequest -Uri $source -OutFile $destination | |
| Expand-Archive $destination -DestinationPath c:\Temp\BleachBit | |
| $args = "--clean","adobe_reader.cache","adobe_reader.tmp","firefox.dom","firefox.cache","firefox.cookies","firefox.crash_reports", | |
| "flash.cache","flash.cookies","google_chrome.cache","google_chrome.cookies","google_chrome.vacuum","google_earth.temporary_files", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Silent Install Dell Support Assist | |
| # https://downloads.dell.com/serviceability/catalog/SupportAssistInstaller.exe | |
| # Path for the workdir | |
| $workdir = "c:\temp\" | |
| $DellSAInstalled = Test-Path -Path "C:\Program Files\Dell\SupportAssistAgent" | |
| If ($DellSAInstalled){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $AppsList = | |
| 'Microsoft.3DBuilder', | |
| 'Microsoft.BingFinance', | |
| 'Microsoft.BingNews', | |
| 'Microsoft.BingSports', | |
| 'Microsoft.MicrosoftSolitaireCollection', | |
| 'Microsoft.People', | |
| 'Microsoft.Windows.Photos', | |
| 'Microsoft.WindowsCamera', | |
| 'microsoft.windowscommunicationsapps', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Detect 32/64 bit windows | |
| $source = "http://www.technosys.net/download.aspx?file=syspin.exe"; | |
| $destination = "c:\Temp\syspin.exe"; | |
| #Check if the installer is in the folder. If installer exist, replace it | |
| If ((Test-Path $destination) -eq $false) { | |
| New-Item -ItemType File -Path $destination -Force | |
| } | |
| #install software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Write-Host "Closing Teams in order to clear cache" | |
| try{ | |
| Get-Process -ProcessName Teams | Stop-Process -Force | |
| Start-Sleep -Seconds 5 | |
| Write-Host "Teams is now closed" | |
| } | |
| catch{ | |
| echo $_ | |
| } | |
| # Now clean temp file locations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $source = "https://download.revouninstaller.com/download/RevoUninstaller_Portable.zip"; | |
| $destination = "c:\Temp\Revo_Portable.zip"; | |
| $ProgressPreference = 'SilentlyContinue' | |
| Invoke-WebRequest $source -OutFile $destination | |
| Expand-Archive $destination C:\Temp\Revo | |
| Start-Process -FilePath C:\Temp\Revo\RevoUninstaller_Portable\RevoUPort.exe -wait | |
| Remove-Item -Recurse -Path C:\Temp\Revo | |
| Remove-Item -Recurse -Path C:\Temp\Revo_Portable.zip |
NewerOlder