Set-RubrikOrgAuthorization
SYNOPSIS
Assigns a list of authorizations to an organization.
SYNTAX
DESCRIPTION
This cmdlet is used to assign authorization to an organization. Organizations are used to support Rubrik's multi-tenancy feature.
-UseSLA, -ManageResource, and -ManageSLA can be passed a string, or an array of strings containing the desired IDs.
EXAMPLES
EXAMPLE 1
Authorizes the Organization with ID Organization:::01234567-8910-1abc-d435-0abc1234d567 to use the SLA Domain with ID 12345678-1234-abcd-8910-1234567890ab
EXAMPLE 2
Authorizes the Organization with ID Organization:::01234567-8910-1abc-d435-0abc1234d567 to manage the VM with ID VirtualMachine:::aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee-vm-12345
EXAMPLE 3
Set-RubrikOrgAuthorization -ID 'Organization:::01234567-8910-1abc-d435-0abc1234d567' -ManageResource $vms
Authorizes the Organization with ID Organization:::01234567-8910-1abc-d435-0abc1234d567 to manage all VMs with names containing the string 'SQL'
PARAMETERS
-id
Principal ID
-OrgID
Organization ID
-UseSLA
Use SLAs. Must be an SLA ID.
-ManageResource
Manage Resource. Can contain any manageable ID.
-ManageSLA
Manage SLA. Must be an SLA ID.
-Server
Rubrik server IP or FQDN
-api
API version
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
Written by Matt Elliott for community usage Twitter: @NetworkBrouhaha GitHub: shamsway
RELATED LINKS
Last updated