Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Are you going to create equivalent versions of the scripts using [pick your favorite scripting language: .NET, JScript, Perl, Python, Rexx, etc.]?

0
Posted

Are you going to create equivalent versions of the scripts using [pick your favorite scripting language: .NET, JScript, Perl, Python, Rexx, etc.]?

0

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 “.

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123