Technical Article

Bulk Insert WMIC output to table w/ xp_cmdshell

This is an example of retrieving WMIC results using the xp_cmdshell proc, and inserting the results into a table.Specifically, this script retrieves disk info from the LogicalDisk class, but WMIC provides thousands of other properties. WMIC does require it be ran from a Windows 2003 server, but can query other Windows 2000 servers when executed […]

2 (1)

You rated this post out of 5. Change rating

2006-08-04 (first published: )

721 reads

Blogs

Using a tnsnames.ora file with the Microsoft Connector for Oracle in SSIS

By

One of the nice things about the Microsoft Connector for Oracle is that it...

ChatGpt Experiments–Getting Documentation

By

I get asked questions by salespeople all the time. Usually this is because a...

A New Word: Jouska

By

jouska – a hypothetical conversation that you compulsively play out in your head –...

Read the latest Blogs

Forums

How Can I Speed This Query Up?

By water490

Hi everyone My SQL query is close to 1000 lines with 17 separate calcs...

partitioning a huge table

By anoop.mig29

Hi folks I would like to get your views about  partitioning  a huge table...

SQL Website Development: A Comprehensive Guide to Building Dynamic Web Applicati

By JosephTalor1

Introduction to SQL Website Development What is SQL? Importance of SQL in web development...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers