Set-Org

Syntax

-Org  <Org[]>
[-Description  <String>]
[-Enabled  <Boolean>]
[-FullName  <String>]
[-Name  <String>]
[-Server  <CIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Org
Org[] named
  • pipeline
  • Specifies the organization that you want to configure.
    optional
    Description
    String named Specifies a description for the organization you want to modify.
    optional
    Enabled
    Boolean named Specifies whether you want to enable or disable the organization. Note: This parameter is only available to Provider Administrators.
    optional
    FullName
    String named Specifies a new full name for the organization.
    optional
    Name
    String named Specifies a new unique name identifier for the organization. To set a new unique name identifier for organizations in a vCloud Director 5.1 environment, you need to disable the organization first. Note: This parameter is only available to Provider Administrators.
    optional
    Server
    CIServer[] named Specifies the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.

    Output

    VMware.VimAutomation.Cloud.Types.V1.Org

    Examples


    Example 1

    Get-Org -Name "MyOrg" | Set-Org -Enabled:$false | Set-Org -Name "MyOrgNewName" -FullName "MyOrgFullName2" -Description "Update my Org"

    Disables an organization and modifies its unique name identifier, its full name and its description.

    Example 2

    Get-Org -Name 'MyOrg' | Set-Org -FullName 'MyNewOrgFullName' -Description "This is my updated organization."

    Updates the full name and the description of the specified organization.

    Related Commands

    Feedback

    Was this page helpful?