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)

2006-08-04 (first published: )

509 reads

Blogs

Weekly reading #15

By

SQLDay 2019 is gone. The Data Community.PL has now a new goal – it...

Last Weeks Reading (2019-05-26)

By

It was tremendously extensive week for me (a week ago) when I spent time...

Migrating SSIS to Azure – Slidedeck (Techorama 2019)

By

Techorama 2019 is over and it was a blast, as usual. Neatly organised, great...

Read the latest Blogs

Forums

The Change Failure Rate

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Change Failure Rate

Streamlining a Power BI Solution

By Additional Articles

Comments posted to this topic are about the item Streamlining a Power BI Solution

Proverbial Tree Barking

By maverickuk82

Hi All, I'm just after a pointer really. I've had an idea. I want...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers