< Back
Update-SystemInfo
Post
NAME Update-SystemInfo
SYNOPSIS
Refreshes system information for a PRTG Device.
SYNTAX
Update-SystemInfo [[-Type] {System | Software | Hardware | Users | Processes | Services}] -Device <Device>
[-PassThru <SwitchParameter>] [<CommonParameters>]
Update-SystemInfo [[-Type] {System | Software | Hardware | Users | Processes | Services}] -Id <int> [-PassThru
<SwitchParameter>] [<CommonParameters>]
DESCRIPTION
The Refresh-SystemInfo cmdlet refreshes system information for a specified devoce. By default, PRTG theoretically
probes devices for all system information types once every 24 hours. If you find this is not happening however, or
otherwise wish to refresh sooner, this can be forced with the Refresh-SystemInfo cmdlet.
The types of system information that should be refreshed can be specified with the -Type parameter. If no types
are specified, Refresh-SystemInfo will request that all information types be updated.
PRTG is capable of performing up to 24 simultaneous system information scans. Any additional scans that are
requested will be queued until a scan slot becomes available.
PARAMETERS
-Device <Device>
The device to refresh system information for.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Id <int>
The ID of the device to refresh system information for.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Type <SystemInfoType[]>
The types of system information to refresh. If no types are specified, all types will be refreshed.
Possible values: System, Software, Hardware, Users, Processes, Services
Required? false
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PassThru <SwitchParameter>
Specifies whether to return the original IObject that was passed to this cmdlet, allowing the object to be
further piped into additional cmdlets.
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
PrtgAPI.Device
The device to refresh system information for.
OUTPUTS
---------- EXAMPLE 1 ----------
C:\\> Get-Device dc* | Refresh-SystemInfo
Refresh all system information for all devices whose name starts with "dc"
---------- EXAMPLE 2 ----------
C:\\> Refresh-SystemInfo -Id 1001 -Type System,Users
Refresh the System and Users information types for the device with ID 1001
RELATED LINKS
Online version: https://github.com/lordmilko/PrtgAPI/wi ... ormation-1
Get-SystemInfo
SYNOPSIS
Refreshes system information for a PRTG Device.
SYNTAX
Update-SystemInfo [[-Type] {System | Software | Hardware | Users | Processes | Services}] -Device <Device>
[-PassThru <SwitchParameter>] [<CommonParameters>]
Update-SystemInfo [[-Type] {System | Software | Hardware | Users | Processes | Services}] -Id <int> [-PassThru
<SwitchParameter>] [<CommonParameters>]
DESCRIPTION
The Refresh-SystemInfo cmdlet refreshes system information for a specified devoce. By default, PRTG theoretically
probes devices for all system information types once every 24 hours. If you find this is not happening however, or
otherwise wish to refresh sooner, this can be forced with the Refresh-SystemInfo cmdlet.
The types of system information that should be refreshed can be specified with the -Type parameter. If no types
are specified, Refresh-SystemInfo will request that all information types be updated.
PRTG is capable of performing up to 24 simultaneous system information scans. Any additional scans that are
requested will be queued until a scan slot becomes available.
PARAMETERS
-Device <Device>
The device to refresh system information for.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Id <int>
The ID of the device to refresh system information for.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Type <SystemInfoType[]>
The types of system information to refresh. If no types are specified, all types will be refreshed.
Possible values: System, Software, Hardware, Users, Processes, Services
Required? false
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PassThru <SwitchParameter>
Specifies whether to return the original IObject that was passed to this cmdlet, allowing the object to be
further piped into additional cmdlets.
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
PrtgAPI.Device
The device to refresh system information for.
OUTPUTS
---------- EXAMPLE 1 ----------
C:\\> Get-Device dc* | Refresh-SystemInfo
Refresh all system information for all devices whose name starts with "dc"
---------- EXAMPLE 2 ----------
C:\\> Refresh-SystemInfo -Id 1001 -Type System,Users
Refresh the System and Users information types for the device with ID 1001
RELATED LINKS
Online version: https://github.com/lordmilko/PrtgAPI/wi ... ormation-1
Get-SystemInfo