Jump to content


RonR

Established Members
  • Posts

    2
  • Joined

  • Last visited

RonR's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Guess I just needed a little more time. . For anyone who's curious, this bit of code will get the SMS IPSubnet property with AutoIT: $oCPAppletMgr = ObjCreate ("CPApplet.CPAppletMgr") $oProps = $oCPAppletMgr.getClientProperties $objSubnet = '' For $oProp In $oProps If $oProp.name = "IPSubnet" Then $objSubnet = $oProp.value MsgBox(0,"Properties",$objSubnet) EndIf Next A VBScript equivalent can be found on TechNet: http://technet.micro...y/cc180278.aspx
  2. I'm trying to build a script to check the assigned subnet of a PC for a software deployment. I know we can create subnet-based collections for deployments, but that's not an option in this case because of some other business rules regarding this deployment. Does anyone here know if there's a way to get the IP Subnet property from the System Management applet with VBScript, AutoIT, or something similar? Thanks.
×
×
  • Create New...