-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from scott1138/1.0.1
Update readme.md for v1.0.1
- Loading branch information
Showing
1 changed file
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,17 @@ PS-Tools is a collection of tools to simplify the administrative processes. | |
* [Pending Improvements](#Pending-Improvements) | ||
|
||
## Change Log | ||
* v1.0.1 - 2020-? | ||
* v1.0.1 - 2020-6-29 | ||
* New Cmdlets | ||
* Write-InformationPlus | ||
* Adds foreground\background color and nonewline options when calling Write-Information | ||
* Fixes | ||
* ? | ||
* Lots of internal changes to resolve PSScriptAnalyzer findings | ||
* Breaking changes | ||
* Renamed commands | ||
* Login-AzureAD to Connect-AzureADTenant | ||
* Handle-Error to Format-Error | ||
* Refresh-Module to Update-CustomModule | ||
* v1.0.0 - 2020-06-24 | ||
* Initial collection | ||
|
||
|
@@ -43,7 +51,7 @@ Several of the cmdlets require other modules be preset as well, including, but n | |
* [New-AADServicePrincipal](#New-AADServicePrincipal) | ||
* Creates an Azure AD service principal. Can use generate either a password or certificate to be used for authentication. | ||
* Outputs the client id and the password or certificate as a PFX. | ||
* [New-ADUser](#New-ADUser) | ||
* [New-User](#New-User) | ||
* Create an AD user. There are three parameter sets, RSA, NoRSA, or FromFile. RSA and NoRSA are for creating single users from the command line. | ||
* FromFile uses a CSV to provide data for multiple users at once. When RSA is used an additional email is sent to the Security team to request an RSA token with the phone type. | ||
* With the AADSync switch, the user account will be created in the AAD synchronized OU and the user will be sent a single email explaining the AAD user registration process and a link to set the password. A phone number is required with the AADSync option. | ||
|
@@ -96,40 +104,40 @@ Certificate exported to C:\Temp\SP-App-Env.pfx | |
``` | ||
##### [Return to Commands](#Commands) | ||
|
||
### New-ADUser | ||
### New-User | ||
|
||
* For more details use: | ||
``` | ||
Get-Help New-ADUser | ||
Get-Help New-User | ||
``` | ||
|
||
* Syntax | ||
``` | ||
New-ADUser -FirstName <string> -LastName <string> -EmailAddress <string> -Description <string> [-Domain <string>] [-ADGroups <string[]>] [-AADGroups <string[]>] [-MobileNumber <string>] [-WhatIf] [-Confirm] [<CommonParameters>] | ||
New-User -FirstName <string> -LastName <string> -EmailAddress <string> -Description <string> [-Domain <string>] [-ADGroups <string[]>] [-AADGroups <string[]>] [-MobileNumber <string>] [-WhatIf] [-Confirm] [<CommonParameters>] | ||
New-ADUser -FirstName <string> -LastName <string> -EmailAddress <string> -Description <string> -RSA -PhoneType {Android | iPhone} [-Domain <string>] [-ADGroups <string[]>] [-AADGroups <string[]>] [-MobileNumber <string>] [-WhatIf] [-Confirm] [<CommonParameters>] | ||
New-User -FirstName <string> -LastName <string> -EmailAddress <string> -Description <string> -RSA -PhoneType {Android | iPhone} [-Domain <string>] [-ADGroups <string[]>] [-AADGroups <string[]>] [-MobileNumber <string>] [-WhatIf] [-Confirm] [<CommonParameters>] | ||
New-ADUser -UserFile <string> [-Domain <string>] [-WhatIf] [-Confirm] [<CommonParameters>] | ||
New-User -UserFile <string> [-Domain <string>] [-WhatIf] [-Confirm] [<CommonParameters>] | ||
``` | ||
|
||
* Create new user from command line (With RSA request) | ||
``` | ||
New-ADUser -FirstName 'Nancy' -LastName 'Drew' -EmailAddress '[email protected]' -Description 'Some Description' -PhoneType iPhone -RSA | ||
New-User -FirstName 'Nancy' -LastName 'Drew' -EmailAddress '[email protected]' -Description 'Some Description' -PhoneType iPhone -RSA | ||
``` | ||
|
||
* Create new user from command line (No RSA request) | ||
``` | ||
New-ADUser -FirstName 'Nancy' -LastName 'Drew' -EmailAddress '[email protected]' -Description 'Some Description' | ||
New-User -FirstName 'Nancy' -LastName 'Drew' -EmailAddress '[email protected]' -Description 'Some Description' | ||
``` | ||
|
||
* Create new user from command line (Specify groups, No RSA request) | ||
``` | ||
New-ADUser -FirstName 'Nancy' -LastName 'Drew' -EmailAddress '[email protected]' -Description 'Some Description' -ADGroups @('ADGroup1','ADGroup2') -AADGroups @('AADGroup1','AADGroup2') | ||
New-User -FirstName 'Nancy' -LastName 'Drew' -EmailAddress '[email protected]' -Description 'Some Description' -ADGroups @('ADGroup1','ADGroup2') -AADGroups @('AADGroup1','AADGroup2') | ||
``` | ||
|
||
* Create new user from command line (Copy groups from SourceUser) | ||
``` | ||
New-ADUser -FirstName 'Nancy' -LastName 'Drew' -EmailAddress '[email protected]' -Description 'Some Description' -SourceUser '[email protected]' | ||
New-User -FirstName 'Nancy' -LastName 'Drew' -EmailAddress '[email protected]' -Description 'Some Description' -SourceUser '[email protected]' | ||
``` | ||
|
||
* Create new users from a file | ||
|
@@ -140,7 +148,7 @@ Joe,Hardy,Test User,[email protected],,,,,+1 555-444-1234 | |
Nancy,Drew,Test User,[email protected],,,,,+1 555-444-5678 | ||
... | ||
New-ADUser -FromFile <path>\users.csv | ||
New-User -FromFile <path>\users.csv | ||
``` | ||
|
||
* Create new users from a file (Specify Groups) | ||
|
@@ -151,7 +159,7 @@ Joe,Hardy,Test User,[email protected],ADGroup1;ADGroup2,AADGroup1;AADGroup2, | |
Nancy,Drew,Test User,[email protected],ADGroup1;ADGroup2,AADGroup3;AADGroup4,,,+1 555-444-5678 | ||
... | ||
New-ADUser -FromFile <path>\users.csv | ||
New-User -FromFile <path>\users.csv | ||
``` | ||
|
||
* Create new users from a file (With RSA) | ||
|
@@ -162,7 +170,7 @@ Joe,Hardy,Test User,[email protected],,,true,iPhone,+1 555-444-1234 | |
Nancy,Drew,Test User,[email protected],,,true,Android,+1 555-444-5678 | ||
... | ||
New-ADUser -FromFile <path>\users.csv | ||
New-User -FromFile <path>\users.csv | ||
``` | ||
|
||
##### [Return to Commands](#Commands) | ||
|