guvijaya / TipsAndTricks

Short scripts
1 stars 0 forks source link

Not working #1

Open Acterysfpa opened 3 years ago

Acterysfpa commented 3 years ago

Followed instructions getting this error:

PackageManagement\Register-PackageSource : Module Repository 'PSGalleryInt' exists. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4211 char:17

PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'MicrosoftTeams'. Try Get-PSRepository to see all available registered module repositories. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21

guvijaya commented 1 year ago

We no longer require to install from Int environment. I updated the script.

Install Teams Module more info here https://docs.microsoft.com/en-us/microsoftteams/teams-powershell-install

Install-Module -Name MicrosoftTeams -Force -AllowClobber