cleanup
This commit is contained in:
@@ -1,21 +1,20 @@
|
|||||||
##########################################################################
|
##########################################################################
|
||||||
#
|
#
|
||||||
# Add a new SSO Group to an existing RSC Tenant Org.
|
# On Demand Snapshot for all Oracle DBs with a specific SLA
|
||||||
# Created by Rubrik PS for Keylane, June 2024
|
# Created by Rubrik PS for McDermott, September 2025
|
||||||
#
|
#
|
||||||
# Must be run with a Global service account. It reads in the current details
|
# Must be run with a Global service account.
|
||||||
# of the Organisation, adds the new SSO group and runs the UpdateOrg mutation.
|
|
||||||
#
|
#
|
||||||
# Requires RubrikSecurityCloud module to be installed and working against
|
# Requires RubrikSecurityCloud module to be installed and working against
|
||||||
# a Global Service Account with Administrator rights.
|
# a Global Service Account with Administrator rights.
|
||||||
#
|
#
|
||||||
# set service account like this
|
# Create the service account file with:
|
||||||
# Set-RscServiceAccountFile sa.json -OutputFilePath Global.xml
|
# Set-RscServiceAccountFile sa.json -OutputFilePath Global.xml
|
||||||
#
|
#
|
||||||
# Example invocation
|
# Example invocation
|
||||||
# .\create_ssogroup.ps1 -SSOGroup "TestCustomerSSO" -TenantName "keylanetest"
|
# .\monthlySnap.ps1 -sourceSla "Prod Oracle SLA" -triggerSla "Oracle Monthly Only"
|
||||||
#
|
#
|
||||||
# v0.2 Initial Release
|
# v0.1 Initial Release
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
@@ -67,7 +66,6 @@ $protectedObjects = $query.invoke()
|
|||||||
|
|
||||||
$protectedObjects.Nodes | ForEach-Object {
|
$protectedObjects.Nodes | ForEach-Object {
|
||||||
|
|
||||||
|
|
||||||
Write-Host "Triggering Backup for Name: $($_.Name), Id: $($_.Id)"
|
Write-Host "Triggering Backup for Name: $($_.Name), Id: $($_.Id)"
|
||||||
|
|
||||||
$oracleDb = Get-RscOracleDatabase -name "example"
|
$oracleDb = Get-RscOracleDatabase -name "example"
|
||||||
@@ -84,7 +82,4 @@ $protectedObjects.Nodes | ForEach-Object {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Disconnect-Rsc
|
Disconnect-Rsc
|
||||||
Reference in New Issue
Block a user