ÿþ<html> <head> <title>Remove-SqlDatabase</title> </head> <body> <h1>Remove-SqlDatabase</h1> <div>Removes a database from a SQL Server.</div> <h2> Syntax </h2> <code>Remove-SqlDatabase [-sqlserver] &lt;Object&gt; [-dbname] &lt;String&gt; [&lt;CommonParameters&gt;]</code> <h2> Detailed Description </h2> <div> The Remove-SqlDatabase function removes the specified database from SQL Server. </div> <h2> Related Commands </h2> <div> * <a href='Remove-SqlDatabase.htm'>Remove-SqlDatabase</a><br/> </div> <h2> Parameters </h2> <table border='1'> <tr> <th>Name</th> <th>Description</th> <th>Required?</th> <th>Pipeline Input</th> <th>Default Value</th> </tr> <tr valign='top'> <td>sqlserver&nbsp;</td> <td>&nbsp;</td> <td>true&nbsp;</td> <td>false&nbsp;</td> <td>&nbsp;</td> </tr> <tr valign='top'> <td>dbname&nbsp;</td> <td>&nbsp;</td> <td>true&nbsp;</td> <td>false&nbsp;</td> <td>&nbsp;</td> </tr> </table> <h2> Input Type </h2> <div>None You cannot pipe objects to Remove-SqlDatabase</div> <h2> Return Values </h2> <div>None This function does not generate any output.</div> <h2> Examples </h2> <h3> EXAMPLE 1</h3> <pre>Remove-SqlDatabase "Z002\sql2k8" "NorthwindTestRestore"</pre> <div>This command removes the NorthwindTestRestore database.</div> </body> </html>