A module for gathering information about SQLBits agenda from Sessionize, tested on Windows, Mac and Linux for Windows PowerShell and pwsh
The PowerShell module follows normal good procedures
To install the module from the PowerShell Gallery
Install-Module SQLBitsPS
To identify the commands for the module
Get-Command -Module SQLBitsPS
To use the commands use the embedded PowerShell help
Get-Help Get-SQLBitsSchedule
or
Get-Help Get-SQLBitsSchedule -Full
This will return the SQLBits schedule from the Sessionize API in a variety of formats
Get-SqlBitsSchedule -Output excel -Show
Gets the SQLBits Schedule from the Sessionize API and outputs to excel colour coded by session type, opens the file and saves it to the default temp directory
Get-SQLBitsSchedule -Output Raw
Gets the SQLBits Schedule from the Sessionize API and outputs as json on the screen
Get-SQLBitsSchedule -Output csv -Show
Gets the SQLBits Schedule from the Sessionize API and outputs to csv, opens the file and saves it to the default temp directory
Get-SQLBitsSchedule -Output object
Gets the SQLBits Schedule from the Sessionize API and outputs as a psobject on the screen useful for piping to Write-DbaDatatable for loading into a database
Get-SQLBitsSchedule -Output html -Show
Gets the SQLBits Schedule from the Sessionize API and outputs to html, opens the file and saves it to the default temp directory