custom/autogen-model-cmdlets/New-NmeFsLogixExclusionsUpdateModel.ps1
|
# ---------------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.8, generator: @autorest/powershell@4.0.752) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # ---------------------------------------------------------------------------------- <# .Synopsis Create an in-memory object for FsLogixExclusionsUpdate. .Description Create an in-memory object for FsLogixExclusionsUpdate. .Outputs NmePowershell.Models.FsLogixExclusionsUpdate #> function New-NmeFsLogixExclusionsUpdateModel { [NmePowershell.ModelCmdletAttribute()] [OutputType('NmePowershell.Models.FsLogixExclusionsUpdate')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter()] [string[]] $ExcludedDomainAccounts, [Parameter()] [NmePowershell.PSArgumentCompleterAttribute("None", "Admins")] [string] $ExclusionMode ) process { $Object = [NmePowershell.Models.FsLogixExclusionsUpdate]::New() if ($PSBoundParameters.ContainsKey('ExcludedDomainAccounts')) { $Object.ExcludedDomainAccounts = $ExcludedDomainAccounts } if ($PSBoundParameters.ContainsKey('ExclusionMode')) { $Object.ExclusionMode = $ExclusionMode } return $Object } } |