Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

networktestingcompanion

Status
Not open for further replies.

Joe King

Technical User
Feb 22, 2017
105
GB
Hi
PS newbie so..
I'm learning MS Teams. From my study book it says run this cmd in PS
"Install-Module -Name NetworkTestingCompanion

it says no match can be found. Any help please.

this is my PS info

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
 
Check the repository with

[tt]Get-PSRepository[/tt]

If you get:

[tt]WARNING: Unable to find module repositories.[/tt]

try this fix to reset the repository:

[tt]Register-PSRepository -Default[/tt]
 
Thanks for your reply. This is want I get when I try your suggestions

PS C:\Users\Chris> Get-PSRepository

Name InstallationPolicy SourceLocation
---- ------------------ --------------
PSGallery Trusted

PS C:\Users\Chris> Register-PSRepository -Default
PackageManagement\Register-PackageSource : Module Repository 'PSGallery' exists.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:11587 char:17
+ ... $null = PackageManagement\Register-PackageSource @PSBoundParamete ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceExists: (Microsoft.Power...erPackageSource:RegisterPackageSource) [Register-Pack
ageSource], Exception
+ FullyQualifiedErrorId : PackageSourceExists,Microsoft.PowerShell.PackageManagement.Cmdlets.RegisterPackageSource

PS C:\Users\Chris>
 
Ah - I advised that you should only run [tt]Register-PSRepository -Default[/tt] if you got the error. However, it shouldn't have done any harm. That being said, the lack of the warning message suggests that this isn't a repository registration issue, which is what I thought it might be.
 
Hi Joe,

If you run the following command it should install it for you:

Install-Module -Name NetworkTestingCompanion -RequiredVersion 1.5.4

It looks like this module has been delisted.

Thanks.

Btw I believe we might work for the same company :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top