Highlighted
Absent Member.
Absent Member.
1954 views

Scripting Policy: Location Trigger problem

Hi,
I am trying to set up a Scripting Policy that uses location triggers. The script itself works, I've tested it with the zenagent scripting diagnostic. (it launches an exe that changes the network address from dhcp to static)
Our locations are : INSIDE (if Static ip address), DHCP Pool (if DHCP address of our pool), and unknown (if any other address) which works fine.
The aim is that if the device switches from unknown to DHCP Pool location, the script which changes the ip address to static is executed (then after the execution of the script/exe the device should change to the INSIDE location).

The config of my policy is:
Script content:
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run("C:\\W7Install\\netconfig\\enableSTATIC.exe")

(X) Enable Location trigger
when switching from : Unkown
and
when switching to : DHCP Pool

Does anyone of you have experiences with this kind of policies?

Thanks in advance 😃
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

Re: Scripting Policy: Location Trigger problem

YvesR,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://forums.novell.com/

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.