Set-DSUserLicense
Synopsis
Syntaxe
__AllParameterSets
Set-DSUserLicense -InputObject <PSLicenseAssignmentInfo[]> [-AsLegacyResponse] [<CommonParameters>]Description
Exemples
PS C:\> $AsLegacyResponse = $true
$licResponse = Get-DSLicence;
$license = $licRespones.Data | Where -Property License -like XXXXX* | Select -First 1
$assignResponse = Get-DSUserLicense -InputObject $license
$assignments = $assignResponse.Data
$aUserAssignment = $asssignments | Where Name -eq 'Name of the user to assign'
$aUserAssignment.IsMember = $true
Set-DSUserLicense -InputObject $aUserAssignmentParamètres
-AsLegacyResponse
-InputObject
CommonParameters
Entrées
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSLicenseAssignmentInfo
Notes
Mis à jour
Ce contenu vous a-t-il été utile ?