views:

619

answers:

2

I've found some pages in Google regarding this, but they are either not complete or outdated. Is there a definite guide somewhere? Thanks

+1  A: 

There is always the help within PowerShell:

PS> import-module bitstransfer
PS> gcm *bits* | ? {$_.Commandtype -eq "cmdlet"}

CommandType Name                  Definition
----------- ----                  ----------
Cmdlet      Add-BitsFile          Add-BitsFile [-BitsJob] <BitsJob[]> [-S...
Cmdlet      Complete-BitsTransfer Complete-BitsTransfer [-BitsJob] <BitsJ...
Cmdlet      Get-BitsTransfer      Get-BitsTransfer [[-Name] <String[]>] [...
Cmdlet      Remove-BitsTransfer   Remove-BitsTransfer [-BitsJob] <BitsJob...
Cmdlet      Resume-BitsTransfer   Resume-BitsTransfer [-BitsJob] <BitsJob...
Cmdlet      Set-BitsTransfer      Set-BitsTransfer [-BitsJob] <BitsJob[]>...
Cmdlet      Start-BitsTransfer    Start-BitsTransfer [-Source] <String[]>...
Cmdlet      Suspend-BitsTransfer  Suspend-BitsTransfer [-BitsJob] <BitsJo...

tells you the commands that are available.

You can then call Get-Help on those. The help entries are pretty helpful, from what I've seen. And don't forget Get-Help ... -Examples for detailed and annotated usage examples. And the cmdlets are named self-explanatory, already.

Joey
Note to add: You can use `Get-Module -ListAvailable` to find out what modules you can import.
Joey
Thanks for the info!
Nestor
+1  A: 

You can try the BITS file transfer Powerpack in case you need some kind of GUI around those BITS Cmdlets.

http://powergui.org/entry.jspa?externalID=2583&amp;categoryID=21

Ravikanth
+1 Nice job creating this addin!
Nestor