Otter Documentation

otter - Remediate Drift

  • Last Modified: 2018-11-09

This is generated from the built-in components of Otter 2.1, and may be different than what you have installed (especially if you have extensions); go to [User Icon] > Documentation within your Otter instance to see exactly what operations are available.

Remediate Drift

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

Operation type:

Executing - this operation will perform a specified action or actions on a remote server.

Script usage:

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

Arguments:

Name Format Script Usage Usage 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
);

Have a question? Try the Q&A Forum

Our documentation is now Open Source and on GitHub. We highly encourage our users to contribute and get involved! .