Windows 10: BitsTransfer using https on powershell 2.0 and windows 7

Discus and support BitsTransfer using https on powershell 2.0 and windows 7 in Windows 10 Network and Sharing to solve the problem; Hi, I have a question about using Bitstransfer on powershell in order to download data via https. The following code works well on powershell 5.5 of... Discussion in 'Windows 10 Network and Sharing' started by nedo, Feb 11, 2016.

  1. nedo Win User

    BitsTransfer using https on powershell 2.0 and windows 7


    Hi,
    I have a question about using Bitstransfer on powershell in order to download data via https. The following code works well on powershell 5.5 of windows 10 while it does not work on powershell 2.2 of windows 7. In particular, the problem seems to
    be the use of https since the download by using the http works well even on windows 7.

    Code: Import-Module Bitstransfer Start-BitsTransfer -source "File:Example.jpg - Wikipedia"[/quote] According to this Start-BitsTransfer it should work since powershell 2.0
    Can you explain to me why?

    Thank you

    P.S.
    Code: Start-BitsTransfer : Unable to setup a connection to the server At C:\Users\user\Desktop\update_windows.ps1:92 char:20 + Start-BitsTransfer <<<< -source "https://megatools.megous.com/builds/megatools-$MegaToolsVersion-$WindowsVersion .zip" + CategoryInfo : InvalidOperation: BitsTransfer using https on powershell 2.0 and windows 7 :)) [Start-BitsTransfer], Exception + FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits TransferCommand[/quote]

    :)
     

  2. Downloading the Creators update - what if the data runs out/interrupted?

    I'm wondering if it just a feature of those connections; e.g. if you simply stop or if the line drops you would be able to resume from an appropriate checkpoint.

    Related to this I have recently had the impression that BITS may be involved in some of the downloading. If so, the user would be able to take considerable manual control over it using the old bitsadmin commands which allow us to suspend and resume its
    "jobs". To check on this idea when you knew a big download was happening you could use bitsadmin /list /allusers to see if there was any activity on that channel.

    In fact, supposedly bitsadmin is being replaced with PowerShell commands; so I suppose I had better try to find out more about them. The Help might be easier to read for one thing... OMG:

    PS>Get-Help *bits*

    Name Category Module Synopsis

    ---- -------- ------ --------

    Add-BitsFile Cmdlet BitsTransfer Adds one or more files to an existing Background Intelligent Transfer Service (BITS) transfer job.

    Complete-BitsTransfer Cmdlet BitsTransfer Completes a Background Intelligent Transfer Service (BITS) transfer job.

    Get-BitsTransfer Cmdlet BitsTransfer Retrieves the associated BitsJob object for an existing Background Intelligent Transfer Service (BITS) transfer job.

    Remove-BitsTransfer Cmdlet BitsTransfer Cancels a Background Intelligent Transfer Service (BITS) transfer job.

    Resume-BitsTransfer Cmdlet BitsTransfer Resumes a Background Intelligent Transfer Service (BITS) transfer job.

    Set-BitsTransfer Cmdlet BitsTransfer Modifies the properties of an existing Background Intelligent Transfer Service (BITS) transfer job.

    Start-BitsTransfer Cmdlet BitsTransfer Creates a new Background Intelligent Transfer Service (BITS) transfer job.

    Suspend-BitsTransfer Cmdlet BitsTransfer Suspends a Background Intelligent Transfer Service (BITS) transfer job.

    So, if you see any *big* "jobs" using Get-BITSTransfer -All see if you can do anything with them using Suspend-BITSTransfer.

    BTW thanks for making me find this. Now all I need to do is to try to remember to use it. ; )



    Good luck

    Robert Aldwinckle

    ---
     
    Robert Aldwinckle on forums, Feb 11, 2016
    #2
  3. PowerShell Update-Help Problems

    Hi,

    For PowerShell please check in with the TechNet Forums

    TechNet Forums

    Technet forums

    TechNet - Windows PowerShell Forum

    Technet forums - Windows PowerShell

    ----------------------------

    Windows PowerShell

    Getting Started with Windows PowerShell

    Windows PowerShell Owner's Manual

    Table of Contents

    How Do I: Windows PowerShell 2.0?

    Windows previous versions documentation

    Windows PowerShell

    http://en.wikipedia.org/wiki/Windows_PowerShell

    Windows Management Framework (Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0)http://support.microsoft.com/kb/968929

    How to Open Windows PowerShell in Windows 7

    http://www.sevenforums.com/tutorials/27758-windows-powershell.html

    Hope this helps.

    --------------------------------------------------------------------------------------------

    Rob Brown -
    Microsoft MVP
    <- profile - Windows Experience : Bicycle - Mark Twain said it right.
     
    SpiritX MS MVP, Feb 11, 2016
    #3
