diff --git a/src/chocolatey.resources/chocolatey.resources.csproj b/src/chocolatey.resources/chocolatey.resources.csproj
index 3bf299f758..73a3905513 100644
--- a/src/chocolatey.resources/chocolatey.resources.csproj
+++ b/src/chocolatey.resources/chocolatey.resources.csproj
@@ -48,7 +48,7 @@
-
+
diff --git a/src/chocolatey.resources/helpers/functions/Get-ProcessorBits.ps1 b/src/chocolatey.resources/helpers/functions/Get-OSArchitectureWidth.ps1
similarity index 86%
rename from src/chocolatey.resources/helpers/functions/Get-ProcessorBits.ps1
rename to src/chocolatey.resources/helpers/functions/Get-OSArchitectureWidth.ps1
index c40e3453d9..b54fed6a39 100644
--- a/src/chocolatey.resources/helpers/functions/Get-ProcessorBits.ps1
+++ b/src/chocolatey.resources/helpers/functions/Get-OSArchitectureWidth.ps1
@@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-function Get-ProcessorBits {
+function Get-OSArchitectureWidth {
<#
.SYNOPSIS
-Get the system architecture address width.
+Get the operating system architecture address width.
.DESCRIPTION
This will return the system architecture address width (probably 32 or
@@ -42,7 +42,7 @@ depending on wether or not the bit width matches.
param(
$compare
)
- Write-Debug "Running 'Get-ProcessorBits'"
+ Write-Debug "Running 'Get-OSArchitectureWidth'"
$bits = 64
if ([System.IntPtr]::Size -eq 4) {
@@ -58,3 +58,5 @@ param(
return $bits
}
}
+
+Set-Alias Get-ProcessorBits Get-OSArchitectureWidth