Thursday, April 27, 2023

Install PowerShell using winget

(Formerly PowerShell Core) PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.

To install PowerShell on Windows using winget, do:
PS C:\>winget install Microsoft.PowerShell
Note:
To install winget on Windows 2022 follow this link.

No comments:

Test Code

netsh advfirewall firewall add rule name = "RPC Endpoint Mapper" dir = in action = allow protocol = TCP localport = 135 ...