-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing PS shipped cmdlets #11732
Comments
|
/cc @sdwheeler for information. |
|
It would be nice for PowerShell 7 users to be able to use those directly. Is there any chance for some of those to be returned into PowerShell 7? And by now I hope that PowerShell 7.0 is feature complete - so except for making the error messages more actionable when using these commands, I'd not want more to go into PowerShell 7.0. For example: PS C:\foo> enable-computerrestore
enable-computerrestore: The term 'enable-computerrestore' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Suggestion [4,General]: The most similar commands are: Enable-ComputerRestore, Disable-ComputerRestore.or PS C:\foo> start-transaction
start-transaction: The term 'start-transaction' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Suggestion [1,Transactions]: Once a transaction is started, only commands that get called with the -UseTransaction flag become part of that transaction.
Suggestion [4,General]: The most similar commands are: Start-Transaction, Start-Transcript, Get-Transaction, Set-DtcTransaction, Use-Transaction, Undo-Transaction, Get-DtcTransaction.Saying a command is not recognised then suggersting you use that very same command is really a poor experience. IMHO this really needs to be addressed before 7.0 RTM. |
|
@SteveL-MSFT / @joeyaiello can either of you two determine if these cmdlets will make their return into PS 7 for compatibility? |
|
It looks like at the time we started on PSCore6, |
|
@SteveL-MSFT The missing docs issues have been addressed. Probably can close this issue but need feature request for re-implementing older cmdlets. |
|
@SteveL-MSFT will the transaction cmdlets be making their return with 7.1? |
|
I could be wrong but IIRC the transaction cmdlets were closely related to the workflow features, which are not coming back. 🤔 |
|
MSFT docs do not recommend to use NTFS transaction API. |
|
If I'm not mistaken Transactions can be implemented by any PSProvider. For example, on PS 5.1 the registry provider supports transactions. |
|
The registry provider was the only WIndows PowerShell provider I am aware of that ever supported transactions. Only the registry did, and even that does not appear to be that heavily use. @vexx32 - the transaction commands were used to tart and then either finalise or rollback a transaction. But as I say, only the registry provider ever did it. |
|
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you. |
2 similar comments
|
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you. |
|
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you. |
|
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes. |
I recently discovered the
*-Transactioncmdlets are missing. I compared all the cmdlets shipped with PS in 5.1 and in PS 7 RC2 to see if there were any differences. The following report of all the differences that were not explicitly noted in PS 6 Breaking Changes*-Computer? section in: PS 6 Breaking Changes*-Computer? section in: PS 6 Breaking Changes*-Computer? section in: PS 6 Breaking Changes*-Computer? section in: PS 6 Breaking Changes*-Computer? section in: PS 6 Breaking ChangesThe text was updated successfully, but these errors were encountered: