Write-Host "`n=== WINDOWS PHOTOS ==="
Get-AppxPackage -AllUsers Microsoft.Windows.Photos |
Format-List Name,Version,Status,PackageFullName,InstallLocation
Write-Host "`n=== REGISTRATION FOR CURRENT USER ==="
Get-AppxPackage Microsoft.Windows.Photos |
Format-List Name,Version,Status,PackageUserInformation
Write-Host "`n=== WINDOWS BUILD ==="
Get-ComputerInfo |
Select-Object WindowsProductName,WindowsVersion,OsBuildNumber
Write-Host "`n=== RECENT APP ACTIVATION ERRORS ==="
Get-WinEvent -FilterHashtable @{
LogName = 'Microsoft-Windows-TWinUI/Operational'
Level = 2
} -MaxEvents 30 -ErrorAction SilentlyContinue |
Select-Object TimeCreated,Id,Message |
Format-List
Write-Host "`n=== RECENT APPX ERRORS ==="
Get-WinEvent -FilterHashtable @{
LogName = 'Microsoft-Windows-AppXDeploymentServer/Operational'
Level = 2
} -MaxEvents 10 -ErrorAction SilentlyContinue |
Select-Object TimeCreated,Id,Message |
Format-List