TOC
Summary
The other day, I installed the connection app with GUI.
In this post explains install it from the command line.
Prerequisites
- Windows 21H1
- Require administrative access
- Require internet access
- PowerShell v5.1
> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.19041.1320
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.1320
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Steps
Open PowerShell prompt as administrator.
Then enter the following command:
> Get-WindowsCapability -Online | ? Name -Match "WirelessDisplay"
Name : App.WirelessDisplay.Connect~~~~0.0.1.0
State : Installed
If you install a feature, try the following command:
> Add-WindowsCapability -Online -Name 'App.WirelessDisplay.Connect~~~~0.0.1.0'
Path :
Online : True
RestartNeeded : False
If you uninstall a feature, try the following command:
> Remove-WindowsCapability -Online -Name 'App.WirelessDisplay.Connect~~~~0.0.1.0'
Path :
Online : True
RestartNeeded : False
If you offline install, check below posts:
Capability name is here: