Vscode-powershell: PS: new-team can't get parameter "-Template" to run

Created on 21 Aug 2020  路  6Comments  路  Source: PowerShell/vscode-powershell

Hi All,
it appears that I have VSC with preview extension properly running, but get the following

New-Team : Es wurde kein Parameter gefunden, der dem Parameternamen "Template" entspricht.
In C:\Users\kay\OneDrive\Documents\WindowsPowerShell\Scripts\KlassenErstellen.ps1:10 Zeichen:96
+ ... es -Mailnickname $mai -Owner $own -AllowGiphy $false -Template $tem `
+                                                          ~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [New-Team], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.TeamsCmdlets.PowerShell.Custom.NewTeam

when executing New-Team -DisplayName $nam -Description $des -Mailnickname $mai -Owner $own -AllowGiphy $false -Template $tem

Anyone any idea?
thx
Kay

Resolution-External

Most helpful comment

Many thx for helping :-)

All 6 comments

This seems to be an issues with the Teams PowerShell module rather than with the PowerShell extension for VSCode. From their docs page, the place to open an issue with them is here

Thanks for the hint, but I can't post there (not allowed...)

@xlupy so you can't load this page?

https://github.com/MicrosoftDocs/office-docs-powershell/issues/new

what does it say?

image
An owner of this repository has limited the ability to open an issue from new users...

Many thx for helping :-)

Was this page helpful?
0 / 5 - 0 ratings