Are you going to create equivalent versions of the scripts using [pick your favorite scripting language: .NET, JScript, Perl, Python, Rexx, etc.]?
Maybe. We’re not going to create equivalent versions all of them (hey, we’re having enough trouble getting the VBScript versions done). But we do have some available in the “Other languages” section of the Script Repository. You have scripts that do some useful things, like tell me what services are running on my local computer. Can I modify these scripts so they will tell me what services are running on a remote computer? You bet you can. Most of the WMI scripts in the Script Center start off by creating a variable named strComputer, and then setting the value of that variable to “.
Maybe. We’re not going to create equivalent versions allof them (hey, we’re having enough trouble getting the VBScript versions done). But we do have some available in the “Other languages” section of the Script Repository.You have scripts that do some useful things, like tell me what services are running on my local computer. Can I modify these scripts so they will tell me what services are running on a remote computer?You bet you can. Most of the WMI scripts in the Script Center start off by creating a variable named strComputer, and then setting the value of that variable to “.” In other words, the scripts generally include this line: strComputer = “.” This causes the script to run against the local computer. This is due both to the way that the script has been composed, and to the fact that WMI views a computer named “.” as being the local computer. If you want to run the script against a remote computer, simply replace the “.” with the name of the remote computer, surrounded by do
Related Questions
- Are you going to create equivalent versions of the scripts using [pick your favorite scripting language: .NET, JScript, Perl, Python, Rexx, etc.]?
- Are you going tocreate equivalent versions of the scripts using [pick your favoritescripting language: .NET, JScript, Perl, Python, Rexx, etc.]?
- What computer language did Microsoft create?