< Back

Set-vRABusinessGroup

Sat Jan 18, 2020 10:05 pm

NAME Set-vRABusinessGroup



SYNOPSIS

Update a vRA Business Group





SYNTAX

Set-vRABusinessGroup -TenantId <String> -ID <String> [-Name <String>] [-Description <String>] [-MachinePrefixId

<String>] [-SendManagerEmailsTo <String>] [-WhatIf] [-Confirm] [<CommonParameters>]



Set-vRABusinessGroup -TenantId <String> -ID <String> -JSON <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Update a vRA Business Group





PARAMETERS

-TenantId <String>

Tenant ID



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ID <String>

Business Group ID



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Business Group Name



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Description <String>

Business Group Description



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MachinePrefixId <String>

Machine Prefix Id



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SendManagerEmailsTo <String>

Send Manager Emails To



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-JSON <String>

Body text to send in JSON format



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? 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

System.String.





OUTPUTS

System.Management.Automation.PSObject





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-vRABusinessGroup -TenantId Tenant01 -Id "f8e0d99e-c567-4031-99cb-d8410c841ed7" -Name BusinessGroup01

-Description "Business Group 01" -MachinePrefixId "87e99513-cbea-4589-8678-c84c5907bdf2" -SendManagerEmailsTo

"busgroupmgr01@vrademo.local"













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>$JSON = @"



{

"id": "f8e0d99e-c567-4031-99cb-d8410c841ed7",

"name": "BusinessGroup01",

"description": "Business Group 01",

"extensionData": {

"entries": [

{

"key": "iaas-machine-prefix",

"value": {

"type": "string",

"value": "87e99513-cbea-4589-8678-c84c5907bdf2"

}

},

{

"key": "iaas-manager-emails",

"value": {

"type": "string",

"value": "busgroupmgr01@vrademo.local"

}

}

]

},

"tenant": "Tenant01"

}

"@

$JSON | Set-vRABusinessGroup -ID Tenant01 -Id "f8e0d99e-c567-4031-99cb-d8410c841ed7"











RELATED LINKS