ÿþ<html> <head> <title>New-SqlScriptingOptions</title> </head> <body> <h1>New-SqlScriptingOptions</h1> <div>Creates a new Microsoft.SqlServer.Management.Smo.ScriptingOptions.</div> <h2> Syntax </h2> <code>New-SqlScriptingOptions [&lt;CommonParameters&gt;]</code> <h2> Detailed Description </h2> <div> The New-SqlScriptingOptions function creates a new Microsoft.SqlServer.Management.Smo.ScriptingOptions. This class is used for setting various SMO scripting options. </div> <h2> Related Commands </h2> <div> * <a href='New-SqlScriptingOptions Get-SqlScripter.htm'>New-SqlScriptingOptions Get-SqlScripter</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>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </table> <h2> Input Type </h2> <div>None You cannot pipe objects to New-SqlScriptingOptions</div> <h2> Return Values </h2> <div>Microsoft.SqlServer.Management.Smo.ScriptingOptions New-SqlScriptingOptions returns a Microsoft.SqlServer.Management.Smo.ScriptingOptions object.</div> <h2> Notes </h2> <div>ScriptingOptions can be used with Get-SqlScripter. See get-help Get-SqlScripter for additional information.</div> <h2> Examples </h2> <h3> EXAMPLE 1</h3> <pre>$scriptingOptions = New-SqlScriptingOptions</pre> <div>This command creates a new SqlScriptingOptions object and assigns output to $scriptingOptions variable.</div> </body> </html>