Register
: :
Login
Home
News
Forums
Scripts
User Groups
Resources
About
Forums
Search
Members
Unanswered
Active Topics
Forums
>
Using PowerShell
>
General PowerShell
Reading ASP Web Page - Convert to XML?
Last Post 11 Aug 2010 06:08 PM by
Rob Burgess
. 2 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
Rob Burgess
New Member
Posts:42
10 Aug 2010 01:14 PM
Hi
I need to read a data grid on a ASP web page and reuse some of the data in a Powershell script. What is the best way to do this?
I have tried converting the web page to XML with the Html Agility Pack (on CodePlex) but didn't have any luck.
Marco Shaw (MVP)
Veteran Member
Posts:1642
10 Aug 2010 07:49 PM
Not sure about the best way... I did something for kicks about 3 years ago. I loaded the raw HTML, and just looked through it. I ended up creating a reg ex to pick out all of the matches, then just used that.
Marco
*Microsoft MVP - Windows PowerShell
https://mvp.support.microsoft.com/profile/Marco.Shaw
*Co-Author - Sams Windows PowerShell Unleashed 2nd Edition
*Blog - http://marcoshaw.blogspot.com
Rob Burgess
New Member
Posts:42
11 Aug 2010 06:08 PM
Thanks Marco
Rob
You are not authorized to post a reply.
Using PowerShell
--General PowerShell
--Books, Tools, and Videos
--Exchange Server
--Active Directory
--System Center Family
--Non-Microsoft Products
--SharePoint
--SQL Server
--Working with .NET
--Peer Review
--Testing, Testing...
PowerShell Development
--Cmdlet Development
--PSDrive Provider Development
--Hosting the Shell
Looking Ahead
--Using PowerShell v2.0
--Developing for PowerShell v2.0
PowerShellCommunity.org
--Community Announcements and Assistance
--Completely Unrelated
--User Groups
--Community Business
----Suggestion Box
Forums
>
Using PowerShell
>
General PowerShell
Active Forums 4.3
Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2