logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
anthony@cartierinfo.com  
#1 Posted : Wednesday, September 12, 2018 2:19:10 AM(UTC)
anthony@cartierinfo.com


Rank: Guest

Joined: 9/12/2018(UTC)
Posts: 2
Location: Montreal!

Hi Team!

I installed the report manager extention and it works great, I would like to program my reports to be sent at a specific day/time ?
Is there an option for that somewhere?


I tried downloading the report in PowerShell so i can further work with it and that i can run from the task scheduler... but when i try to download the report i get access denied (normal i need credentials, any one know how?)

anthony@cartierinfo.com  
#2 Posted : Wednesday, September 12, 2018 3:03:27 AM(UTC)
anthony@cartierinfo.com


Rank: Guest

Joined: 9/12/2018(UTC)
Posts: 2
Location: Montreal!

SO ps code... turns out not very complicated...

with this i can fetch the report, filter it do what i want and then email it to whoever i want ;)


$url = "https://url"
$outFilePath = "C:\scripts\sc\report.csv"


$user = "myuser"
$pass = "mypass"
$secPass = convertTo-secureString $pass -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential($user,$secPass)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.