Import-StaffHubTeam

Imports a set of teams from a specified file

Note: This cmdlet is currently in Beta.

Syntax

Import-StaffHubTeam
      [-Path] <String>
      [[-Encoding] <String>]

Description

Imports a set of teams from a specified file. Format of the File content - Name,TimeZone,ManagerEmail Eg: CmdletTestTeam,Asia/Calcutta,abc@contoso.com Failure in adding one team does not stop the other teams from getting added.

Examples

-------------------------- Example 1 --------------------------

Import-StaffHubTeam -Path "C:\team.txt"

Imports a list of teams from the file in the specified path.

Parameters

-Encoding

Encoding type of the file https://msdn.microsoft.com/en-us/library/system.text.encoding(v=vs.110).aspx - Encoding parameter value list

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft StaffHub
-Path

Location of the file.

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft StaffHub

Inputs

None

Outputs

System.Object

Notes

This cmdlet is currently in Beta.