I’ve just released a new version of my PowerShell SchemaModule.

This release adds a Headers parameter that accepts a hashtable of key/value pairs. This provides the ability to retrieve a schema from a server or REST endpoint that requires an api-key. Creating the headers is pretty straightforward:

$Headers = @{}

This example shows how to create a hashtable and add key/value pairs to it. These can then be passed along the command-line with the optional param -Headers.

The module can be downloaded from github or the PowerShell Gallery.

Feel free to leave comments or questions in the Discussion board.