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)

2006-08-04 (first published: )

691 reads

Blogs

Cloud Formations – A New MVP Led Training Initiative

By

Hello, data friends! Let me spread a few words about the new MVP led...

Daily Coping 20 May 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Daily Coping 19 May 2022

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Read the latest Blogs

Forums

Columnstore Index Limits in SQL Server 2019

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Columnstore Index Limits in SQL...

How to use Images in Power BI Report Builder

By Daniel Calbimonte

Comments posted to this topic are about the item How to use Images in...

How to handle sticks on column country1 and country2 columns ?

By ahmed_elbarbary.2010

I work on sql server 2017 i have table data as below i need...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers