Werbung

Herkunft

Kurzinformation

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

Syntax

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

Beschreibung

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

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/978-3-446-44643-4
Bestellung: Amazon.de oder im Buchhandel über ISBN 3446446435/978-3-446-44643-4

Schulungen/Seminare

Offene Seminare zur PowerShell
In-House-Seminare zur PowerShell