Skip to content

Commit

Permalink
Added new parameters for New-CT365User being imported
Browse files Browse the repository at this point in the history
  • Loading branch information
DevClate committed Apr 19, 2024
1 parent 736f72b commit 9625aaf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Functions/Public/New-CT365User.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
The path of the Excel file containing user data. The file should have a worksheet named 'Users' with columns for UserName, FirstName, LastName, Title, Department, StreetAddress, City, State, PostalCode, Country, PhoneNumber, MobilePhone, UsageLocation, and License.
This parameter is mandatory and accepts pipeline input and property names.
.PARAMETER domain
.PARAMETER Domain
The domain to be appended to the UserName to create the UserPrincipalName for each user.
This parameter is mandatory and accepts pipeline input and property names.
Expand Down Expand Up @@ -103,7 +103,12 @@ function New-CT365User {
Country = $user.Country
BusinessPhones = $user.PhoneNumber
MobilePhone = $user.MobilePhone
FaxNumber = $user.FaxNumber
UsageLocation = $user.UsageLocation
CompanyName = $user.CompanyName
EmployeeHireDate = $user.EmployeeHireDate
EmployeeId = $user.EmployeeId
EmployeeType = $user.EmployeeType
AccountEnabled = $true
}

Expand Down

0 comments on commit 9625aaf

Please sign in to comment.