<?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 2008 CTP6 gives you PowerShell	</title>
	<atom:link href="https://lobsterpot.com.au/blog/2008/02/23/sql-server-2008-ctp6-gives-you-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>https://lobsterpot.com.au/blog/2008/02/23/sql-server-2008-ctp6-gives-you-powershell/</link>
	<description></description>
	<lastBuildDate>Thu, 10 Sep 2009 01:56:33 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Ravi		</title>
		<link>https://lobsterpot.com.au/blog/2008/02/23/sql-server-2008-ctp6-gives-you-powershell/#comment-578</link>

		<dc:creator><![CDATA[Ravi]]></dc:creator>
		<pubDate>Thu, 10 Sep 2009 01:56:33 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2008/02/23/sql-server-2008-ctp6-gives-you-powershell.aspx#comment-578</guid>

					<description><![CDATA[Hi, I became a fan of SQLPS and am trying to work with the SQLPS and/or PowerShell to achieve the following task.

Scenario:
. I have SQL2008 installed on Win2003 SP2
. The SQL service &amp; agent runs under a local service user named KAPRAVI rather than the local Administrator (company standards)
. Using SQLPS or Power shell as Administrator user is not allowing me to access the SQL 2008. Where as with the service user KAPRAVI all goes excellent and my PS1 files get executed.
. There is a central tool that runs a script against our enterprise database servers for some status reporting purpose; that always runs as the Local Administrator to query the SQL 2008 status. Due to the previous observation, this tool is reporting errors.

My questions are: 
1. How to know the user account who owns the SQL 2008 instance?
2. How to run SQLPS or PowerShell as that user from with in a VBScript that is being executed as the Local Administrator
]]></description>
			<content:encoded><![CDATA[<p>Hi, I became a fan of SQLPS and am trying to work with the SQLPS and/or PowerShell to achieve the following task.</p>
<p>Scenario:<br />
. I have SQL2008 installed on Win2003 SP2<br />
. The SQL service &#038; agent runs under a local service user named KAPRAVI rather than the local Administrator (company standards)<br />
. Using SQLPS or Power shell as Administrator user is not allowing me to access the SQL 2008. Where as with the service user KAPRAVI all goes excellent and my PS1 files get executed.<br />
. There is a central tool that runs a script against our enterprise database servers for some status reporting purpose; that always runs as the Local Administrator to query the SQL 2008 status. Due to the previous observation, this tool is reporting errors.</p>
<p>My questions are:<br />
1. How to know the user account who owns the SQL 2008 instance?<br />
2. How to run SQLPS or PowerShell as that user from with in a VBScript that is being executed as the Local Administrator</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Siraj Jamdar		</title>
		<link>https://lobsterpot.com.au/blog/2008/02/23/sql-server-2008-ctp6-gives-you-powershell/#comment-577</link>

		<dc:creator><![CDATA[Siraj Jamdar]]></dc:creator>
		<pubDate>Sun, 12 Oct 2008 21:01:54 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2008/02/23/sql-server-2008-ctp6-gives-you-powershell.aspx#comment-577</guid>

					<description><![CDATA[I find it intriguing that finally PowerShell provides an opportunity to pipe AND tee output.

One scenario I can think of is as follows. An SSIS package encounters an error. If I tee the output, relevant details can be logged. Simultaneously, based on severity, a case statement might fire off to send an SMS if it is very high priority, or it can send out an email so that the issue can be dealt with at a more sedate pace... ]]></description>
			<content:encoded><![CDATA[<p>I find it intriguing that finally PowerShell provides an opportunity to pipe AND tee output.</p>
<p>One scenario I can think of is as follows. An SSIS package encounters an error. If I tee the output, relevant details can be logged. Simultaneously, based on severity, a case statement might fire off to send an SMS if it is very high priority, or it can send out an email so that the issue can be dealt with at a more sedate pace&#8230; </p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
