dashboard

UniversalDashboard.Outrest

Universal Dashboard REST API Generator for PowerShell
Adam Driscoll
save_alt 384 downloads

UDOutRest

Universal Dashboard REST API Generator for PowerShell

You can use Universal Dashboard OutREST to generate REST API based on Universal Dashboard from Modules and Functions you already have.

Note! This is merely an experiment at this point and will not work in many scenarios.

Installation

Install-Module UniversalDashboard.OutRest

Example

$Endpoints = Out-UDRestApi -Command "Get-Service"
Start-UDRestApi -Endpoint $Endpoints -Port 10000 
Invoke-RestMethod -Method Get -Uri "http://localhost:10000/api/Service"
$Endpoints | Select Url

Url
---
/Service
/Service/:DisplayName
Install

Install-Module UniversalDashboard.Outrest
Version

0.0.1

Last Updated

Wednesday, October 16, 2019

Tags

universal-dashboard ud-tool

Author

Adam Driscoll

Type