vbscripts to copy the name of services present on machine into a notepad file
Hi All,
I am really weak at scripting and wanted to know if any1 could or has created a vbscript which lists all the services present on the machine (started as well in stopped state) and create a notepad file and copy all the data into that notepad file.
Need this ASAP. Would be really glad if i could get help on this. Thanks in advance
Cheers!!!!
I am really weak at scripting and wanted to know if any1 could or has created a vbscript which lists all the services present on the machine (started as well in stopped state) and create a notepad file and copy all the data into that notepad file.
Need this ASAP. Would be really glad if i could get help on this. Thanks in advance
Cheers!!!!
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
mannse
15 years ago
Posted by:
anonymous_9363
15 years ago
So, in fact, you already have part of what you're looking for . What you want is a means to open Notepad and copy data into it. It's usually best to state your actual requirements, don't you find?
Now, I'm looking for a script to automatically add MSIs to an SCCM collection. All it needs to do is:
- open the MSI
- get the ProdsuctName, ProductCode, ProductVersion and PackageCode properties
- create a Software Distribution group based on the name of the MSI's parent folder
- create an SCCM package
- create an SCCM program
- add the package to the Distribution Points
- create an advertisement for the package
- create the collection
It looks simple enough, right? Do you know where I could find one?
HOLY FREAKIN' COW! Hint: you *may* have to do some of the work yourself!
- take the script which appeared in the first hit for that search
- do another search for scripts to start processes
- think a little. You know, longer than 3 seconds...
- combine the two
Actually, Notepad is a dreadful tool. Why not copy the list to the Clipboard? Then you can paste the content wherever you want. (Hint: use IE as a container - objIE.document.parentwindow.clipboardData.SetData "text", "the data to send to c/b")
Now, I'm looking for a script to automatically add MSIs to an SCCM collection. All it needs to do is:
- open the MSI
- get the ProdsuctName, ProductCode, ProductVersion and PackageCode properties
- create a Software Distribution group based on the name of the MSI's parent folder
- create an SCCM package
- create an SCCM program
- add the package to the Distribution Points
- create an advertisement for the package
- create the collection
It looks simple enough, right? Do you know where I could find one?
HOLY FREAKIN' COW! Hint: you *may* have to do some of the work yourself!
- take the script which appeared in the first hit for that search
- do another search for scripts to start processes
- think a little. You know, longer than 3 seconds...
- combine the two
Actually, Notepad is a dreadful tool. Why not copy the list to the Clipboard? Then you can paste the content wherever you want. (Hint: use IE as a container - objIE.document.parentwindow.clipboardData.SetData "text", "the data to send to c/b")
Posted by:
aogilmor
15 years ago
Posted by:
anonymous_9363
15 years ago
Posted by:
aogilmor
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.