Windows Agent Configuration - Hostname as FQDN

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
### Option: HostnameItem
#	Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
#	Does not support UserParameters or aliases.
#
# Mandatory: no
# Default:
HostnameItem=system.run[powershell.exe -command "([System.Net.Dns]::GetHostByName(($env:ComputerName))).HostName.ToLower()"]