New-RDMPasswordListItemCustomField
Synopsis
Create a custom field for a Password List item
Syntax
__AllParameterSets
New-RDMPasswordListItemCustomField [-Name] <string> [-Value] <string> [-IsProtected]
[<CommonParameters>]Description
Create a custom field object (name, value, and protected flag) for a Password List item. Pass the result to the CustomField parameter of Add-RDMEntryPasswordListItem or Set-RDMEntryPasswordListItem to attach it to an item.
Examples
Example 1
PS C:\> $field = New-RDMPasswordListItemCustomField -Name 'Environment' -Value 'Production';
PS C:\> Get-RDMEntry -Name 'MyPasswordList' | Add-RDMEntryPasswordListItem -Username 'sa' -CustomField $field -SetCreate a custom field and attach it to a new Password List item.
Parameters
-IsProtected
Mask the value as protected (sensitive) information.
-Name
Name of the custom field.
-Value
Value of the custom field.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Outputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSPasswordListCustomValue
Notes
For more information, type "Get-Help New-RDMPasswordListItemCustomField -detailed". For technical information, type "Get-Help New-RDMPasswordListItemCustomField -full".
Last updated
Was this helpful?