Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
/ Pull-ADLS Public archive

A PowerShell script to automate and simplify ADLS queries on behalf of Unit Training Managers.

License

Notifications You must be signed in to change notification settings

Code-dot-mil/Pull-ADLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pull-ADLS

This PowerShell script is intended for use by U.S. Air Force Unit Training Managers (UTM). Part of a UTM's regular routine involves querying the Advanced Distributed Learning Service (ADLS) for training records and merging the results with a set of locally-maintained records. Rather than tediously making point-and-click queries by hand, PowerShell enables a UTM to automate the process of pulling and merging ADLS training records.

Usage

If you haven't already, download the code from this repository and extract the archive now located in your Downloads directory. Next, open a PowerShell window, navigate to the directory where your script is located, and invoke the program without any command line arguments.

cd .\Downloads\Pull-ADLS-master\Pull-ADLS-master\
.\Pull-ADLS.ps1

If presented with a security warning, enter R to continue. The script will automatically determine your organization name and ID from your CAC certificate information. If this is the first time you've run the script in this window, you'll need to enter the UTM code you usually use when logging into the ADLS administration page. All subsequent invocations of the script in this window will remember the UTM code you originally entered.

To-do List

  • Populate README with detailed usage instructions
  • Share cookie container (and certificates?) between parallel HTTP requests
  • Parallelize batch certificate download
  • Import from CSV
  • Generate CSV template
  • Pull latest version from GitHub at execution time
  • Limit menu options when courses and/or records file are not present

About

A PowerShell script to automate and simplify ADLS queries on behalf of Unit Training Managers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published