PowerShell - Clean up the Windows installer folder
1 min read · Updated 8 July 2022
Hello,
I had already posted an article about the c:\windows\installer folder in Windows:
https://www.altf4-formation.fr/en/how-to-clean-windows-installer-folder
It is also possible to do this in PowerShell using the MSIPatches module:
https://github.com/markkerry/MSIPatches
# Install moduleInstall-Module -Name MSIPatches
# Display patch informationGet-MsiPatch
# List orphaned packagesGet-OrphanedPatch
# It is advisable to save (move in this case) orphaned filesGet-OrphanedPatch | Move-OrphanedPatch -Destination D:\Backup_Installer
# Delete files directlyGet-OrphanedPatch | Remove-ItemRelated links
- PowerShell
PowerShell - Simply send objects to different variables
PowerShell - Tip - Simply send objects to different variables
1 min read
- PowerShell
PowerShell - Testing network connectivity and port accessibility
Testing network connectivity and port accessibility with PowerShell
2 min read
- PowerShell
PowerShell - Display network connections (equivalent to netstat)
Display network connections (listening ports, active connections...)
2 min read
- PowerShell
PowerShell - Testing name resolution (equivalent to nslookup)
PowerShell commands to test name resolution (equivalent to nslookup)
2 min read
- PowerShell
PowerShell - View and manage DNS configuration of network interfaces
PowerShell commands to display and manage DNS configuration of network interfaces
4 min read
- PowerShell
PowerShell - Managing IP configuration of network interfaces
PowerShell commands to view and modify the IP configuration of network interfaces
4 min read