https://github.com/francedot/als-lab-scheduler
Azure Lab Services - Lab Scheduler
https://github.com/francedot/als-lab-scheduler
Last synced: 24 days ago
JSON representation
Azure Lab Services - Lab Scheduler
- Host: GitHub
- URL: https://github.com/francedot/als-lab-scheduler
- Owner: francedot
- License: mit
- Created: 2020-01-13T22:38:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-15T20:22:05.000Z (over 5 years ago)
- Last Synced: 2025-02-13T20:37:33.341Z (3 months ago)
- Language: PowerShell
- Homepage: https://azure.microsoft.com/en-us/services/lab-services/
- Size: 118 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Lab Services - Lab Scheduler
This is currently a proof of concept demonstrating how to schedule classes for a lab starting from a iCalendar (.ics) file.
## Usage
```powershell
. ".\Utils.ps1"
# Requires module Az.LabServices
Import-AzLsModule$LabAccount = Get-AzLabAccount -ResourceGroupName "azlabservicestour-rg" -LabAccountName "AZ Lab Services Tour"
$Lab = Get-AzLab -LabAccount $LabAccount -LabName "Test"$Lab | .\LabScheduler.ps1 -IcsFIlePath ""
```
## A few notes
- As of now, recurrent events are splitted into one-time-only events.
- We need the logic for specifying recurrence patterns (daily, weekly..) based on the parameters supported by Lab Services APIs.
- Also need support for no-end events. For now, I am limiting occurrences up to 20 years.