<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://powershell.com/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results for 'app:forums' matching tags 'sql server' and 'SQL'</title><link>http://powershell.com/cs/search/SearchResults.aspx?q=app:forums&amp;tag=sql+server,SQL&amp;orTags=0&amp;o=DateDescending</link><description>Search results for 'app:forums' matching tags 'sql server' and 'SQL'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Remote Installation of SQL Server 2008</title><link>http://powershell.com/cs/forums/thread/4866.aspx</link><pubDate>Thu, 25 Feb 2010 06:00:00 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:4866</guid><dc:creator>statistical</dc:creator><description>&lt;table cellpadding="0" cellspacing="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="smalltxt"&gt;&lt;span id="_ctl5_ctlTopic_ctlPanelBar_ctlTopicsRepeater__ctl4_lblFullMessage"&gt;We are currently setting up a control server that will carry out all our SQL Server installations.&lt;br /&gt;&lt;br /&gt;There is a table in the DBA database that server details are added to, a stored procedure then produces an ini file for each server based on the details entered. What components are installed, service accounts and so on.&lt;br /&gt;&lt;br /&gt;The first step of this was to produce the ini files and confirm that the install will happen when a command in the format of &lt;br /&gt;&lt;br /&gt;\\source server for setup files\setup.exe \\control server\location of ini files\specific ini file&lt;br /&gt;&lt;br /&gt;is executed on the server.&lt;br /&gt;&lt;br /&gt;This works fine, the first run through installs the prereqs and the second, after a reboot, SQL Server. Going forward the template is used for creating the servers will have the prereqs preloaded.&lt;br /&gt;&lt;br /&gt;The next step was to use powershell to execute the command above on the server from the control server, this way we can fully automate the installation process.&lt;br /&gt;&lt;br /&gt;I have been trying to use powershell to execute the command but am failing, I can get calc.exe to run or cmd but not this, I either get no error, path no found error, or a permissions error. I am trying using the Win32_Process call.&lt;br /&gt;&lt;br /&gt;I need some method of passing my credentials through to the server so that the installation can proceed but I appear unable to do so. In the future I will be using a sevice account for this.&lt;br /&gt;&lt;br /&gt;Any help would be appreciated.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Paul&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</description></item></channel></rss>