New to PS and trying to follow along a tutorial which runs the Get-NetFirewallRule command. Seems I do not have the module installed. After searching it seems this is part of the NetSecurity packages, but I do not have this package installed. Attempted to install it, but it failed. Looking for guidance on what to do next?
PS H:> Get-Module NetSecurity -ListAvailable
PS H:> Install-Module NetSecurity
PackageManagement\Install-Package : No match was found for the specified search criteria and module name ‘NetSecurity’. Try
Get-PSRepository to see all available registered module repositories.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1772 char:21
PS H:> Install-Module RSAT
PackageManagement\Install-Package : No match was found for the specified search criteria and module name ‘RSAT’. Try Get-PSRepository
to see all available registered module repositories.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1772 char:21