Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Get-AppxPackage -AllUsers
- #SYNTAX TO REMOVE AN APP
- #Get-AppxPackage SampleAppName | Remove-AppxPackage
- #START
- Get-AppxPackage Microsoft.windowscommunicationsapps | Remove-AppxPackage
- Get-AppxPackage king.com.CandyCrushSaga | Remove-AppxPackage
- Get-AppxPackage king.com.CandyCrushFriends | Remove-AppxPackage
- Get-AppxPackage Microsoft.Office.OneNote | Remove-AppxPackage
- Get-AppxPackage Microsoft.MicrosoftOfficeHub | Remove-AppxPackage
- Get-AppxPackage Microsoft.OneConnect | Remove-AppxPackage
- Get-AppxPackage Microsoft.SkypeApp | Remove-AppxPackage
- Get-AppxPackage Microsoft.Office.Desktop | Remove-AppxPackage
- Get-AppxPackage Microsoft.WindowsFeedbackHub | Remove-AppxPackage
- Get-AppxPackage AD2F1837.HPJumpstart | Remove-AppxPackage
- Get-AppxPackage AD2F1837.HPSystemInformation | Remove-AppxPackage
- Get-AppxPackage AD2F1837.HPPowerManager | Remove-AppxPackage
- Get-AppxPackage AD2F1837.HPPCHardwareDiagnosticsWindows | Remove-AppxPackage
- Get-AppxPackage 7EE7776C.LinkedInforWindows | Remove-AppxPackage
- #Uninstall Device Manager First
- $HPDeviceManager = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "HP Device Access Manager" }
- $HPDeviceManagerID = $HPDeviceManager.properties["IdentifyingNumber"].value.toString()
- MsiExec.exe /norestart /q/x $HPDeviceManagerID REMOVE=ALL
- #Uninstall HP Client Security Manager
- $HPClientSecurityManager = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "HP Client Security Manager" }
- $HPClientSecurityManagerID = $HPClientSecurityManager.properties["IdentifyingNumber"].value.toString()
- MsiExec.exe /norestart /q/x $HPClientSecurityManagerID REMOVE=ALL
- #Uninstall HP Client Support Assistant
- $HPSupportAssistant = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "HP Support Assistant" }
- $HPSupportAssistantID = $HPSupportAssistant.properties["IdentifyingNumber"].value.toString()
- MsiExec.exe /norestart /q/x $HPSupportAssistantID REMOVE=ALL
- #Uninstall HP Notifications
- $HPNotifications = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "HP Notifications" }
- $HPNotificationsID = $HPNotifications.properties["IdentifyingNumber"].value.toString()
- MsiExec.exe /norestart /q/x $HPNotificationsID REMOVE=ALL
- #Uninstall HP JumpStart Bridge
- $HPJumpStartBridge = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "HP JumpStart Bridge" }
- $HPJumpStartBridgeID = $HPJumpStartBridge.properties["IdentifyingNumber"].value.toString()
- MsiExec.exe /norestart /q/x $HPJumpStartBridgeID REMOVE=ALL
- #Uninstall HP JumpStart Launch
- $HPJumpStartLaunch = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "HP JumpStart Launch" }
- $HPJumpStartLaunchID = $HPJumpStartLaunch.properties["IdentifyingNumber"].value.toString()
- MsiExec.exe /norestart /q/x $HPJumpStartLaunchID REMOVE=ALL
- #Uninstall HP MAC Address Manager
- $HPMACAddressManager = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "HP MAC Address Manager" }
- $HPMACAddressManagerID = $HPMACAddressManager.properties["IdentifyingNumber"].value.toString()
- MsiExec.exe /norestart /q/x $HPMACAddressManagerID REMOVE=ALL
- #Uninstall HP Sure Click
- $HPSureClick = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "HP Sure Click" }
- $HPSureClickID = $HPSureClick.properties["IdentifyingNumber"].value.toString()
- MsiExec.exe /norestart /q/x $HPSureClickID REMOVE=ALL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement