NAME

New-HPOVUser

SYNOPSIS

Create a new user account.

SYNTAX

New-HPOVUser [-userName] <String> [-password] <String> [[-fullName] <String>] [-roles] <Array> [[-emailAddress] <String>] [[-officePhone] <String>] [[-mobilePhone] <String>] [[-enabled] <Boolean>] [<CommonParameters>]

DESCRIPTION

Create a new local user account on the management appliance

PARAMETERS

-userName <String>
The name of the new user account to be created.
Required? true
Position? 1
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false
-password <String>
The initial password to be assigned to the new user. Passwords must be at least 8 characters.
Required? true
Position? 2
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false
-fullName <String>
Full name for the user
Required? false
Position? 3
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false
-roles <Array>
An array list of roles to assign the user to.
Required? true
Position? 4
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false
-emailAddress <String>
Optional email address
Required? false
Position? 5
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false
-officePhone <String>
Optional office phone number
Required? false
Position? 6
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false
-mobilePhone <String>
Optional mobile phone number
Required? false
Position? 7
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false
-enabled <Boolean>
Indicates if the user account is enabled, allowing the user to log into the appliance.
Required? false
Position? 8
Default value True
Accept pipeline input? false
Accept wildcard characters? false


<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None.
You cannot pipe objects to this cmdlet.

OUTPUTS

System.Management.Automation.PSCustomObject
If successful returns a user resource.

RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

PS C:\> New-HPOVUser -username Sally -fullName "Sally Smith" -password SallysPassword -roles @("server administrator","network administrator")
Create the Sally user account, and assigning to the Server Administrator and Network Administrator roles.

Last edited Mar 2, 2014 at 12:48 AM by ChrisLynchHP, version 10