Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Remediate-Drift

Checks configuration status and if drifted, triggers a remediation job in Otter.

Script usage:

Otter::Remediate-Drift(
	[Credentials: <text>],
	[Server: <text>],
	[Role: <text>],
	[WaitForCompletion: <true/false>],
	[Host: <text>],
	[ApiKey: <text>]
);

Arguments:

NameFormatScript UsageUsage Notes
Credentials
text
Credentials
Server name
text
Server
Role name
text
Role
Wait until remediated
true/false
WaitForCompletion
Default value is "True".
Otter server URL
text
Host
Not specifying will "Use URL from credentials".
API key
text
ApiKey
Not specifying will "Use API key from credentials".

Note: Either a server name or role name is required, but not both. If both values are entered, role name will be ignored.

Example:


# triggers Otter to remediate drift for hdars web server roles
Otter::Remediate-Drift
(
    Credentials: ProductionOtter,
    Role: hdars-web-1k
);