Import-RDMUserGroup
Synopsis
Create Devolutions Server user groups from an identity provider.
Syntax
__AllParameterSets
Import-RDMUserGroup -InputObject <PSImportableUserGroup> [-ForcePromptAnswer <DialogResult[]>]
[-WhatIf] [-Confirm] [<CommonParameters>]Description
Create Devolutions Server user groups from the candidates discovered by Get-RDMImportableUserGroup. Piping from Get-RDMImportableUserGroup is the only supported way to select a candidate. Candidates from different providers can be piped in together. Candidates already flagged AlreadyExists are skipped with a warning instead of sent to the server. Requires a Devolutions Server workspace.
Examples
Example 1
PS C:\> Get-RDMImportableUserGroup -Provider Domain -DomainName 'contoso.com' -Name 'IT Admins' | Import-RDMUserGroupImport a specific Active Directory group discovered by Get-RDMImportableUserGroup.
Example 2
PS C:\> Get-RDMImportableUserGroup -Provider Domain -DomainName 'contoso.com' | Import-RDMUserGroup -WhatIfPreview which user groups would be imported, without making any changes.
Parameters
-Confirm
Prompts for confirmation before running the cmdlet.
-ForcePromptAnswer
Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:
Yes: Accept the prompt. Cover the OK and Automatic value.
No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.
Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.
-InputObject
The candidate fetched from Get-RDMImportableUserGroup.
-WhatIf
Shows what would happen if the cmdlet were to run. The cmdlet does not run.
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.
Inputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSImportableUserGroup
Candidates fetched from Get-RDMImportableUserGroup
Outputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSImportUserGroupResult
One entry per import attempt.
Notes
For more information, type "Get-Help Import-RDMUserGroup -detailed". For technical information, type "Get-Help Import-RDMUserGroup -full".
Last updated
Was this helpful?