Windows PowerShell Home
start-bitstransfer corrupts credential variable
5/8/2013 11:30:11 AM
User(s) can reproduce this bug
Running start-bitstransfer corrupts the credential variable passed to it via the -Credential parameter.
How often does this happen?
Have you seen this problem before in this product?
I do not know if this issue existed previously
-- Create a credential variable
$cred = get-credentai
-- Begin a BITS transfer using that variable
start-bitstransfer http://somesite.requiringauth.com -Credential $cred -Authentication Basic
-- Verify contents of credential variable after transfer
$cred | format-list
>>> The UserName and Domain have been blanked out.
start-bitstransfer should read, but NOT alter the contents of the credential variable.
to post a comment.
Please enter a comment.
to post a workaround.
Please enter a workaround.
© 2014 Microsoft