ps/Modules/Alkami.PowerShell.Configuration/Public/Get-ServerRoleEnvironmentalVariable.ps1

15 lines
309 B
PowerShell
Raw Permalink Normal View History

2023-05-30 22:51:22 -07:00
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)
}