March 18th, 2014

Find PowerShell Providers that Support Transactions

Doctor Scripto
Scripter

Summary: Learn how to find Windows PowerShell providers that support transactions.

Hey, Scripting Guy! Question I want to use transactions, but I am not sure if the provider I need to use actually supports transactions. How can I be sure?

Hey, Scripting Guy! Answer Use the Get-PSProvider cmdlet, and filter the capabilities of transactions:

Get-PSProvider | where capabilities -match 'transactions'

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.