15 lines
309 B
PowerShell
15 lines
309 B
PowerShell
|
function Get-ServerRoleEnvironmentalVariable {
|
||
|
<#
|
||
|
.SYNOPSIS
|
||
|
Gets the server role environmental variable
|
||
|
Expected values are Web, Microservice, App, Fabric
|
||
|
#>
|
||
|
[CmdletBinding()]
|
||
|
[OutputType([bool])]
|
||
|
param(
|
||
|
)
|
||
|
|
||
|
return (Get-EnvironmentVariable -Name "ServerRole" -StoreName Machine)
|
||
|
}
|
||
|
|