How can i get Write-SqlTableData to work in PS?

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

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 4 years and 1 month 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.
User avatar
MarkKraska
Posts: 3
Last visit: Thu May 18, 2023 8:17 am

How can i get Write-SqlTableData to work in PS?

Post by MarkKraska »

Product, version and build: PowerShell Studio 2020 5.7.172.0
32 or 64 bit version of product: 64 bit
Operating system: Windows 10 Pro 64 bit
32 or 64 bit OS:

Trying to use the cmdlets from SQLSERVER (old SQLPS) 'Write-SqlTableData' and 'Read-SQLTableData' but they are not recognized terms in PStudio.
The module is installed. I verified with ModuleManager, and it is the latest version (21.1.18218)

These cmdlets make easy work of updating SQL tables.
User avatar
mxtrinidad
Posts: 399
Last visit: Tue May 16, 2023 6:52 am

Re: How can i get Write-SqlTableData to work in PS?

Post by mxtrinidad »

We can't find any issues working with all of the cmdlets in SQLServer lastest module.
SQLServer_issue_01_2020-02-01_10-27-39.png
SQLServer_issue_01_2020-02-01_10-27-39.png (60.77 KiB) Viewed 2669 times
Make sure, after installing the module, that you click on the "Rebuild Local Cache". This will update the Object Browser making all module cmdlets discoverable in PowerShell Studio.
SQLServer_issue_02_2020-02-01_10-27-39.png
SQLServer_issue_02_2020-02-01_10-27-39.png (45.71 KiB) Viewed 2669 times
This topic is 4 years and 1 month 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.