Find PowerShell Providers that Support Transactions

Doctor Scripto

Dr Scripto

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'

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment