0
0
PowerShellscripting~5 mins

PowerShell Gallery - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the PowerShell Gallery?
The PowerShell Gallery is an online repository where you can find, share, and install PowerShell modules and scripts easily.
Click to reveal answer
beginner
How do you install a module from the PowerShell Gallery?
Use the command Install-Module -Name ModuleName to download and install a module from the PowerShell Gallery.
Click to reveal answer
beginner
What command lists all available modules in the PowerShell Gallery?
Use Find-Module to search and list modules available in the PowerShell Gallery.
Click to reveal answer
intermediate
How can you update an installed module from the PowerShell Gallery?
Run Update-Module -Name ModuleName to update a module to the latest version from the PowerShell Gallery.
Click to reveal answer
intermediate
What is the purpose of the Publish-Module command?
The Publish-Module command uploads your PowerShell module to the PowerShell Gallery so others can find and use it.
Click to reveal answer
Which command installs a module from the PowerShell Gallery?
AGet-Module
BInstall-Module
CNew-Module
DRemove-Module
How do you search for modules in the PowerShell Gallery?
AFind-Script
BSearch-Module
CGet-Module
DFind-Module
What command updates an installed module to the latest version?
AUpdate-Module
BUpgrade-Module
CInstall-Module
DRefresh-Module
Which command would you use to share your module on the PowerShell Gallery?
APublish-Module
BSend-Module
CUpload-Module
DShare-Module
What is the PowerShell Gallery mainly used for?
ADebugging PowerShell scripts
BRunning PowerShell commands remotely
CSharing and installing PowerShell modules and scripts
DCreating PowerShell GUIs
Explain how to find, install, and update a PowerShell module using the PowerShell Gallery.
Think about the commands you use to search, add, and keep modules current.
You got /4 concepts.
    Describe the steps to publish your own PowerShell module to the PowerShell Gallery.
    Consider what you need to do before and during publishing.
    You got /4 concepts.