Error DataBase-One Place all Solutions Forums Blog Glossary    Contact Us
Search  
   
Browse by Category
Error DataBase-One Place all Solutions .: Operating Systems .: Windows Operating Systems .: Windows Scripts and Batch Files .: Decide in script whether to accept command line

Decide in script whether to accept command line

sTitle="Set Remote DNS Information"

sServer=Inputbox("Enter a computername to query",sTitle,wshNet.Computername)

'sServer=wscript.arguments(0)

 

 

'sNameSpace = "root/CIMV2"

'sTargetClass = "Win32_NetworkAdapterConfiguration"

'sClass = "Win32_NetworkAdapter"

'sProperty1 = "AdapterType"

'SValue1 = "Ethernet 802.3"

'sProperty2 = "NetConnectionStatus"

'iValue2 = 2


How helpful was this article to you?

Related Articles

article How to use command line parameters with the Ntbackup command in Windows Server 2003
SUMMARY You can perform backup...

(No rating)  5-22-2008    Views: 197   
article How to use command line FTP to upload to a website
 Many software tools are available FTP...

(No rating)  7-11-2008    Views: 121   
article How to Administer VMware Workstation from the Command Line
VMware Workstation and Server both come...

(No rating)  4-13-2008    Views: 405   

User Comments

Add Comment
No comments have been posted.