< Back
Get-d00mArchitectureReport
Post
NAME Get-d00mArchitectureReport
SYNOPSIS
Retrieve OS and processor architecture (32 or 64)
SYNTAX
Get-d00mArchitectureReport [-ComputerName] <String[]> [[-FilePath] <String>] [[-Credential] <PSCredential>]
[<CommonParameters>]
DESCRIPTION
Query Win32_Processor.DataWidth and Win32_OperatingSystem.OSArchitecture for
32 or 64-bit
PARAMETERS
-ComputerName <String[]>
The computers to which to execute this report
Required? true
Position? 1
Default value $env:COMPUTERNAME
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-FilePath <String>
The directory to save the HTML report. The default is the current directory.
Required? false
Position? 2
Default value $(Get-Location)
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
The credential to use when creating a CIM session to the computer. The default is the current users
credentials.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-d00mArchitecture -ComputerName LocalHost
This example queries Win32_Processor.DataWidth and Win32_OperatingSystem.OSArchitecture
for 32 or 64-bit on the local computer using default credentials and save the report in
the current directory
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-d00mArchitecture -ComputerName computer1, computer2 -Credential (Get-Credential)
This example queries Win32_Processor.DataWidth and Win32_OperatingSystem.OSArchitecture
on the remote computers, computer1 and computer2, for 32 or 64-bit using the supplied
credentials and save the report in the current directory
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-d00mArchitecture -ComputerName Computer1 -FilePath \\\\server1\\share
This example queries Win32_Processor.DataWidth and Win32_OperatingSystem.OSArchitecture
on the computer computer, computer1, for the 32 or 64-bit using the default credentials
and saves the report in the directory specified
RELATED LINKS
SYNOPSIS
Retrieve OS and processor architecture (32 or 64)
SYNTAX
Get-d00mArchitectureReport [-ComputerName] <String[]> [[-FilePath] <String>] [[-Credential] <PSCredential>]
[<CommonParameters>]
DESCRIPTION
Query Win32_Processor.DataWidth and Win32_OperatingSystem.OSArchitecture for
32 or 64-bit
PARAMETERS
-ComputerName <String[]>
The computers to which to execute this report
Required? true
Position? 1
Default value $env:COMPUTERNAME
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-FilePath <String>
The directory to save the HTML report. The default is the current directory.
Required? false
Position? 2
Default value $(Get-Location)
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
The credential to use when creating a CIM session to the computer. The default is the current users
credentials.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-d00mArchitecture -ComputerName LocalHost
This example queries Win32_Processor.DataWidth and Win32_OperatingSystem.OSArchitecture
for 32 or 64-bit on the local computer using default credentials and save the report in
the current directory
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-d00mArchitecture -ComputerName computer1, computer2 -Credential (Get-Credential)
This example queries Win32_Processor.DataWidth and Win32_OperatingSystem.OSArchitecture
on the remote computers, computer1 and computer2, for 32 or 64-bit using the supplied
credentials and save the report in the current directory
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-d00mArchitecture -ComputerName Computer1 -FilePath \\\\server1\\share
This example queries Win32_Processor.DataWidth and Win32_OperatingSystem.OSArchitecture
on the computer computer, computer1, for the 32 or 64-bit using the default credentials
and saves the report in the directory specified
RELATED LINKS