Screenscrape a website with Powershell 3.0

Grab the Chrome information from the Developers tab to complete the script and adjust the getElementsby[Tag/Class/ID] as needed.

Also, ensure to remove the -UseBasicParsing param in the Webrequire generated by chrome.

Quickly extracting links for Data gathering and running an Analysis on the California Bar.

Downloaded all of calbar Exams for review

Open port and closed Ports on a Netgear R6080 with Powershell

excluding folders for rapid republishing of a project

Close your ASP project, open the .vbproj file with notepad and modify the following line (Target your Release build as that’s the one that gets published)

Handling WebSockets without SignalR in ASP.NET 4

Add this line to allow current connections to be accessed.

Send data from another event to trigger to all connected websockets

One last thing, you may also need to enable websockets if your on an older version of a project. Add or merge these params below into your system.web tag

And below is a sample of a test client form to use on Desktop machines to communicate with the server if needed, just update the URL to point to your source.

one thing to note, is when dealing with Websockets in this way you must avoid using .Wait on the main thread to prevent deadlocks. When the function itself is called it will halt on the first await command and never return. I think this is because the report data is being processed through the main message pump of the main thread and gets locked by using the wait() command. Its best to check the status in a loop with application.doevents and add a sleep if needed.

Other useful links on this topic I found:

Use this if you’d like to connect with powershell!