mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-27 02:14:31 +01:00
35 lines
828 B
Markdown
35 lines
828 B
Markdown
## new-user.ps1 - Creates a new user account
|
|
|
|
This PowerShell script creates a new user account.
|
|
|
|
## Parameters
|
|
```powershell
|
|
new-user.ps1 [[-Username] <String>] [<CommonParameters>]
|
|
|
|
-Username <String>
|
|
|
|
Required? false
|
|
Position? 1
|
|
Default value
|
|
Accept pipeline input? false
|
|
Accept wildcard characters? false
|
|
|
|
[<CommonParameters>]
|
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
|
```
|
|
|
|
## Example
|
|
```powershell
|
|
PS> ./new-user
|
|
|
|
```
|
|
|
|
## Notes
|
|
Author: Markus Fleschutz / License: CC0
|
|
|
|
## Related Links
|
|
https://github.com/fleschutz/PowerShell
|
|
|
|
*Generated by convert-ps2md.ps1 using the comment-based help of new-user.ps1*
|