17 lines
347 B
PowerShell
17 lines
347 B
PowerShell
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"
|
|
}
|
|
|