Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 15 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
I am trying to write the results of the following powershell script to a SGL database. The $DBROW has the correct values in it. However, I cannot figure out how to get the data into SQL??
I am trying to write the results of the following powershell script to a SGL database. The $DBROW has the correct values in it. However, I cannot figure out how to get the data into SQL??
I think the Format-Table cmdlet is the culprit. This cmdlet tells PowerShell how to display information to the screen. When you are using it you are losing the original objects. In this case all you want are the string values. use Select-Object instaled of format-table. Drop the -auto parameter as well because you aren't formatting data.
This topic is 15 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.