# Possible to use Powershell to run report in Blackbaud EMS?

**URL:** <https://forums.powershell.org/t/possible-to-use-powershell-to-run-report-in-blackbaud-ems/17054>\
**Category:** PowerShell Help\
**Created:** [July 12, 2021, 1:17pm UTC](https://forums.powershell.org/t/possible-to-use-powershell-to-run-report-in-blackbaud-ems/17054 "2021-07-12T13:17:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bpugh22](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/bpugh22/32/1498_2.png) [@bpugh22](https://forums.powershell.org/u/bpugh22)\
**Post date:** [July 12, 2021, 1:17pm UTC](https://forums.powershell.org/t/possible-to-use-powershell-to-run-report-in-blackbaud-ems/17054/1 "2021-07-12T13:17:01Z")

</div>

Blackbaud Education Management Solutions has many Sky API’s which I can run by automating them.

There are 2 reports in CORE that I can run, but cannot automate the running.

I have created a batch file that opens Chrome and logs into my Blackbaud account, but I would like the same or another batch file to go to the report and run it, exporting it to my W10 drive.

The report is called, “Student Schedule - By Day Name (Grid) Landscape,” and "Teacher Schedule - By Day Name (Grid) Landscape  
Is this possible?

Thank you very much,

Brian

 ![Capture](https://us1.discourse-cdn.com/flex019/uploads/powershell/original/2X/6/6f2a205b6b0d979229f372543c846367d9c9ffba.png)

---

<div class="post-metadata">

**Author:** ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)\
**Post date:** [July 12, 2021, 2:57pm UTC](https://forums.powershell.org/t/possible-to-use-powershell-to-run-report-in-blackbaud-ems/17054/2 "2021-07-12T14:57:07Z")

</div>

@bpugh22 Welcome to [PowerShell.org](http://PowerShell.org) forums.

Are you using only batch files ? Is PowerShell involved anywhere you your code/solution ?  
If so can you share the code or a sample code for folks to get more clarity on what you wanted to achieve.

---

<div class="post-metadata">

**Author:** ![bpugh22](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/bpugh22/32/1498_2.png) [@bpugh22](https://forums.powershell.org/u/bpugh22)\
**Post date:** [July 13, 2021, 3:16am UTC](https://forums.powershell.org/t/possible-to-use-powershell-to-run-report-in-blackbaud-ems/17054/3 "2021-07-13T03:16:05Z")

</div>

Are you using only batch files ?

I’ve only found 1, so far. It opens chrome and allows me to sign into my Blackbaud account automatically.

Is PowerShell involved anywhere you your code/solution ?

No. I just thought that that might be the method of choice.

Here is what I want to achieve.

1. use batch file to use chrome to sign me into my Blackbaud account;

2. use script to go to specific URL and then run a Blackaud report called, “Teacher Schedule - by Day Name (Grid) Landscape.”

3. download the export as a csv into C:\

Unfortunately, there are no APIs for this report, so I am asking if I can still get the report as descibed in any other way.

Is my task clear enough now?

Thank you!

Brian

---

<div class="post-metadata">

**Author:** ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)\
**Post date:** [July 13, 2021, 6:27am UTC](https://forums.powershell.org/t/possible-to-use-powershell-to-run-report-in-blackbaud-ems/17054/4 "2021-07-13T06:27:04Z")

</div>

Got it. But using PowerShell is the way to go for such tasks. If you have plans to write PowerShell for this,  
more folks from the forum will be able to help you. I am not sure there are batch file expert here as this is a PowerShell forum.

---

<div class="post-metadata">

**Author:** ![bpugh22](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/bpugh22/32/1498_2.png) [@bpugh22](https://forums.powershell.org/u/bpugh22)\
**Post date:** [July 13, 2021, 10:00am UTC](https://forums.powershell.org/t/possible-to-use-powershell-to-run-report-in-blackbaud-ems/17054/5 "2021-07-13T10:00:31Z")

</div>

I am willing to try anything. Do you at least think that what I want to do is possible?

Brian

---

<div class="post-metadata">

**Author:** ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)\
**Post date:** [July 13, 2021, 10:35am UTC](https://forums.powershell.org/t/possible-to-use-powershell-to-run-report-in-blackbaud-ems/17054/6 "2021-07-13T10:35:18Z")

</div>

Technically possible, since you are calling Blackbaud via code, it all depends on Blackbaud API support.  
You will be using mostly [Invoke-RestMethod](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-5.1) to do this and [Export-Csv](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/export-csv?view=powershell-5.1) for exporting the report. If the API supports direct CSV download, the a separate cmdlet wont be required.

PS: I don’t know what Blackbaud is.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:23pm UTC](https://forums.powershell.org/t/possible-to-use-powershell-to-run-report-in-blackbaud-ems/17054/7 "2024-05-16T20:23:50Z")

</div>

Closed on May 16, 2024, 8:23pm UTC


