< Back
Get-FISSystemInformation
Post
NAME Get-FISSystemInformation
SYNOPSIS
Gathers information on the target's system.
SYNTAX
Get-FISSystemInformation [[-ComputerName] <ComputerParameter[]>] [[-Credential] <PSCredential>] [[-Authentication]
{Default | Digest | Negotiate | Basic | Kerberos | NtlmDomain | CredSsp}] [-EnableException] [<CommonParameters>]
DESCRIPTION
This function uses CIM to gather information about the target computer(s)'s system.
PARAMETERS
-ComputerName <ComputerParameter[]>
The computer to gather information on.
Can be an established CimSession, which will then be reused.
Required? false
Position? 1
Default value $env:COMPUTERNAME
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Credential <PSCredential>
The credentials to use to gather information.
This parameter is ignored for local queries.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Authentication
The authentication method to use to gather the information.
Uses the system default settings by default.
This parameter is ignored for local queries.
Required? false
Position? 3
Default value Default
Accept pipeline input? false
Accept wildcard characters? false
-EnableException [<SwitchParameter>]
This parameters disables user-friendly warnings and enables the throwing of exceptions.
This is less user friendly, but allows catching exceptions in calling scripts.
Required? false
Position? named
Default value False
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
Fred.IronScripter2018.SystemInformation
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-FISSystemInformation
Returns system information on the local computer.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-Content servers.txt | Get-FISSystemInformation
Returns system information on all computers listed in servers.txt
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-ADComputer -Filter "name -like 'Desktop*'" | Get-FISSystemInformation
Returns system information on all computers in ad whose name starts with "Desktop"
RELATED LINKS
SYNOPSIS
Gathers information on the target's system.
SYNTAX
Get-FISSystemInformation [[-ComputerName] <ComputerParameter[]>] [[-Credential] <PSCredential>] [[-Authentication]
{Default | Digest | Negotiate | Basic | Kerberos | NtlmDomain | CredSsp}] [-EnableException] [<CommonParameters>]
DESCRIPTION
This function uses CIM to gather information about the target computer(s)'s system.
PARAMETERS
-ComputerName <ComputerParameter[]>
The computer to gather information on.
Can be an established CimSession, which will then be reused.
Required? false
Position? 1
Default value $env:COMPUTERNAME
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Credential <PSCredential>
The credentials to use to gather information.
This parameter is ignored for local queries.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Authentication
The authentication method to use to gather the information.
Uses the system default settings by default.
This parameter is ignored for local queries.
Required? false
Position? 3
Default value Default
Accept pipeline input? false
Accept wildcard characters? false
-EnableException [<SwitchParameter>]
This parameters disables user-friendly warnings and enables the throwing of exceptions.
This is less user friendly, but allows catching exceptions in calling scripts.
Required? false
Position? named
Default value False
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
Fred.IronScripter2018.SystemInformation
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-FISSystemInformation
Returns system information on the local computer.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-Content servers.txt | Get-FISSystemInformation
Returns system information on all computers listed in servers.txt
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-ADComputer -Filter "name -like 'Desktop*'" | Get-FISSystemInformation
Returns system information on all computers in ad whose name starts with "Desktop"
RELATED LINKS