How to use BitsTransfer to download a file from a remote host with domain authentication












0














I need to be able to download a file from a server (running windows Server 2008 r2) to my client windows 10 computer over a network that uses domain authentication (I will need to provide credentials to the server).



I need to do this using powershell.










share|improve this question



























    0














    I need to be able to download a file from a server (running windows Server 2008 r2) to my client windows 10 computer over a network that uses domain authentication (I will need to provide credentials to the server).



    I need to do this using powershell.










    share|improve this question

























      0












      0








      0







      I need to be able to download a file from a server (running windows Server 2008 r2) to my client windows 10 computer over a network that uses domain authentication (I will need to provide credentials to the server).



      I need to do this using powershell.










      share|improve this question













      I need to be able to download a file from a server (running windows Server 2008 r2) to my client windows 10 computer over a network that uses domain authentication (I will need to provide credentials to the server).



      I need to do this using powershell.







      windows powershell






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 6 at 16:24









      Lost Crotchet

      1032




      1032






















          1 Answer
          1






          active

          oldest

          votes


















          1














          This is fully documented in the Microsoft provided docs and help files and all over the web.



          Using Windows PowerShell to Create BITS Transfer Jobs



          Leverage BITS for File Transfers with PowerShell



          All-in-all, just use the BITS cmdlets and just use the help files, and their provided examples in them:



          Get-Command -Name '*bits*'

          CommandType Name Version Source
          ----------- ---- ------- ------
          Cmdlet Add-BitsFile 2.0.0.0 BitsTransfer
          Cmdlet Complete-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Get-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Remove-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Resume-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Set-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Start-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Suspend-BitsTransfer 2.0.0.0 BitsTransfer
          Application bitsadmin.exe 7.8.17763.1 C:Windowssystem32bitsadmin.exe


          # Get parameters, examples, full and Online help for a cmdlet or function
          # get function / cmdlet details
          (Get-Command -Name Get-ADUser).Parameters
          Get-help -Name Get-ADUser -Examples
          Get-help -Name Get-ADUser -Full
          Get-help -Name Get-ADUser -Online


          Get-Help about_*
          Get-Help about_Functions


          # All Help topics locations
          Get-Help about* | Select Name, Synopsis

          Get-Help about* |
          Select-Object -Property Name, Synopsis |
          Out-GridView -Title 'Select Topic' -OutputMode Multiple |
          ForEach-Object {
          Get-Help -Name $_.Name -ShowWindow
          }

          explorer "$pshome$($Host.CurrentCulture.Name)"





          share|improve this answer





















          • After better analysis, i have revised my question: superuser.com/questions/1382403/…
            – Lost Crotchet
            Dec 10 at 18:35










          • yeah I want to delete it but it tells me I can't because others have already spent time on answering it
            – Lost Crotchet
            Dec 13 at 10:18










          • I guess this answer sounds correct enough though
            – Lost Crotchet
            Dec 13 at 10:19











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1381401%2fhow-to-use-bitstransfer-to-download-a-file-from-a-remote-host-with-domain-authen%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          This is fully documented in the Microsoft provided docs and help files and all over the web.



          Using Windows PowerShell to Create BITS Transfer Jobs



          Leverage BITS for File Transfers with PowerShell



          All-in-all, just use the BITS cmdlets and just use the help files, and their provided examples in them:



          Get-Command -Name '*bits*'

          CommandType Name Version Source
          ----------- ---- ------- ------
          Cmdlet Add-BitsFile 2.0.0.0 BitsTransfer
          Cmdlet Complete-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Get-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Remove-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Resume-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Set-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Start-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Suspend-BitsTransfer 2.0.0.0 BitsTransfer
          Application bitsadmin.exe 7.8.17763.1 C:Windowssystem32bitsadmin.exe


          # Get parameters, examples, full and Online help for a cmdlet or function
          # get function / cmdlet details
          (Get-Command -Name Get-ADUser).Parameters
          Get-help -Name Get-ADUser -Examples
          Get-help -Name Get-ADUser -Full
          Get-help -Name Get-ADUser -Online


          Get-Help about_*
          Get-Help about_Functions


          # All Help topics locations
          Get-Help about* | Select Name, Synopsis

          Get-Help about* |
          Select-Object -Property Name, Synopsis |
          Out-GridView -Title 'Select Topic' -OutputMode Multiple |
          ForEach-Object {
          Get-Help -Name $_.Name -ShowWindow
          }

          explorer "$pshome$($Host.CurrentCulture.Name)"





          share|improve this answer





















          • After better analysis, i have revised my question: superuser.com/questions/1382403/…
            – Lost Crotchet
            Dec 10 at 18:35










          • yeah I want to delete it but it tells me I can't because others have already spent time on answering it
            – Lost Crotchet
            Dec 13 at 10:18










          • I guess this answer sounds correct enough though
            – Lost Crotchet
            Dec 13 at 10:19
















          1














          This is fully documented in the Microsoft provided docs and help files and all over the web.



          Using Windows PowerShell to Create BITS Transfer Jobs



          Leverage BITS for File Transfers with PowerShell



          All-in-all, just use the BITS cmdlets and just use the help files, and their provided examples in them:



          Get-Command -Name '*bits*'

          CommandType Name Version Source
          ----------- ---- ------- ------
          Cmdlet Add-BitsFile 2.0.0.0 BitsTransfer
          Cmdlet Complete-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Get-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Remove-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Resume-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Set-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Start-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Suspend-BitsTransfer 2.0.0.0 BitsTransfer
          Application bitsadmin.exe 7.8.17763.1 C:Windowssystem32bitsadmin.exe


          # Get parameters, examples, full and Online help for a cmdlet or function
          # get function / cmdlet details
          (Get-Command -Name Get-ADUser).Parameters
          Get-help -Name Get-ADUser -Examples
          Get-help -Name Get-ADUser -Full
          Get-help -Name Get-ADUser -Online


          Get-Help about_*
          Get-Help about_Functions


          # All Help topics locations
          Get-Help about* | Select Name, Synopsis

          Get-Help about* |
          Select-Object -Property Name, Synopsis |
          Out-GridView -Title 'Select Topic' -OutputMode Multiple |
          ForEach-Object {
          Get-Help -Name $_.Name -ShowWindow
          }

          explorer "$pshome$($Host.CurrentCulture.Name)"





          share|improve this answer





















          • After better analysis, i have revised my question: superuser.com/questions/1382403/…
            – Lost Crotchet
            Dec 10 at 18:35










          • yeah I want to delete it but it tells me I can't because others have already spent time on answering it
            – Lost Crotchet
            Dec 13 at 10:18










          • I guess this answer sounds correct enough though
            – Lost Crotchet
            Dec 13 at 10:19














          1












          1








          1






          This is fully documented in the Microsoft provided docs and help files and all over the web.



          Using Windows PowerShell to Create BITS Transfer Jobs



          Leverage BITS for File Transfers with PowerShell



          All-in-all, just use the BITS cmdlets and just use the help files, and their provided examples in them:



          Get-Command -Name '*bits*'

          CommandType Name Version Source
          ----------- ---- ------- ------
          Cmdlet Add-BitsFile 2.0.0.0 BitsTransfer
          Cmdlet Complete-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Get-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Remove-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Resume-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Set-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Start-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Suspend-BitsTransfer 2.0.0.0 BitsTransfer
          Application bitsadmin.exe 7.8.17763.1 C:Windowssystem32bitsadmin.exe


          # Get parameters, examples, full and Online help for a cmdlet or function
          # get function / cmdlet details
          (Get-Command -Name Get-ADUser).Parameters
          Get-help -Name Get-ADUser -Examples
          Get-help -Name Get-ADUser -Full
          Get-help -Name Get-ADUser -Online


          Get-Help about_*
          Get-Help about_Functions


          # All Help topics locations
          Get-Help about* | Select Name, Synopsis

          Get-Help about* |
          Select-Object -Property Name, Synopsis |
          Out-GridView -Title 'Select Topic' -OutputMode Multiple |
          ForEach-Object {
          Get-Help -Name $_.Name -ShowWindow
          }

          explorer "$pshome$($Host.CurrentCulture.Name)"





          share|improve this answer












          This is fully documented in the Microsoft provided docs and help files and all over the web.



          Using Windows PowerShell to Create BITS Transfer Jobs



          Leverage BITS for File Transfers with PowerShell



          All-in-all, just use the BITS cmdlets and just use the help files, and their provided examples in them:



          Get-Command -Name '*bits*'

          CommandType Name Version Source
          ----------- ---- ------- ------
          Cmdlet Add-BitsFile 2.0.0.0 BitsTransfer
          Cmdlet Complete-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Get-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Remove-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Resume-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Set-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Start-BitsTransfer 2.0.0.0 BitsTransfer
          Cmdlet Suspend-BitsTransfer 2.0.0.0 BitsTransfer
          Application bitsadmin.exe 7.8.17763.1 C:Windowssystem32bitsadmin.exe


          # Get parameters, examples, full and Online help for a cmdlet or function
          # get function / cmdlet details
          (Get-Command -Name Get-ADUser).Parameters
          Get-help -Name Get-ADUser -Examples
          Get-help -Name Get-ADUser -Full
          Get-help -Name Get-ADUser -Online


          Get-Help about_*
          Get-Help about_Functions


          # All Help topics locations
          Get-Help about* | Select Name, Synopsis

          Get-Help about* |
          Select-Object -Property Name, Synopsis |
          Out-GridView -Title 'Select Topic' -OutputMode Multiple |
          ForEach-Object {
          Get-Help -Name $_.Name -ShowWindow
          }

          explorer "$pshome$($Host.CurrentCulture.Name)"






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 6 at 23:42









          postanote

          91013




          91013












          • After better analysis, i have revised my question: superuser.com/questions/1382403/…
            – Lost Crotchet
            Dec 10 at 18:35










          • yeah I want to delete it but it tells me I can't because others have already spent time on answering it
            – Lost Crotchet
            Dec 13 at 10:18










          • I guess this answer sounds correct enough though
            – Lost Crotchet
            Dec 13 at 10:19


















          • After better analysis, i have revised my question: superuser.com/questions/1382403/…
            – Lost Crotchet
            Dec 10 at 18:35










          • yeah I want to delete it but it tells me I can't because others have already spent time on answering it
            – Lost Crotchet
            Dec 13 at 10:18










          • I guess this answer sounds correct enough though
            – Lost Crotchet
            Dec 13 at 10:19
















          After better analysis, i have revised my question: superuser.com/questions/1382403/…
          – Lost Crotchet
          Dec 10 at 18:35




          After better analysis, i have revised my question: superuser.com/questions/1382403/…
          – Lost Crotchet
          Dec 10 at 18:35












          yeah I want to delete it but it tells me I can't because others have already spent time on answering it
          – Lost Crotchet
          Dec 13 at 10:18




          yeah I want to delete it but it tells me I can't because others have already spent time on answering it
          – Lost Crotchet
          Dec 13 at 10:18












          I guess this answer sounds correct enough though
          – Lost Crotchet
          Dec 13 at 10:19




          I guess this answer sounds correct enough though
          – Lost Crotchet
          Dec 13 at 10:19


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1381401%2fhow-to-use-bitstransfer-to-download-a-file-from-a-remote-host-with-domain-authen%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

          Alcedinidae

          Origin of the phrase “under your belt”?