|
|
|||||||
Hi all, Can I use an “If” in a variable, something like this: $Gateway = EnumIPInfo(0,3) ; If $Gateway = x.x.x.x $Updates = 666 Else $Updates = 100 EndIf I hope you guys can help me! Gtz. Larve |
||||||||
|
|
|||||||
Quote: Sure, but don't forget that it is a string value: Code:
|
||||||||
|
|
|||||||
Just the thing I needed. Now I can deploy my updates from a different location if one of my portable users logging on in an other AD site. Thanks a lot...! Gtz Larve |
||||||||
|
|
|||||||
What about @Site? |
||||||||
|
|
|||||||
Ahh, good one! I think I gonna test that. |