Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 30534

Переменные, которые можно использовать в процедурах Agent Procedures

$
0
0

Уважаемые коллеги,

Чтобы не искать по форумам переменные, которые можно использовать при написании процедур я опубликовал их здесь:

Agent Temp Dir/ Working Folder    (eg: c:\kworking)   

  • #vAgentConfiguration.AgentTempDir#

 

Agent GUID  

  • #vAgentConfiguration.agentGuid#

 

Contact Information configured against the Agent (In Kaseya portal: Agent > Configure Agents > Edit Profile)

  • #vAgentConfiguration.contactName#
  • #vAgentConfiguration.contactEmail#

 

Network Information      

  • #vMachine.IpAddress#
  • #vMachine.SubnetMask#
  • #vMachine.DefaultGateway#
  • #vMachine.DnsServer1#
  • #vMachine.DnsServer2#
  • #vMachine.DnsServer3#
  • #vMachine.DnsServer4#
  • #vMachine.DhcpEnabled#
  • #vMachine.DhcpServer#
  • #vMachine.ConnectionGatewayIp#
  • #vMachine.MacAddr#
  • #vMachine.timezoneOffset#

 

Machine Name       (%COMPUTERNAME%)

  • #vAgentConfiguration.machName#
  • #vMachine.machName#

 

Machine+Group     (computername.sub-machinegroup.machinegroup)

  • #vAgentConfiguration.Machine_GroupID#

 

Machine Group name (sub-machinegroup.machinegroup)

  • #vAgentConfiguration.groupName#

 

Current Logged in User Account Name   

  • #vAgentConfiguration.currentUser#

 

Last Logged in User Account Name

  • #vAgentConfiguration.lastLoginName#

 

OS Version 

  • #vMachine.OsInfo#
  • #vMachine.MajorVersion#     (5 = XP/2003, 6 = Vista/7/2008)

 

Domain Name (Domain or Workgroup name)

  • #vAgentConfiguration.workgroupDomainName#

 

Domain Type

  • #vAgentConfiguration.workgroupDomainType#

0 (or Null) = unknown

1 = not joined to either

2 = member of workgroup

3 = member of domain

4 = domain controller

 

Patch managment

  • #vPatchConfiguration.FileSourceUNCPath#   - Patch File Source UNC Path
  • #vPatchConfiguration.FileSourceLocalPath#   - Patch File Source Local Path
  • #vPatchConfiguration.FileSourceMachineId#   - Patch File Source Machine Id
  • #vPatchConfiguration.RebootAction#      - Patch Reboot Action
  • #vPatchConfiguration.contactName#
  • #vPatchConfiguration.contactEmail#

Viewing all articles
Browse latest Browse all 30534

Latest Images

Trending Articles



Latest Images