![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | [CTP2:] File System Transactions Greetings fellow citizens of Powershellia Just been looking at the new 'transaction' cmdlets in Powershell, courtesy of the recent Powershell blog entry on subject. PowerShell Transactions QuickStart http://blogs.msdn.com/powershell/arc...uickstart.aspx I don't know how difficult it would be to implement this also for the file system provider (to complement the registry provider) but it strikes me (probably in my misguided ignorance) that that would be quite a cool feature if it were. eg such that you could also run commands like Start-PSTransaction New-Item $env:userprofile\Desktop\test.txt -ItemType file ` -Value "Some contents" -UseTransaction #Get-Content -UseTransaction $env:userprofile\Desktop\test.txt Undo-PSTransaction to work alongside what you can do with the registry provider. When combined with registry transactions, it would seem that might then be the basis for a full-blown Powershell-based application virtualization, which sounds like it could be useful. Thoughts, insights, corrections ....? -- Jon |
My System Specs![]() |
| | #2 (permalink) |
| | Re: [CTP2:] File System Transactions Jon wrote: Quote: > Greetings fellow citizens of Powershellia > > Just been looking at the new 'transaction' cmdlets in Powershell, > courtesy of the recent Powershell blog entry on subject. > > PowerShell Transactions QuickStart > http://blogs.msdn.com/powershell/arc...uickstart.aspx > > > I don't know how difficult it would be to implement this also for the > file system provider (to complement the registry provider) but it > strikes me (probably in my misguided ignorance) that that would be quite > a cool feature if it were. 2008) that PowerShell piggy backs on, and the OS (Vista/Server 2008) also provides this for filesystems, I think it is a good assumption that we will have file system transactions in the future. Will that be in CTP3? Dunno, but I'm crossing my fingers also... Marco -- Microsoft MVP - Windows PowerShell http://www.microsoft.com/mvp PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #3 (permalink) |
| | Re: [CTP2:] File System Transactions "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:uSpJELPtIHA.1872@xxxxxx Quote: > Seeing as the registry transactions are an OS feature (Vista/Server 2008) > that PowerShell piggy backs on, and the OS (Vista/Server 2008) also > provides this for filesystems, I think it is a good assumption that we > will have file system transactions in the future. > > Will that be in CTP3? Dunno, but I'm crossing my fingers also... > > Marco > Thanks Marco. 'Transactions' at first glance sound a decidedly boring feature (usually only accountants tend to get excited about such things), and I admit I glossed quickly over the feature when I first saw it. But with such an additional implementation for the file system, perhaps not so. The moral of the story (if any) perhaps being to never judge the value or potential of a cmdlet by its name alone. -- Jon |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| CTP2 | PowerShell | |||
| missing live file system and mastered system | Vista General | |||