Werbung

Herkunft

Kurzinformation

Determines whether the computer has a 32-bit processor architecture.

Syntax

<# .Synopsis Determines whether the computer has a 32-bit processor architecture. .Description The Test-32Bit function returns TRUE if the computer has a 32-bit processor architecture and FALSE if it does not. The function does not have any parameters. 64-bit machines will return true when you run this function in a process running in 32-bit mode .Notes Test-32Bit uses the PROCESSOR_ARCHITECTURE environment variable ($env:PPROCESSOR_ARCHITECTURE, %PROCESSOR_ARCHITECTURE) to determine its value. .Example C:\PS> Test-32Bit True .Link Test-64Bit #> param() if($env:PROCESSOR_ARCHITECTURE -match '86') { $true } ELSE { $false}

Beschreibung

The Test-32Bit function returns TRUE if the computer has a 32-bit processorarchitecture and FALSE if it does not. The function does not have any parameters.

64-bit machines will return true when you run this function in a process running in 32-bit mode

Links

Liste aller Commandlets Mehr über die Windows PowerShell

Bücher zur PowerShell

Buchcover Windows PowerShell 5.0 - Das Praxishandbuch (1. Auflage 2016/5. Auflage Gesamtreihe) Windows PowerShell 5.0 - Das Praxishandbuch (1. Auflage 2016/5. Auflage Gesamtreihe)
Autoren: Dr. Holger Schwichtenberg
erschienen 2016, 996 Seiten, 49,99 €
ISBN: 3446446435
Bestellung: Amazon.de oder im Buchhandel über ISBN 3446446435

Schulungen/Seminare

Offene Seminare zur PowerShell
In-House-Seminare zur PowerShell