Persistent Instruction management cmdlets

Persistent Instruction management cmdlets allow you to perform various tasks associated with 1E Platform persistent instructions.

The functionality associated with these cmdlets is reserved for future use and is not operational at this time. Attempting to use these cmdlets will result in an error being thrown.

Get-1EPersistentInstruction -Id <id>

Given a persistent instruction Id, this cmdlet returns the persistent instruction. An exception is thrown if the instruction Id is not valid.

Get-1EPersistentInstructionHistory -ItemCount <count>

This cmdlet retrieves all or part of the persistent instruction history. It specifies the number of items to return (otherwise, all history is returned). History is sorted by descending date/time, so an item count of 1 will always return the most recent item in history.

Stop-1EPersistentInstruction -Id <id>

This cmdlet stops (terminates) an active instruction. An exception is thrown if the instruction Id is not valid.

Invoke-1EPersistentInstruction -Instruction <instructionName> -ManagementGroupIds <ids> | -ManagementGroupUsableIds <ids> [-PromptDefaults <true|false>] [-RefreshInterval <interval>]

This cmdlet invokes a persistent instruction. Platform instructions have their own parameters. These have to be filled out when prompted.

Either the ManagementGroupIds or ManagementGroupUsableIds parameters must be provided.

The RefreshInterval parameter specifies the period in minutes for repeated instruction execution. If specified, the instruction will be re-executed repeatedly until it is stopped.

The PromptDefaults parameter specifies that instruction parameters with default values will be prompted for, rather than that the defaults will automatically be used.