Variables Defined in Endpoints
Universal Dashboard is now a part of PowerShell Universal. This documentation is for reference to the v2 version of Universal Dashboard and is no longer maintained.
PowerShell Universal Documentation can be found here.

Variables Defined in Endpoints

Variables Defined in Endpoints

Name
Description
Type
$Request
Request object for an HTTP request.
$Response
Response object for an HTTP response
$Location
GeoLocation information for a user. Available when -GeoLocation is specified on New-UDDashboard.
Location
$User
User name for the user that authenticated against the dashboard. Only available when authentication is used.
string
$Cache
Memory cache used by the dashboard server
$ClaimsPrincipal
The entire ClaimsPrincipal object for a user. Only available when authentication is used

Types available

Location

1
@{
2
coords = @{
3
latitude,
4
longitude,
5
accuracy,
6
altitude,
7
altitudeAccuracy
8
heading,
9
speed
10
},
11
timestamp
12
}
Copied!
Last modified 6d ago