< Back
Get-MrSystemInfo
Post
NAME Get-MrSystemInfo
SYNOPSIS
Retrieves information about the operating system, memory, and logical disks from the specified system.
SYNTAX
Get-MrSystemInfo [[-CimSession] <CimSession[]>] [[-DriveType] {Unknown | NoRootDirectory | Removable | Fixed |
Network | CDRom | Ram}] [<CommonParameters>]
DESCRIPTION
Get-MrSystemInfo is an advanced function that retrieves information about the operating system, memory,
and logical disks from the specified system.
PARAMETERS
-CimSession <CimSession[]>
Specifies the CIM session to use for this function. Enter a variable that contains the CIM session or a
command that
creates or gets the CIM session, such as the New-CimSession or Get-CimSession cmdlets. For more information,
see
about_CimSessions.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DriveType
Specifies the type of drive to query the information for. By default, all drive types are returned, but they
can be
narrowed down to a specific type of drive such as only fixed disks. The parameter autocompletes based on the
built-in
DriveType enumeration.
Required? false
Position? 2
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
None
OUTPUTS
Mr.SystemInfo
NOTES
Author: Mike F Robbins
Website: http://mikefrobbins.com
Twitter: @mikefrobbins
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-MrSystemInfo
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-MrSystemInfo -DriveType Fixed
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-MrSystemInfo -CimSession (New-CimSession -ComputerName Server01, Server02)
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-MrSystemInfo -DriveType Fixed -CimSession (New-CimSession -ComputerName Server01, Server02)
RELATED LINKS
SYNOPSIS
Retrieves information about the operating system, memory, and logical disks from the specified system.
SYNTAX
Get-MrSystemInfo [[-CimSession] <CimSession[]>] [[-DriveType] {Unknown | NoRootDirectory | Removable | Fixed |
Network | CDRom | Ram}] [<CommonParameters>]
DESCRIPTION
Get-MrSystemInfo is an advanced function that retrieves information about the operating system, memory,
and logical disks from the specified system.
PARAMETERS
-CimSession <CimSession[]>
Specifies the CIM session to use for this function. Enter a variable that contains the CIM session or a
command that
creates or gets the CIM session, such as the New-CimSession or Get-CimSession cmdlets. For more information,
see
about_CimSessions.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DriveType
Specifies the type of drive to query the information for. By default, all drive types are returned, but they
can be
narrowed down to a specific type of drive such as only fixed disks. The parameter autocompletes based on the
built-in
DriveType enumeration.
Required? false
Position? 2
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
None
OUTPUTS
Mr.SystemInfo
NOTES
Author: Mike F Robbins
Website: http://mikefrobbins.com
Twitter: @mikefrobbins
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-MrSystemInfo
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-MrSystemInfo -DriveType Fixed
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-MrSystemInfo -CimSession (New-CimSession -ComputerName Server01, Server02)
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-MrSystemInfo -DriveType Fixed -CimSession (New-CimSession -ComputerName Server01, Server02)
RELATED LINKS