Undo-Transaction - Powershell 2.0 CmdLet
Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.
More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.
Undo-Transaction
Short description Rolls back the active transaction. Syntax Undo-Transaction [-Confirm] [-WhatIf] [<CommonParameters>] Description The Undo-Transaction cmdlet rolls back the active transaction. When you roll back a transaction, the changes made b y the commands in the transaction are discarded and the data is restored to its original form. If the transaction includes multiple subscribers, an Undo-Transaction command rolls back the entire transaction for all subscribers. By default, transactions are rolled back automatically if any command in the transaction generates an error. Howeve r, transactions can be started with a different rollback preference and you can use this cmdlet to roll back the ac tive transaction at any time. The Undo-Transaction cmdlet is one of a set of cmdlets that support the transactions feature in Windows PowerShell. For more information, see about_Transactions.