Forum Discussion
MariusPretorius
Nov 25, 2020Iron Contributor
Teams Admin: Creating Bulk Class Teams using PowerShell and a CSV file
For Your Information: I have successfully created Class Teams using PowerShell and a CSV file. This is very handy because you can have a whole list of teams, channels, teachers and students in a CSV ...
MariusPretorius
Apr 26, 2021Iron Contributor
Note: this format requires you to give the path to the CSV file when you run the function from the PowerShell command line. E.g.
New-TeamsFromCSV c:\powershell\NewTeams.csv #substitute with your path and filename.
VinodS2020
Sep 13, 2021Brass Contributor
Hi, I am not able to create teams bulk via above given commands , please see below error which I am getting
New-TeamsFromCSV -Path "C:\Users\username\bulkteamscreation.csv"
New-TeamsFromCSV : The term 'New-TeamsFromCSV' 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
+ New-TeamsFromCSV -Path "C:\Users\username\bulkteamscreation.csv"
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-TeamsFromCSV:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
New-TeamsFromCSV -Path "C:\Users\username\bulkteamscreation.csv"
New-TeamsFromCSV : The term 'New-TeamsFromCSV' 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
+ New-TeamsFromCSV -Path "C:\Users\username\bulkteamscreation.csv"
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-TeamsFromCSV:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException