MOTOSHARE 🚗🏍️

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

Powershell Error – The term ‘Install-PSResource’ is not recognized as the name of a cmdlet

Uncategorized

Error

PS C:\WINDOWS\system32> Install-PSResource -Name PSScriptAnalyzer -Reinstall
Install-PSResource : The term 'Install-PSResource' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ Install-PSResource -Name PSScriptAnalyzer -Reinstall
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Install-PSResource:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Solution

Install-PSResource command is part of PowerShellGet Package which need to be installed first.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x