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: <SecureString>]
);

Arguments:

NameFormatScript UsageUsage Notes
Credentials
text
Credentials
Server name
text
Server
Role name
text
Role
Wait until remediated
true/false
WaitForCompletion
Otter server URL
text
Host
API key
SecureString
ApiKey

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
);