Thema:

BitsTransfer using https on powershell 2.0 and windows 7

Loading...
  1. BitsTransfer using https on powershell 2.0 and windows 7 - Similar Threads - BitsTransfer using https

  2. Removing powershell 7

    in Windows 10 Gaming
    Removing powershell 7: I want to remove powershell 7 which I installed on my systemThis message has been automatically translated https://answers.microsoft.com/en-us/windows/forum/all/removing-powershell-7/ab1f7207-9720-4eeb-a6db-4d1949f2a555
  3. Powershell 7 !

    in Microsoft Windows 10 Store
    Powershell 7 !: Hi, when I use things like SCANNOW I now use Powershell instead of Command prompt. I keep seeing the message "try new cross-platform Powershell 6 ! I have looked in the Microsoft store and and "7" is listed is this the latest ? I guess the next question is "should I download...
  4. Powershell 7 !

    in Windows 10 Gaming
    Powershell 7 !: Hi, when I use things like SCANNOW I now use Powershell instead of Command prompt. I keep seeing the message "try new cross-platform Powershell 6 ! I have looked in the Microsoft store and and "7" is listed is this the latest ? I guess the next question is "should I download...
  5. Powershell 7 !

    in Windows 10 Software and Apps
    Powershell 7 !: Hi, when I use things like SCANNOW I now use Powershell instead of Command prompt. I keep seeing the message "try new cross-platform Powershell 6 ! I have looked in the Microsoft store and and "7" is listed is this the latest ? I guess the next question is "should I download...
  6. PowerShell 7 compatibility with PowerShell 5

    in Windows 10 Gaming
    PowerShell 7 compatibility with PowerShell 5: Hi just like to ask if a ps1 script written in PowerShell 7 can be used in PowerShell 5 without any issues? https://answers.microsoft.com/en-us/windows/forum/all/powershell-7-compatibility-with-powershell-5/cb95ea7c-070c-4f1f-8d48-6f68d95c2cb1
  7. PowerShell 7 compatibility with PowerShell 5

    in Windows 10 Software and Apps
    PowerShell 7 compatibility with PowerShell 5: Hi just like to ask if a ps1 script written in PowerShell 7 can be used in PowerShell 5 without any issues? https://answers.microsoft.com/en-us/windows/forum/all/powershell-7-compatibility-with-powershell-5/cb95ea7c-070c-4f1f-8d48-6f68d95c2cb1
  8. PowerShell 7 compatibility with PowerShell 5

    in Windows 10 Customization
    PowerShell 7 compatibility with PowerShell 5: Hi just like to ask if a ps1 script written in PowerShell 7 can be used in PowerShell 5 without any issues? https://answers.microsoft.com/en-us/windows/forum/all/powershell-7-compatibility-with-powershell-5/cb95ea7c-070c-4f1f-8d48-6f68d95c2cb1
  9. Windows PowerShell 5 or 7?

    in Windows 10 BSOD Crashes and Debugging
    Windows PowerShell 5 or 7?: Hi all, I'm taking an online IT support course and learning more about Windows PowerShell included with Windows 10, which I believe is version 5.0. I've never used PS before this course, although I'm fairly comfortable with Command Prompt in Windows as well as Bash in Linux....
  10. The Next Release of PowerShell - PowerShell 7

    in Windows 10 News
    The Next Release of PowerShell - PowerShell 7: Recently, the PowerShell Team shipped the Generally Available (GA) release of PowerShell Core 6.2. Since that release, we’ve already begun work on the next iteration! We’re calling the next release PowerShell 7, the reasons for which will be explained in this blog post. Why...