A while back I posted about the ability to leverage BITS with PS v2, some of the really cool things being that it’s a network friendly way of transferring large amounts of data and that once the transfers are running they can survive connectivity-loss or even a reboot. I started to take a look at this again today, this time using PS on Win7, but when I ran the script that had previously worked it bombed out. Before you can do anything BITS-related in PS you need to load the required module, so I did the same again hoping to identify the error…
And there was the answer, turns out that with the version of PS that ships with Win7 the module name changed, so running…
get-module –ListAvailable
…showed that the module name was now BitsTransfer.
Yay! So after importing the correct module name I was back in business.
Note that the cmdlet names have changed as well.
No comments:
Post a Comment