Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251313

Re: Cpu data gathering script - need help optimizing it.

$
0
0

Hello

 

I've not tried the Get-Esxtop approach yet, sorry about that.

I'm trying now to insert the data gathered to a SQL database, the LogParser approach described here:

http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/28/four-easy-ways-to-import-csv-files-to-sql-server-with-powershell.aspx

works well, but I'm unable to use it inside the Start-Job -ScriptBlock as the commands aren't recognized.

Can I use the Add-PSSnapin to make the LogParser available, how should I do that?

 

Regards

Genoan


Viewing all articles
Browse latest Browse all 251313

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>