June 18, 2008

Use the .NET WebClient Class in PowerShell Scripts to Access Web Data

Retrieve text and binary data from Internet addresses
RSS
View this exclusive article with VIP access -- click here to join |
See More Internet Articles Here | Reprints | Or sign up for our VIP Monthly Pass!
SideBar    Adding a Folder to the Windows Command Search Path, How to Access an Environment Variable Without Writing a Complete PowerShell Statement, Why the PowerShell Working Directory and the PowerShell Location Aren't One in the Same
Executive Summary:

Windows PowerShell doesn't have any cmdlets specifically designed to download Internet data. However, you can use the Microsoft .NET Framework's System.Net.WebClient class in PowerShell scripts to download Internet data. To demonstrate how to use . . .

Learning Path For information about running PowerShell scripts
"Understanding PowerShell Security"

"Running Windows PowerShell Scripts"

"Sesame Script: Stop and Go"


For more information about the WebClient class
"MSDN's WebClient Class Web page"


Top Viewed ArticlesView all articles
No Jobs, No Excitement at Apple's Last Macworld Keynote

Apple CEO Steve Jobs made the right move in skipping out on his company's last appearance at Macworld: In a Tuesday keynote address at the conference, Apple had no interesting new products to sell, opting instead to spend mind-numbing amounts of time on ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Where is Microsoft NetMeeting in Windows XP?

...


Related Articles Customizing Windows PowerShell's Internal Functions

Enhance PowerShell's Syntax Display

Which .NET Classes Can Be Used from Scripts?

What You Need to Know to Start Using PowerShell's Personal Profile Scripts

Related Events PowerShell 201 - eLearning Series with Paul Robichaux

PowerShell 101 - eLearning Series

Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


SQL Server Magazine Office & SharePoint Pro Windows Dev Pro ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing