Skip to content

Latest commit

 

History

History
101 lines (86 loc) · 2.71 KB

99. CommonSettings.md

File metadata and controls

101 lines (86 loc) · 2.71 KB

Common Settings

Retrieve a List of all common Settings

Get-PPDMcommon_settings

Retrieve Common Settings ID´s

Get-PPDMcommon_settings | ft id

id
--
SDR_REPLICATION_SETTING
TELEMETRY_SETTING
ENCRYPTION_SETTING
AUTH_SYNC_SETTING
LOCAL_USER_SETTING
TELEMETRY_DATA_COLLECTOR_CONFIGURATION
METRIC_SETTING
INTEGRATED_APPLIANCE_SETTING
MESSAGE_CONFIGURATION_SETTING
VM_BACKUP_SETTING
UPGRADE_SETTING
DELETION_SCHEDULE_SETTING
DISCOVERY_DELETION_SETTING
SYSMGR_SETTING
COMPLIANCE_SETTING
USER_LOCKOUT_SETTING
MTREE_REPLICATION_SETTING
ASSET_SETTING
SDR_CONFIGURATION_SETTING
SDR_POLICY_SETTING
APSS_SETTING
PROTECTION_POLICY_SETTING
DYNAMIC_FILTER_SETTING
MONITORING_SETTING
APP_AGENT_SETTING
DELETION_TTL_SETTING

View Settings by ID

(Get-PPDMcommon_settings -id DELETION_TTL_SETTING).properties

name                                 value type
----                                 ----- ----
index_activity                       64800 INTEGER
index_resource_deletion_detail       64800 INTEGER
index_asset_protection_detail        64800 INTEGER
index_audit_log                      43200 INTEGER
index_compliance_result              64800 INTEGER
index_historical_frontend_capacity   64800 INTEGER
index_job                            64800 INTEGER
index_message                        64800 INTEGER
index_task_v2                        64800 INTEGER
index_protection_copy_set            10080 INTEGER
index_data_source                    0     INTEGER
index_application_server             0     INTEGER
index_host                           0     INTEGER
index_system_component_health_metric 10080 INTEGER
index_system_health_issue            10080 INTEGER

Modify a Common Setting by ID

in this example we go tom odify some Assets TTL Settings. TTL Settings are Values of minutes.
we are goinfg to modify index_asset_protection_detail

first, we retieve the Settings into a Powershell Object:

$Properties=Get-PPDMcommon_settings -id DELETION_TTL_SETTING

Now, we identify the index of the settin name in the array. as index_asset_protection_detail is the 3d element, the index should be 2 ( starting from 0 ) Let´s verify

[array]::indexof($($Properties.properties.name),'index_asset_protection_detail')
2

ok, so we need to modify the 2nd Position Value. First we verify:

$Properties.properties[2].name
index_asset_protection_detail
$Properties.properties[2].value
64800

64800 Minutes equal 48 Days. Lets modify the Value to 7 Days, 10080 Minutes

$Properties.properties[2].value=10080

Now, we load the modified Properties back to PPDM:

Set-PPDMcommon_settings -Properties $Properties -id DELETION_TTL_SETTING