Posted On October 10, 2020

PowerShell: 1-Liner to Install Windows Photo Viewer for Windows 10

kimconnect 5 comments
blog.KimConnect.com >> Windows >> PowerShell: 1-Liner to Install Windows Photo Viewer for Windows 10

I’ve thought that Windows Photo Viewer is a nicely optimized and lightweight program to preview photos. As it has been disabled by default on certain versions of Windows 10, this quick cmdlet should bring it back in a jiffy:

Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

5 thoughts on “PowerShell: 1-Liner to Install Windows Photo Viewer for Windows 10”

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Sendmail Batch File

1. Download: 2. Place it in C:\Windows\System32   sendmail.bat --------------------------- senditquiet.exe -s smtp.gmail.com -port 587…

PC / Laptop Setup Steps

Baseline Machine1. Hard drive partitionsa. Operating System shall be installed on C:\WINDOWSb. Applications shall be…

PowerShell: Get Available RAM Slots

# getRamSlotsAvailable.ps1 $computername=$env:computername function getRamSlotsAvailable{ param($computername=$env:computername) write-host "Computer name: $computerName" $slots = Get-WmiObject -Class "win32_PhysicalMemoryArray"…