0
0
PowerShellscripting~5 mins

Windows features management in PowerShell - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What PowerShell cmdlet is used to list all available Windows features?
The cmdlet <code>Get-WindowsFeature</code> lists all Windows features available on the system, showing their installation state.
Click to reveal answer
beginner
How do you install a Windows feature using PowerShell?
Use Install-WindowsFeature -Name <FeatureName> to install a specific Windows feature by its name.
Click to reveal answer
beginner
What is the PowerShell cmdlet to remove a Windows feature?
The cmdlet <code>Uninstall-WindowsFeature -Name &lt;FeatureName&gt;</code> removes a specified Windows feature from the system.
Click to reveal answer
intermediate
How can you check if a Windows feature is installed using PowerShell?
Run Get-WindowsFeature -Name <FeatureName> and check the Installed property; if it is True, the feature is installed.
Click to reveal answer
intermediate
What parameter allows you to install a Windows feature with all its management tools?
Use the -IncludeManagementTools parameter with Install-WindowsFeature to install the feature along with its management tools.
Click to reveal answer
Which PowerShell cmdlet lists all Windows features and their states?
AGet-FeatureStatus
BInstall-WindowsFeature
CGet-WindowsFeature
DRemove-WindowsFeature
How do you install the 'Web-Server' feature with management tools using PowerShell?
AInstall-WindowsFeature -Name Web-Server -IncludeManagementTools
BInstall-WindowsFeature -Name Web-Server
CAdd-WindowsFeature -Name Web-Server
DEnable-WindowsFeature -Name Web-Server
Which cmdlet removes a Windows feature?
ARemove-WindowsFeature
BUninstall-WindowsFeature
CDelete-WindowsFeature
DDisable-WindowsFeature
What property indicates if a Windows feature is installed when using Get-WindowsFeature?
APresent
BEnabled
CActive
DInstalled
Which command would you use to check the status of the 'Telnet-Client' feature?
AGet-WindowsFeature -Name Telnet-Client
BCheck-WindowsFeature Telnet-Client
CShow-WindowsFeature Telnet-Client
DTest-WindowsFeature Telnet-Client
Explain how to install and verify a Windows feature using PowerShell.
Think about the cmdlets to add and check features.
You got /3 concepts.
    Describe the steps to remove a Windows feature and confirm it is removed.
    Focus on removal cmdlet and verification.
    You got /3 concepts.