ps/Modules/Alkami.PowerShell.Common/Public/Get-DotNetConfigPath.ps1

17 lines
347 B
PowerShell
Raw Normal View History

2023-05-30 22:51:22 -07:00
function Get-DotNetConfigPath {
<#
.SYNOPSIS
Returns the path to the 64-bit machine.config
#>
param(
[bool]$Use64Bit = $true
)
if ($Use64Bit) {
return "C:\Windows\Microsoft.Net\Framework64\v4.0.30319\Config\machine.config"
}
return "C:\Windows\Microsoft.Net\Framework\v4.0.30319\Config\machine.config"
}