Skip to content

Scripts to help create the ZIP file needed for HallPass. This includes students, guardians, and student photos.

Notifications You must be signed in to change notification settings

AR-k12code/HallPass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HallPass Student File

These scripts come without warranty of any kind. Use them at your own risk. I assume no liability for the accuracy, correctness, completeness, or usefulness of any information provided by this site nor for any sort of damages using these scripts may cause.

This script does not do incremental uploads. It is a complete upload once a day.

The final ZIP file will be named the same as the .ud authorization file you are provided by HallPass. For student uploads it will have an 's' appended to the end.

HallPass only allows 1 upload in a 24 hour period. Any attempts to upload a ZIP file again will fail. So choose your timing well.

DO NOT INSTALL THESE SCRIPTS TO A DOMAIN CONTROLLER.

Create a dedicated VM running Windows Server 2019 or Windows 10 Pro 1809+ for your automation scripts.

Requirements

Git https://git-scm.com/download/win

Powershell 7 https://github.com/PowerShell/powershell/releases

Suggested Install Process

mkdir \scripts
cd \scripts
git clone https://github.com/AR-k12code/hallpass.git

Authorization File

HallPass should provide you a .ud file for authorizing your uploadings. Please copy this file into the c:\scripts\hallpass folder.

Initial Settings File

cd \scripts\hallpass
Copy-Item settings_sample.ps1 settings.ps1

DO NOT ENTER YOUR CREDENTIALS UNTIL YOU HAVE RAN THE SCRIPT ONE TIME AND VERIFIED YOUR ZIP FILE WITH HallPass!!!

Make sure that $validBuildings contains the exact name for the campuses you want. These should match exactly what comes out of eSchool.

The rest of the settings are up to you. Set them to $True or $False

Student Photos

Student photos are limited to 150kb in file size. Be good digital citizens, we don't need print quality photos for a thumbnail. HallPass only processes student photos on Fridays. The script will only include photos in the zip file on a Friday.

Requirements

  • CognosModule
  • Git
  • Task Scheduler must run as the same user you used to save your eSchool/Cognos password.

About

Scripts to help create the ZIP file needed for HallPass. This includes students, guardians, and student photos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published