Comments on: Reporting CPU usage by saving it to a file with the VBScript filesystem object http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/reporting-cpu-usage-by-saving-it-to-a-file-with-the-vbscript-filesystem-object/ Sun, 08 Nov 2009 23:32:18 +0000 http://wordpress.org/?v=2.6.2 By: Jlees http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/reporting-cpu-usage-by-saving-it-to-a-file-with-the-vbscript-filesystem-object/#comment-29 Jlees Fri, 13 Jun 2008 18:08:49 +0000 http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/reporting-cpu-usage-by-saving-it-to-a-file-with-the-vbscript-filesystem-object/#comment-29 Yes, Thank you for asking this question. Unfortunately, the blogging software does some funky stuff to a ' and a " to make it "pretty"... which of course causes stuff to break all over the place in code. This is why at the end of every article I place a link to a section of my website, http://www.websystemsadministration.com, where I always place the example code I used to create the article for download. If you go there you will find the code for every blog entry I make here available for download. Plus, I generally place files in the zip files that show the output I received when the script ran-- cleaned of confidential information, if there was any in the output, of course. If you have further problems, don't hesitate to post again, I'll be happy to help further. Yes, Thank you for asking this question. Unfortunately, the blogging software does some funky stuff to a ‘ and a ” to make it “pretty”… which of course causes stuff to break all over the place in code.

This is why at the end of every article I place a link to a section of my website, <a href="http://www.websystemsadministration.com" title="http://www.websystemsadministration.com" target="_blank">http://www.websystemsadministration.com</a>, where I always place the example code I used to create the article for download.

If you go there you will find the code for every blog entry I make here available for download. Plus, I generally place files in the zip files that show the output I received when the script ran– cleaned of confidential information, if there was any in the output, of course.

If you have further problems, don’t hesitate to post again, I’ll be happy to help further.

]]>
By: Leathal http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/reporting-cpu-usage-by-saving-it-to-a-file-with-the-vbscript-filesystem-object/#comment-28 Leathal Fri, 13 Jun 2008 16:43:38 +0000 http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/reporting-cpu-usage-by-saving-it-to-a-file-with-the-vbscript-filesystem-object/#comment-28 I tried this code and Microsoft reports it the ' in line six is a invalid character, so I removed all the ' and text after them from the code and attempted to run it again this game the "." in the strSrv line is now invalid. Any ideas why? A. I tried this code and Microsoft reports it the ‘ in line six is a invalid character, so I removed all the ‘ and text after them from the code and attempted to run it again this game the “.” in the strSrv line is now invalid.

Any ideas why?
A.

]]>