Thanks David! That looks like it's exactly what I need. I always forget to look past cmdlets.
Joshua Sent from my iPhone > On Jan 30, 2015, at 6:04 PM, David O'Brien <[email protected]> wrote: > > Hi Joshua, > > does this maybe already put you in the right direction? > http://www.david-obrien.net/2013/10/rename-machine-configmgr-osd/ > > ------- > David > http://www.david-obrien.net > > > Date: Fri, 30 Jan 2015 15:42:20 -0600 > Subject: [MDT-OSD] Write to SQL db during TS > From: [email protected] > To: [email protected] > > I got a weird request to have a powershell script perform an action, and have > a string of ourput be written to a SQL database. We worked out a solution in > which the data gets written to a TSV file on a network drive, and that is > scraped up by an SSIS package, but it's not ideal, and I wanted to see if > there was a better way? Is there anything that I can do in the TS to have it > write directly to a SQL database? > > -- > Joshua Delaughter > www.joshuadelaughter.com | www.fromrebeltoriches.com
