Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

PSEXEC - How Do I Query A Website

$
0
0

In the article named PowerShell Snap-in: Creating Web-Sites, Web applications, Virtual Directories and Application Pools, there is an explanation of how you can download the contents of a specific webpage from powershell to make sure that a deployment was successful and that the apppool and site load into memory following their creation.  The code for that looks like:

$webclient = New-Object Net.WebClient

$webclient.DownloadString("http://localhost:8080/");

How could I do this using PSEXEC?


Rock Chalk


Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>