Condividi tramite


BITS FileTransfer cmdlets are now known as BitsTransfer cmdlets!

If you have been using BITS PowerShell cmdlets since the Windows 7 beta and are currently running the Windows 7 RC, then you will likely have had some trouble finding the BITS cmdlets in the RC.

Fear not, the BITS PowerShell cmdlets are now known as the BitsTransfer cmdlets. For updates, refer to https://blogs.msdn.com/wmi/archive/2009/01/23/introducing-bits-powershell-cmdlets.aspx

Among some of the cmdlet changes between beta and RC:

  • The cmdlets module is now known as BitsTransfer
  • The cmdlets have been renamed and they are now known as BitsTransfer cmdlets instead of FileTransfer cmdlets
  • ServerFileName and ClientFileName parameters are now known as Source and Destination
  • Support for relative paths and wildcard character when specifying file locations

- Alex Ng [MSFT]

Comments

  • Anonymous
    June 16, 2009
    The comment has been removed
  • Anonymous
    July 20, 2009
    Hi Mr. X, The script that was provided in that post is based on BitsTransfer cmdlets (which will work on Windows 7 RC). If you are running PS 2.0 CTP 3 or Windows 7 Beta, then the cmdlets will still be known as FileTransfer. In order to get the sample script to work with CTP 3, you can change the references from BitsTransfer to FileTransfer. I've updated that post with a script that uses the FileTransfer naming.(http://blogs.msdn.com/wmi/archive/2009/04/09/example-directory-backup-with-bits-cmdlets.aspx) Hope this helps! Alex Ng [MSFT]