2
除了與註冊表和SQL Server相關的命令,還有其他Microsoft提供的支持事務的PowerShell命令嗎?來自MS的哪些PowerShell cmdlet支持-UseTransaction
除了與註冊表和SQL Server相關的命令,還有其他Microsoft提供的支持事務的PowerShell命令嗎?來自MS的哪些PowerShell cmdlet支持-UseTransaction
試試這個:
Get-Command |
where {$_.parameters.UseTransaction} |
select name
PowerShell的交易只支持(目前)由註冊商。
Get-PSProvider | Where Capabilities -Like *Transactions*
讓@ mjolinor的答案提供了將只支持交易,如果「項目」中的問題是一個註冊表項的命令。
我喜歡這種方法,可以用它來研究其他參數。 –