< Back

Sync-PrtgConfigFile

Sun Jan 19, 2020 5:45 pm

NAME Sync-PrtgConfigFile



SYNOPSIS

Reloads config files including sensor lookups and device icons used by PRTG Network Monitor.





SYNTAX

Sync-PrtgConfigFile [-Type] {General | Lookups} [<CommonParameters>]





DESCRIPTION

The Load-PrtgConfigFile cmdlet reloads miscellaneous config files used by PRTG Network Monitor, including lookup

definitions used for customizing how sensor values are displayed, as well as other miscellaneous config files

including device icons, report templates and language files.



Config files used by PRTG are automatically reloaded whenever the PRTG Core Service is restarted. To prevent

having to completely restart PRTG whenever a config file is installed or modified, Load-PrtgConfigFile can instead

be used.



Device icons, report templates and language files are refreshed together by a single request, categorised by

PrtgAPI as the General config file type. Sensor lookups are reloaded separately, under the Lookups file type.





PARAMETERS

-Type <ConfigFileType>

The type of config files to reload.



Possible values: General, Lookups



Required? true

Position? 0

Default value General

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 ----------



C:\\> Load-PrtgConfigFile General



Reload any device icons, report templates or language files that may have been installed or modified since PRTG

started.



---------- EXAMPLE 2 ----------



C:\\> Load-PrtgConfigFile Lookups



Loads or reloads any sensor lookups that may have been changed or installed since PRTG was started.



RELATED LINKS

Online version: https://github.com/lordmilko/PrtgAPI/wi ... ig-files-1