PS C:\WINDOWS\system32> Install-Module -Name PoshNmap
PS C:\WINDOWS\system32> Invoke-Nmap
Invoke-Nmap : The term 'Invoke-Nmap' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ Invoke-Nmap
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Invoke-Nmap:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Get-Host | Select-Object Version
Version
-------
5.1.19041.1320
PS C:\WINDOWS\system32> Get-InstalledModule
Version Name Repository Description
------- ---- ---------- -----------
1.4.3 PackageManagement PSGallery PackageManagement (a.k.a. One...
2.2 PowerShellGet PSGallery PowerShell module with comman...
1.0.6.19 SnippetPx PSGallery The SnippetPx module enhances...
2.2 Posh-SSH PSGallery Provide SSH and SCP functiona...
0.6.1 PoshNmap PSGallery A wrapper for NMAP Network Di...