Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Downloading (Exporting) Information form Vendor Web Consoles

$
0
0

I am having really difficult time doing this and hoping that someone already did something similar and can get me through this "wall" in front of me.

I have various consoles that I am working with and my goal is to schedule a task that  Exports reports from these vendors and send them in an email or save them to the drive.

The vendor web consoles I am working with are Trend Micro and Bit9.

In both cases, I am not able to authenticate using invoke-webrequest (unless I am authenticated and just can't tell)

The only way so far, was to use InternetExplorer.Application. This way, I am able to navigate all the way to the "Export" button, but it pulls up a dialog to Save/Save As and requires manual intervention and IE must be visible (this defeats my scheduled task requirement)

Below is my code for IE: 

 

My code using Invoke-WebRequest 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles