< Back
Get-SystemInfo
Post
NAME Get-SystemInfo
SYNOPSIS
Retrieves system information for a PRTG Device.
SYNTAX
Get-SystemInfo [[-Type] {System | Software | Hardware | Users | Processes | Services}] -Device <Device>
[<CommonParameters>]
Get-SystemInfo [[-Type] {System | Software | Hardware | Users | Processes | Services}] -Id <int>
[<CommonParameters>]
DESCRIPTION
The Get-SystemInfo cmdlet retrieves system information for a specified device. By default, PRTG will probe devices
once every 24 hours for enhanced system information, including hardware, software, process, service and user info.
Not all devices may support retrieving system information or may only support specific system information types.
Specific system information types can be retrieved by specifying one or more values to the -Type parameter. If
more than one type is specified, results will be bundled up in a PSObject containing a property for each
information type. If no types are specified, Get-SystemInfo will automatically retrieve information for all known
information types.
PARAMETERS
-Device <Device>
Device to retrieve system information for.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Id <int>
ID of the device to retrieve system information for.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Type <SystemInfoType[]>
One or more system information types to retrieve. If no types are specified, all System Information types will
be retrieved.
Possible values: System, Software, Hardware, Users, Processes, Services
Required? false
Position? 0
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
PrtgAPI.Device
Device to retrieve system information for.
OUTPUTS
---------- EXAMPLE 1 ----------
C:\\> Get-SystemInfo -Id 1001
Retrieve system information from the device with ID 1001.
---------- EXAMPLE 2 ----------
C:\\> Get-Device -Id 1001 | Get-SystemInfo
Retrieve system information from a piped in device.
---------- EXAMPLE 3 ----------
C:\\> Get-SystemInfo -ID 1001 hardware,software
Retrieve hardware and software information for the device with ID 1001.
RELATED LINKS
Online version: https://github.com/lordmilko/PrtgAPI/wi ... ormation-1
Get-Device
Refresh-SystemInfo
SYNOPSIS
Retrieves system information for a PRTG Device.
SYNTAX
Get-SystemInfo [[-Type] {System | Software | Hardware | Users | Processes | Services}] -Device <Device>
[<CommonParameters>]
Get-SystemInfo [[-Type] {System | Software | Hardware | Users | Processes | Services}] -Id <int>
[<CommonParameters>]
DESCRIPTION
The Get-SystemInfo cmdlet retrieves system information for a specified device. By default, PRTG will probe devices
once every 24 hours for enhanced system information, including hardware, software, process, service and user info.
Not all devices may support retrieving system information or may only support specific system information types.
Specific system information types can be retrieved by specifying one or more values to the -Type parameter. If
more than one type is specified, results will be bundled up in a PSObject containing a property for each
information type. If no types are specified, Get-SystemInfo will automatically retrieve information for all known
information types.
PARAMETERS
-Device <Device>
Device to retrieve system information for.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Id <int>
ID of the device to retrieve system information for.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Type <SystemInfoType[]>
One or more system information types to retrieve. If no types are specified, all System Information types will
be retrieved.
Possible values: System, Software, Hardware, Users, Processes, Services
Required? false
Position? 0
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
PrtgAPI.Device
Device to retrieve system information for.
OUTPUTS
---------- EXAMPLE 1 ----------
C:\\> Get-SystemInfo -Id 1001
Retrieve system information from the device with ID 1001.
---------- EXAMPLE 2 ----------
C:\\> Get-Device -Id 1001 | Get-SystemInfo
Retrieve system information from a piped in device.
---------- EXAMPLE 3 ----------
C:\\> Get-SystemInfo -ID 1001 hardware,software
Retrieve hardware and software information for the device with ID 1001.
RELATED LINKS
Online version: https://github.com/lordmilko/PrtgAPI/wi ... ormation-1
Get-Device
Refresh-SystemInfo