<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: SQL Server: Use PowerShell Invoke-SQLCMD for T-SQL	</title>
	<atom:link href="https://www.dbrnd.com/2016/09/sql-server-use-powershell-invoke-sqlcmd-for-t-sql/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com/2016/09/sql-server-use-powershell-invoke-sqlcmd-for-t-sql/</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Thu, 15 Nov 2018 07:55:55 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>
		By: kiquenet		</title>
		<link>https://www.dbrnd.com/2016/09/sql-server-use-powershell-invoke-sqlcmd-for-t-sql/#comment-6781</link>

		<dc:creator><![CDATA[kiquenet]]></dc:creator>
		<pubDate>Thu, 15 Nov 2018 07:55:55 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=2554#comment-6781</guid>

					<description><![CDATA[Modules:
SQLPS: This module is included with the SQL Server installation (for backwards compatibility), but is no longer being updated. The most up-to-date PowerShell module is the SqlServer module.
SqlServer: This module includes new cmdlets to support the latest SQL features. The module also contains updated versions of the cmdlets in SQLPS.
Invoke-SQLCMD not supports:
# ## - Block of Code required to build SQL Authentication:
# $MySQL.ConnectionContext.LoginSecure = $false;
# $MySQL.ConnectionContext.set_Login($SQLUserName);
# $SqlUserPwd = ConvertTo-SecureString $sqlPwd -AsPlainText -Force;
# $MySQL.ConnectionContext.set_SecurePassword($SqlUserPwd);

In Windows 10, I try Import-Module -name SQLPS, I get error: not found assembly &#039;Microsoft.SqlServer.ConnectionInfo, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91&#039;.
Maybe I have not latest versión SQLPS. Anyways, SQLPS is no longer being updated.]]></description>
			<content:encoded><![CDATA[<p>Modules:<br />
SQLPS: This module is included with the SQL Server installation (for backwards compatibility), but is no longer being updated. The most up-to-date PowerShell module is the SqlServer module.<br />
SqlServer: This module includes new cmdlets to support the latest SQL features. The module also contains updated versions of the cmdlets in SQLPS.<br />
Invoke-SQLCMD not supports:<br />
# ## &#8211; Block of Code required to build SQL Authentication:<br />
# $MySQL.ConnectionContext.LoginSecure = $false;<br />
# $MySQL.ConnectionContext.set_Login($SQLUserName);<br />
# $SqlUserPwd = ConvertTo-SecureString $sqlPwd -AsPlainText -Force;<br />
# $MySQL.ConnectionContext.set_SecurePassword($SqlUserPwd);</p>
<p>In Windows 10, I try Import-Module -name SQLPS, I get error: not found assembly &#8216;Microsoft.SqlServer.ConnectionInfo, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91&#8217;.<br />
Maybe I have not latest versión SQLPS. Anyways, SQLPS is no longer being updated.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
