Where Do Installed PowerShell Modules Go on Rocky Linux?

0
18
Asked By CleverLizard27 On

I've been trying to get the 'powershell-yaml' module to work on my PowerShell Core installation on Rocky Linux. After installing it, I still can't find it when running PowerShell as root. Where should I look to import it, and what do I need to do to ensure it shows up properly?

1 Answer

Answered By SunnySocks12 On

To make sure the module is available for all users, including root, you need to install it with the `AllUsers` scope. That way, you won’t have to install it separately for each user.

CrystalStar99 -

I installed it that way, but it still doesn’t show up in my Get-Modules list. Is there something else I need to do? Also, now I’m facing issues with my other scripts, trying to get the atomic redteam script running, and it’s just causing a lot of headaches.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

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