New-UDEndpointInitializationcmdlet. This value is passed to the
New-UDDashboardcmdlet via the
global:scope variables, variables that you pass to endpoints are available in all endpoints. To pass a variable, simply provide the name of the variable to the initialization cmdlet.
$MyVariablein all your endpoints.
-Moduleparameter. You can specify arrays of modules or paths. Relative paths are relative to the current file.
New-UDEndpointInitiailizationcmdlet returns a InitialSessionState object. This object is part of the PowerShell SDK and provides more customization than does the cmdlet. You can store the result in a variable and set additional properties.