PowerShell

Code snippets and useful commands for Microsoft PowerShell
Windows

Remove default APPX apps (Windows 10)

List of default apps that can/should be removed. 3D Environment: Get-appxpackage -allusers *Microsoft.3dbuilder* | Remove-AppxPackage Get-appxpackage -allusers *Microsoft3DViewer* | Remove-AppxPackage Microsoft Defaults: Get-appxpackage -allusers *king.com.CandyCrushSodaSaga* | Remove-AppxPackage Get-appxpackage -allusers *Microsoft.WindowsFeedbackHub* | Remove-AppxPackage Get-appxpackage -allusers *Microsoft.ZuneMusic* | Remove-AppxPackage Get-appxpackage -allusers *Microsoft.BingNews* | Re
1 min read
PowerShell

Check Exchange 2010 Internal and External URL configuration

A quick list of commands to show the URL configuration, remember use the Exchange PowerShell commands: Get-ActiveSyncVirtualDirectory | ft server,*lur* -AutoSize Get-AutodiscoverVirtualDirectory | ft server,*lur* -AutoSize Get-ClientAccessServer | ft name, *lur* -AutoSize Get-EcpVirtualDirectory | ft server,*lur* -AutoSize Get-OabVirtualDirectory | ft server,*lur* -AutoSize Get-OwaVirtualDirectory | ft server,*lur* -AutoSize Get-WebServicesVirtualDirectory | ft server,*lur*