"Windows Security Warning" dialog box cannot be dismissed
Votes from Connect: 7
Original Date Submitted: 7/17/2014 5:22:27 PM
Site Name: PowerShell
Feedback ID: 922384
Frequency: Always Happens
Regression: Yes, this happens in all previous versions
Certain sites will cause a dialog box with the title "Windows Security Warning" and contents "To allow this website to provide information personalized for you, will you allow it to put a small file (called a cookie) on your computer?" to open.
If the Invoke-WebRequest command is done manually, I can dismiss the dialog box. However, if the Invoke-WebRequest is called from a script via a scheduled task, the associated PowerShell process will hang forever.
Please provide a switch for Invoke-WebRequeset that will prevent the prompt or deny cookies automatically.
Product Studio item created by Connect Synchronizer due to creation of feedback ID 922384 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=922384).
invoke-webrequest -uri "http://microsoft.tumblr.com/"
Use of a new switch prevents "Windows Security Warning" dialog boxes from appearing.
Internal BugId: 8901