function Install-SDKEnvironment { <# .SYNOPSIS Install a working environment on this local machine .DESCRIPTION The SDK has a basic install without features that results in a lean environment for custom development. Use the -WithFeatures flag when you want to install the full SDK with Sales Demo features. .EXAMPLE Install-SDKEnvironment -WithFeatures $true .NOTES General notes #> [CmdletBinding()] param( [bool] $WithFeatures ) process { Write-Warning "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" Write-Warning "!! THIS FEATURE WILL BE DEPRECATED. PLEASE USE Install-SDKRelease !!" Write-Warning "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" Set-AlkamiConfiguration -Configuration StartServicesOnInstall -Off # TODO: When we move to using Experimental, change the chocoInstall of Alkami.MachineSetup.SDK to "please install with the new command thxbai" if($WithFeatures){ & choco upgrade alkami.machinesetup.sdk.features -y; } else { & choco upgrade alkami.machinesetup.sdk -y; } } } Set-Alias -Name Update-SDKEnvironment -Value Install-SDKEnvironment