< Back

New-MDUser

Sat Jan 18, 2020 11:31 am

NAME New-MDUser



SYNTAX

New-MDUser [[-FullName] <string>] [-Mailbox] <string> [[-Domain] <string>] [[-FwdDomain] <string>] [[-Password]

<string>] [[-AccessType] {All | POP | IMAP}] [[-ApplyQuotas] <int>] [[-MaxMessageCount] <string>] [[-MaxDiskSpace]

<string>] [[-RootMailDir] <string>] [[-KeepForwardedMail] <int>] [[-FwdAddress] <string>] [<CommonParameters>]





PARAMETERS

-AccessType <string>



Required? false

Position? 5

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-ApplyQuotas <int>



Required? false

Position? 6

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Domain <string>



Required? false

Position? 2

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-FullName <string>



Required? false

Position? 0

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-FwdAddress <string>



Required? false

Position? 11

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-FwdDomain <string>



Required? false

Position? 3

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-KeepForwardedMail <int>



Required? false

Position? 10

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Mailbox <string>



Required? true

Position? 1

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-MaxDiskSpace <string>



Required? false

Position? 8

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-MaxMessageCount <string>



Required? false

Position? 7

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Password <string>



Required? false

Position? 4

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-RootMailDir <string>



Required? false

Position? 9

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

None





OUTPUTS

System.Object



ALIASES

None





REMARKS

None





syntax : @{syntaxItem=@{name=Set-MDUser; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=Get-MDUser -All | ?

{$_.Comments -match [regex]::Escape($_.Password)} | % {$NewComments = $_.Comments -replace

@([regex]::Escape($_.Password),'password'); Set-MDUser -Email $_.Email -Replace @{'Comments' =

$NewComments} }; remarks=System.Management.Automation.PSObject[]; title=--------------------------

EXAMPLE 1 --------------------------}}

details : @{name=Set-MDUser}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Set-MDUser

Category : Function

Synopsis :

Component :

Role :

Functionality :

ModuleName : MDaemon