PowerShell core on Photon OS

This post was originally published on this site

I installed Powershell core on a photon 2.0 by >tdnf install powershell    However, I could not use the Install-Module to install stuff from the Powershell gallery. Looks PowershellGet and PackageManagement modules are not installed. Any info about why those are not available?

 

PS /root> $psversiontable

Name                           Value

—-                           —–

PSVersion                      6.0.1

PSEdition                      Core

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.