en/Microsoft.SqlServer.Management.PSSnapins.dll-Help.xml

<?xml version="1.0" encoding="utf-8"?><helpItems schema="maml">
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>SQLSERVER:</command:name>
        <maml:description>
            <maml:para />
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb></command:verb>
        <command:noun></command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para />
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>SQLSERVER:</maml:name>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters> </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
    </command:examples>
    <maml:relatedLinks>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Add-SqlAvailabilityDatabase</command:name>
        <maml:description>
            <maml:para>Adds primary databases to an availability group or joins secondary databases to an availability group.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Add</command:verb>
        <command:noun>SqlAvailabilityDatabase</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Add-SqlAvailabilityDatabase cmdlet adds primary databases to an availability group or joins secondary databases to an availability group. The InputObject or Path parameter specifies the availability group. A database can belong to only one availability group. </maml:para>
        <maml:para>To add databases to an availability group, run this cmdlet on the server instance that hosts the primary replica. Specify one or more local user databases. </maml:para>
        <maml:para>To join a secondary database to the availability group, manually prepare the secondary database on the server instance that hosts the secondary replica. Then run this cmdlet on the server instance that hosts the secondary replica.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Add-SqlAvailabilityDatabase</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of user databases. This cmdlet adds or joins the databases that this parameter specifies to the availability group. The databases that you specify must reside on the local instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of an availability group to which this cmdlet adds or joins databases. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Add-SqlAvailabilityDatabase</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of user databases. This cmdlet adds or joins the databases that this parameter specifies to the availability group. The databases that you specify must reside on the local instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies availability group, as an AvailabilityGroup object, to which this cmdlet adds or joins databases.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
            <maml:name>Database</maml:name>
            <maml:description>
                <maml:para>Specifies an array of user databases. This cmdlet adds or joins the databases that this parameter specifies to the availability group. The databases that you specify must reside on the local instance of SQL Server.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of an availability group to which this cmdlet adds or joins databases. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies availability group, as an AvailabilityGroup object, to which this cmdlet adds or joins databases.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroup[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Add a database to an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Add-SqlAvailabilityDatabase -Path &quot;SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MainAG&quot; -Database &quot;Database16&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command adds the database Database16 to the availability group MainAG. Run this command on the primary server instance of the availability group. This command does not prepare secondary databases for data synchronization.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Join a database to an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Add-SqlAvailabilityDatabase -Path &quot;SQLSERVER:\SQL\SecondaryServer\InstanceName\AvailabilityGroups\MainAG&quot; -Database &quot;Database16&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command joins a secondary database named Database16 to the availability group MainAG on one of the server instances that hosts a secondary replica.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Add a database and join a secondary database to an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$DatabaseBackupFile = &quot;\\share\backups\Database16.bak&quot;
PS C:\&gt;$LogBackupFile = &quot;\\share\backups\Database16.trn&quot;
PS C:\&gt;$AGPrimaryPath = &quot;SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MainAG&quot;
PS C:\&gt;$MyAGSecondaryPath = &quot;SQLSERVER:\SQL\SecondaryServer\InstanceName\AvailabilityGroups\MainAG&quot;
PS C:\&gt;Backup-SqlDatabase -Database &quot;Database16&quot; -BackupFile $DatabaseBackupFile -ServerInstance &quot;PrimaryServer\InstanceName&quot;
PS C:\&gt;Backup-SqlDatabase -Database &quot;Database16&quot; -BackupFile $LogBackupFile -ServerInstance &quot;PrimaryServer\InstanceName&quot; -BackupAction Log
PS C:\&gt;Restore-SqlDatabase -Database &quot;Database16&quot; -BackupFile $DatabaseBackupFile -ServerInstance &quot;SecondaryServer\InstanceName&quot; -NoRecovery
PS C:\&gt;Restore-SqlDatabase -Database &quot;Database16&quot; -BackupFile $LogBackupFile -ServerInstance &quot;SecondaryServer\InstanceName&quot; -RestoreAction Log -NoRecovery
PS C:\&gt;Add-SqlAvailabilityDatabase -Path $AGPrimaryPath -Database &apos;Database16&apos;
PS C:\&gt;Add-SqlAvailabilityDatabase -Path $AGSecondaryPath -Database &quot;Database16&quot;</dev:code>
            <dev:remarks>
                <maml:para>This example prepares a secondary database from a database on the server instance that hosts the primary replica of an availability group. It adds the database to an availability group as a primary database. Finally, it joins the secondary database to the availability group.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para>The sixth command backs up the log file for Database16 on the primary server to the location in $LogBackupFile.</maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Create a script to add a database to an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Add-SqlAvailabilityDatabase -Path &quot;SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MainAG&quot; -Database &quot;Database16&quot; -Script</dev:code>
            <dev:remarks>
                <maml:para>This command creates a Transact-SQL script that adds the database Database16 to the availability group MainAG.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Backup-SqlDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Restore-SqlDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Resume-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Suspend-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Add-SqlAvailabilityGroupListenerStaticIp</command:name>
        <maml:description>
            <maml:para>Adds a static IP address to an availability group listener.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Add</command:verb>
        <command:noun>SqlAvailabilityGroupListenerStaticIp</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Add-SqlAvailabilityGroupListenerStaticIp cmdlet adds a static IP address to an existing availability group listener configuration. You can specify either an IPv4 address and subnet mask or an IPv6 address Run this cmdlet on the server instance that hosts the primary replica.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Add-SqlAvailabilityGroupListenerStaticIp</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>StaticIp</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of addresses. Each address entry is either an IPv4 address and subnet mask or an IPv6 address. The listener listens on the addresses that this parameter specifies.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the availability group listener that this cmdlet modifies. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Add-SqlAvailabilityGroupListenerStaticIp</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>StaticIp</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of addresses. Each address entry is either an IPv4 address and subnet mask or an IPv6 address. The listener listens on the addresses that this parameter specifies.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the listener, as an AvailabilityGroupListener object, that this cmdlet modifies.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityGroupListener[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>StaticIp</maml:name>
            <maml:description>
                <maml:para>Specifies an array of addresses. Each address entry is either an IPv4 address and subnet mask or an IPv6 address. The listener listens on the addresses that this parameter specifies.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the availability group listener that this cmdlet modifies. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the listener, as an AvailabilityGroupListener object, that this cmdlet modifies.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityGroupListener[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroupListener[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Add an IPv4 address --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Add-SqlAvailabilityGroupListenerStaticIp -Path &quot;SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MainAG\AvailabilityGroupListeners\MainListener&quot; -StaticIp &quot;192.169.0.1/255.255.252.0&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command adds a static IPv4 address to the availability group listener MainListener on the availability group named MainAG. This IPv4 address serves as the virtual IP address of the listener on the subnet 255.255.252.0. If the availability group spans multiple subnets, add a static IP address for each subnet to the listener. Run this cmdlet on the server instance that hosts the primary replica.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Add an IPv6 address --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Add-SqlAvailabilityGroupListenerStaticIp -Path &quot;SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MainAG\AvailabilityGroupListeners\MainListener&quot; -StaticIp &quot;2001:0db8:85a3:0000:0000:8a2e:0370:7334&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command adds a static IPv6 address to the listener MainListener on the availability group MainAG.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Create a script that adds an IPv4 address --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Add-SqlAvailabilityGroupListenerStaticIp -Path &quot;SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MainAg\AvailabilityGroupListeners\MainListener&quot; -StaticIp &quot;192.168.0.1/255.255.255.0&quot; -Script</dev:code>
            <dev:remarks>
                <maml:para>This creates a Transact-SQL script that adds a static IPv4 address to the availability group listener MainListener on the availability group named &#39;MainAG&#39;.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityGroupListener</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlAvailabilityGroupListener</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Add-SqlAzureAuthenticationContext</command:name>
        <maml:description>
            <maml:para>Performs authentication to Azure and acquires an authentication token.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Add</command:verb>
        <command:noun>SqlAzureAuthenticationContext</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Add-SqlAzureAuthenticationContext cmdlet authenticates the specified principal account to Azure Resource Manager. This cmdlet is used in conjunction with some other SQL Windows PowerShell cmdlets that interact with Azure resources, such as Key Vault. This cmdlet needs to be called to perform authentication, before any other cmdlet can interact with an Azure resource.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Add-SqlAzureAuthenticationContext</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Interactive</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet prompts the user for credentials.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Add-SqlAzureAuthenticationContext</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Interactive</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet prompts the user for credentials.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>ActiveDirectoryAuthority</maml:name>
                <maml:description>
                    <maml:para>Specifies the base authority for Azure Active Directory authentication. Same value as the ActiveDirectoryAuthority property from the Azure PowerShell Environment object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>AzureKeyVaultResourceId</maml:name>
                <maml:description>
                    <maml:para>Specifies the resource ID for Azure Key Vault services.&#160;Same value as the AzureKeyVaultServiceEndpointResourceId property from the Azure PowerShell Environment object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Add-SqlAzureAuthenticationContext</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>ClientID</maml:name>
                <maml:description>
                    <maml:para>Specifies the application client ID.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Secret</maml:name>
                <maml:description>
                    <maml:para>Specifies the application secret.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Tenant</maml:name>
                <maml:description>
                    <maml:para>Specifies a tenant in Azure.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Add-SqlAzureAuthenticationContext</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>ClientID</maml:name>
                <maml:description>
                    <maml:para>Specifies the application client ID.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Secret</maml:name>
                <maml:description>
                    <maml:para>Specifies the application secret.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Tenant</maml:name>
                <maml:description>
                    <maml:para>Specifies a tenant in Azure.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>ActiveDirectoryAuthority</maml:name>
                <maml:description>
                    <maml:para>Specifies the base authority for Azure Active Directory authentication. Same value as the ActiveDirectoryAuthority property from the Azure PowerShell Environment object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>AzureKeyVaultResourceId</maml:name>
                <maml:description>
                    <maml:para>Specifies the resource ID for Azure Key Vault services.&#160;Same value as the AzureKeyVaultServiceEndpointResourceId property from the Azure PowerShell Environment object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>Interactive</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet prompts the user for credentials.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>ActiveDirectoryAuthority</maml:name>
            <maml:description>
                <maml:para>Specifies the base authority for Azure Active Directory authentication. Same value as the ActiveDirectoryAuthority property from the Azure PowerShell Environment object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>AzureKeyVaultResourceId</maml:name>
            <maml:description>
                <maml:para>Specifies the resource ID for Azure Key Vault services.&#160;Same value as the AzureKeyVaultServiceEndpointResourceId property from the Azure PowerShell Environment object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>ClientID</maml:name>
            <maml:description>
                <maml:para>Specifies the application client ID.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Secret</maml:name>
            <maml:description>
                <maml:para>Specifies the application secret.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Tenant</maml:name>
            <maml:description>
                <maml:para>Specifies a tenant in Azure.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Prompt a user for credentials to authenticate a user to Azure Resource Manager --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Add-SqlAzureAuthenticationContext -Interactive</dev:code>
            <dev:remarks>
                <maml:para>This command prompts a user for a username and a password and then authenticates the user to Azure Resource Manager.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Authenticate a user to Azure Resource Manager --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Add-SqlAzureAuthenticationContext -ClientID ad34ca5a-a479-4cf4-b166-a2177b32d33e -Secret YU!KaoUa/JI8gvf6wT0p4m9AQE+sGB6oFY/iUdk2DHk= -Tenant &quot;41fb6cc6-96f4-479d-bafd-a2e4810eb100&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command performs authentication of the application principal with the specified client ID, which has been defined in the specified tenant, to Azure Resource Manager.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SQLServer_Cmdlets</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Add-SqlColumnEncryptionKeyValue</command:name>
        <maml:description>
            <maml:para>Adds an encrypted value for an existing column encryption key object in the database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Add</command:verb>
        <command:noun>SqlColumnEncryptionKeyValue</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Add-SqlColumnEncryptionKeyValue cmdlet adds a column encryption key object in the database, by adding an entry for a new encrypted value. Initially, a column encryption key object contains one entry containing an encrypted value of a column encryption key for Always Encrypted. This cmdlet adds the second encrypted value entry, in order to support a rotating column master key. Both the new and the initial encrypted value should represent the same plaintext key, but they should be produced using different column master keys.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Add-SqlColumnEncryptionKeyValue</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key that is used to produce the encrypted value that this cmdlet adds to the database.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptedValue</maml:name>
                <maml:description>
                    <maml:para>Specifies the encrypted value that this cmdlet adds to the database. You are responsible that the encrypted value, if specified, has been generated using the specified column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column encryption key object that this cmdlet modifies.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL database object for which this cmdlet runs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a script to add the SQL column encryption key value.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Add-SqlColumnEncryptionKeyValue</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key that is used to produce the encrypted value that this cmdlet adds to the database.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptedValue</maml:name>
                <maml:description>
                    <maml:para>Specifies the encrypted value that this cmdlet adds to the database. You are responsible that the encrypted value, if specified, has been generated using the specified column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column encryption key object that this cmdlet modifies.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL database for which this cmdlet runs the operation. If you do not specify the value of this parameter, this cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a script to add the SQL column encryption key value.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ColumnMasterKeyName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column master key that is used to produce the encrypted value that this cmdlet adds to the database.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EncryptedValue</maml:name>
            <maml:description>
                <maml:para>Specifies the encrypted value that this cmdlet adds to the database. You are responsible that the encrypted value, if specified, has been generated using the specified column master key.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column encryption key object that this cmdlet modifies.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL database object for which this cmdlet runs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet runs a script to add the SQL column encryption key value.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL database for which this cmdlet runs the operation. If you do not specify the value of this parameter, this cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Add an encrypted value for an existing column encryption key --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Add-SqlColumnEncryptionKeyValue -Name &quot;CEK1&quot; -InputObject $Database -ColumnMasterKeyName &quot;CMK2&quot; -ColumnEncryptionKeyCiphertext &quot;0x016E000001630075007200720065006E00740075007300650072002F006D0079002F006200330039003900340035006200370031003100330037003700350032006400380061003100310033003900660035006200640036006400380066003700330038006600320033006200360032003000307925663D2C3E275DD272E15E606927DA4326F5735C2C8E84F91B9EFE44F503ED01C130984E83AF4513F8A4A8D0878D42364E958291AE25111A868D25B69FC5143EEC04131DA27D05F3442CB665ACB4BB3F6A7A9F07DBD5D212A772414A2CCA03BEBEB7BF0E22C644C715D739B983872AFB2D390229A0B5311BCA07E3C1D857EE8982320BBBE9382C960B9674E3CC3D618AD623D6A362BEAEF68B1B1BB49660DD643A4375A9285CD9EAA5B13BFE2792DA92025351E7B6067BA07B6178D03041F40F00D84326627094C9D6944DD912497B080058A529D2DA11C8D609604449714420B4E44ECD1EB26DEE18BF712146A51DD99A02E3D4EE692A503CF02F874497010772DE743DDFB2A74801AC9A94C876D1F93554B70CE0ECC437E7FC28BC11A08222977CDA807E256ED536C41700C631878226E513AFE1199A1DB4732F975AA09A1E75B8A19802AE018871A7A0AD5B1E29B942F30490EDABD310A4170B991EBCFDA2AFE43285D5406476204B381D8A33EEB0B967073B4C0127B1C7F0281AB310EE4B9A3C2D3EAB44A1F5D15D4739FFAEF6110ED4808446F6A05DBF4121B2B33A0AF5A457CD38F895B8F7ABDF792E3ADBC3AF55B1442625F88F80127D08DE9E4AC1BB2AAA46843A477135053CEEFA4327D8C999C16D8B49C225F34AD7588A5F9E93FB5532B1F1DC5AFB3CE23DDC8DC12327DD6B5985104D14F4A1BC0F61F0AACD&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command adds a new encrypted value for the column encryption key database object named CEK1. The new value is encrypted with the column master key, named CMK2.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlColumnEncryptionKeyEncryptedValue</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlColumnEncryptionKeyValue</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Add-SqlFirewallRule</command:name>
        <maml:description>
            <maml:para>Adds a Windows Firewall rule to allow connections to a specific instance of SQL Server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Add</command:verb>
        <command:noun>SqlFirewallRule</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Add-SqlFirewallRule cmdlet adds a Windows Firewall rule to allow connections for the specified instance of SQL Server. </maml:para>
        <maml:para>The SQL Server Cloud Adapter must be running and accessible on the computer that hosts the instance of SQL Server.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation:</maml:para>
        <maml:para>-- Specify the instance Windows PowerShell path.
-- Specify the server object.
-- Specify the server instance of the target instance of SQL Server.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Add-SqlFirewallRule</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of SQL Server on which this cmdlet runs the operation. If this parameter is not specified, the value of this parameter defaults to the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target machine. This parameter is used when the ports of the target machine are not directly accessible but are exposed through endpoints, which means that they need to be connected to a different port.</maml:para>
                    <maml:para>The SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target server. After the timeout expires, no retry is attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Add-SqlFirewallRule</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server object of the target instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target machine. This parameter is used when the ports of the target machine are not directly accessible but are exposed through endpoints, which means that they need to be connected to a different port.</maml:para>
                    <maml:para>The SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target server. After the timeout expires, no retry is attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Add-SqlFirewallRule</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server, as an array, that becomes the target of the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target machine. This parameter is used when the ports of the target machine are not directly accessible but are exposed through endpoints, which means that they need to be connected to a different port.</maml:para>
                    <maml:para>The SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target server. After the timeout expires, no retry is attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of SQL Server on which this cmdlet runs the operation. If this parameter is not specified, the value of this parameter defaults to the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ManagementPublicPort</maml:name>
            <maml:description>
                <maml:para>Specifies the public management port on the target machine. This parameter is used when the ports of the target machine are not directly accessible but are exposed through endpoints, which means that they need to be connected to a different port.</maml:para>
                <maml:para>The SQL Server Cloud Adapter must be accessible by this port.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>RetryTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the time period to retry the command on the target server. After the timeout expires, no retry is attempted.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server object of the target instance of SQL Server.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            <dev:type>
                <maml:name>Server[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server, as an array, that becomes the target of the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Add a Windows Firewall rule on the local computer --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
PS SQLSERVER:\SQL\Computer\Instance&gt; Add-SqlFirewallRule -Credential $Credential -AcceptSelfSignedCertificate;</dev:code>
            <dev:remarks>
                <maml:para>The first command changes directory to the SQL Server computer instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Add a Windows Firewall rule on the local computer through a pipe --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlInstance -Credential $Credential -MachineName &quot;Computer001&quot; | Add-SqlFirewallRule -Credential $Credential -AcceptSelfSignedCertificate;</dev:code>
            <dev:remarks>
                <maml:para>This command gets the SQL Server instance based on the credentials stored in the variable named $Credentials. The command then pipes the SQL Server instances of SQL Server on the computer named Computer001. The command then adds Windows Firewall rules to allow connections for each one of the instances. The self-signed certificate of the target machine is automatically accepted without prompting the user.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlFirewallRule</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Add-SqlLogin</command:name>
        <maml:description>
            <maml:para>Creates a Login object in an instance of SQL Server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Add</command:verb>
        <command:noun>SqlLogin</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Add-SqlLogin cmdlet creates a Login object in an instance of SQL Server.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Add-SqlLogin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginName</maml:name>
                <maml:description>
                    <maml:para>Specifies a name for the Login object. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginType</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of the Login object as a Microsoft.SqlServer.Management.Smo.LoginType value. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AsymmetricKey
-- Certificate
-- SqlLogin
-- WindowsGroup
-- WindowsUser </maml:para>
                    <maml:para>At this time, the cmdlet does not support ExternalUser or ExternalGroup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">LoginType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DefaultDatabase</maml:name>
                <maml:description>
                    <maml:para>Specify the default database for the Login object. The default value is master.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EnforcePasswordPolicy</maml:name>
                <maml:description>
                    <maml:para>Indicates that the password policy is enforced for the Login object.</maml:para>
                    <maml:para>This parameter applies only SqlLogin type objects.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EnforcePasswordExpiration</maml:name>
                <maml:description>
                    <maml:para>Indicates that the password expiration policy is enforced for the Login object. </maml:para>
                    <maml:para>This parameter applies only SqlLogin type objects. This parameter implies the EnforcePasswordPolicy parameter. You do not have to specify both.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MustChangePasswordAtNextLogin</maml:name>
                <maml:description>
                    <maml:para>Indicates that the user must change the password at the next login.</maml:para>
                    <maml:para>This parameter applies only SqlLogin type objects. This parameter implies the EnforcePasswordExpiration parameter. You do not have to specify both.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Certificate</maml:name>
                <maml:description>
                    <maml:para>Specify the name of the certificate for the Login object. If LoginType has the value Certificate, specify a certificate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AsymmetricKey</maml:name>
                <maml:description>
                    <maml:para>Specify the name of the asymmetric key for the Login object. If the LoginType parameter has the value AsymmetricKey, specify an asymmetric key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CredentialName</maml:name>
                <maml:description>
                    <maml:para>Specify the name of the credential for the Login object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginPSCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object that allows the Login object to provide name and password without a prompt.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Enable</maml:name>
                <maml:description>
                    <maml:para>Indicates that the Login object is enabled. By default, Login objects are disabled. </maml:para>
                    <maml:para>WindowsGroup type objects are always enabled. This parameter does not affect them.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>GrantConnectSql</maml:name>
                <maml:description>
                    <maml:para>Indicates that the Login object is not denied permissions to connect to the database engine. By default, Login objects are denied permissions to connect to the database engine.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL Server on which this cmdlet runs the operation. The default value is the current working directory.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Add-SqlLogin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginName</maml:name>
                <maml:description>
                    <maml:para>Specifies a name for the Login object. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginType</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of the Login object as a Microsoft.SqlServer.Management.Smo.LoginType value. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AsymmetricKey
-- Certificate
-- SqlLogin
-- WindowsGroup
-- WindowsUser </maml:para>
                    <maml:para>At this time, the cmdlet does not support ExternalUser or ExternalGroup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">LoginType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DefaultDatabase</maml:name>
                <maml:description>
                    <maml:para>Specify the default database for the Login object. The default value is master.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EnforcePasswordPolicy</maml:name>
                <maml:description>
                    <maml:para>Indicates that the password policy is enforced for the Login object.</maml:para>
                    <maml:para>This parameter applies only SqlLogin type objects.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EnforcePasswordExpiration</maml:name>
                <maml:description>
                    <maml:para>Indicates that the password expiration policy is enforced for the Login object. </maml:para>
                    <maml:para>This parameter applies only SqlLogin type objects. This parameter implies the EnforcePasswordPolicy parameter. You do not have to specify both.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MustChangePasswordAtNextLogin</maml:name>
                <maml:description>
                    <maml:para>Indicates that the user must change the password at the next login.</maml:para>
                    <maml:para>This parameter applies only SqlLogin type objects. This parameter implies the EnforcePasswordExpiration parameter. You do not have to specify both.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Certificate</maml:name>
                <maml:description>
                    <maml:para>Specify the name of the certificate for the Login object. If LoginType has the value Certificate, specify a certificate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AsymmetricKey</maml:name>
                <maml:description>
                    <maml:para>Specify the name of the asymmetric key for the Login object. If the LoginType parameter has the value AsymmetricKey, specify an asymmetric key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CredentialName</maml:name>
                <maml:description>
                    <maml:para>Specify the name of the credential for the Login object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginPSCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object that allows the Login object to provide name and password without a prompt.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Enable</maml:name>
                <maml:description>
                    <maml:para>Indicates that the Login object is enabled. By default, Login objects are disabled. </maml:para>
                    <maml:para>WindowsGroup type objects are always enabled. This parameter does not affect them.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>GrantConnectSql</maml:name>
                <maml:description>
                    <maml:para>Indicates that the Login object is not denied permissions to connect to the database engine. By default, Login objects are denied permissions to connect to the database engine.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an SQL Server Management Objects (SMO) object the SQL Server on which this cmdlet operates.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Add-SqlLogin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginName</maml:name>
                <maml:description>
                    <maml:para>Specifies a name for the Login object. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginType</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of the Login object as a Microsoft.SqlServer.Management.Smo.LoginType value. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AsymmetricKey
-- Certificate
-- SqlLogin
-- WindowsGroup
-- WindowsUser </maml:para>
                    <maml:para>At this time, the cmdlet does not support ExternalUser or ExternalGroup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">LoginType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DefaultDatabase</maml:name>
                <maml:description>
                    <maml:para>Specify the default database for the Login object. The default value is master.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EnforcePasswordPolicy</maml:name>
                <maml:description>
                    <maml:para>Indicates that the password policy is enforced for the Login object.</maml:para>
                    <maml:para>This parameter applies only SqlLogin type objects.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EnforcePasswordExpiration</maml:name>
                <maml:description>
                    <maml:para>Indicates that the password expiration policy is enforced for the Login object. </maml:para>
                    <maml:para>This parameter applies only SqlLogin type objects. This parameter implies the EnforcePasswordPolicy parameter. You do not have to specify both.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MustChangePasswordAtNextLogin</maml:name>
                <maml:description>
                    <maml:para>Indicates that the user must change the password at the next login.</maml:para>
                    <maml:para>This parameter applies only SqlLogin type objects. This parameter implies the EnforcePasswordExpiration parameter. You do not have to specify both.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Certificate</maml:name>
                <maml:description>
                    <maml:para>Specify the name of the certificate for the Login object. If LoginType has the value Certificate, specify a certificate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AsymmetricKey</maml:name>
                <maml:description>
                    <maml:para>Specify the name of the asymmetric key for the Login object. If the LoginType parameter has the value AsymmetricKey, specify an asymmetric key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CredentialName</maml:name>
                <maml:description>
                    <maml:para>Specify the name of the credential for the Login object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginPSCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object that allows the Login object to provide name and password without a prompt.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Enable</maml:name>
                <maml:description>
                    <maml:para>Indicates that the Login object is enabled. By default, Login objects are disabled. </maml:para>
                    <maml:para>WindowsGroup type objects are always enabled. This parameter does not affect them.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>GrantConnectSql</maml:name>
                <maml:description>
                    <maml:para>Indicates that the Login object is not denied permissions to connect to the database engine. By default, Login objects are denied permissions to connect to the database engine.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>LoginName</maml:name>
            <maml:description>
                <maml:para>Specifies a name for the Login object. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>LoginType</maml:name>
            <maml:description>
                <maml:para>Specifies the type of the Login object as a Microsoft.SqlServer.Management.Smo.LoginType value. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- AsymmetricKey
-- Certificate
-- SqlLogin
-- WindowsGroup
-- WindowsUser </maml:para>
                <maml:para>At this time, the cmdlet does not support ExternalUser or ExternalGroup.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">LoginType</command:parameterValue>
            <dev:type>
                <maml:name>LoginType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DefaultDatabase</maml:name>
            <maml:description>
                <maml:para>Specify the default database for the Login object. The default value is master.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EnforcePasswordPolicy</maml:name>
            <maml:description>
                <maml:para>Indicates that the password policy is enforced for the Login object.</maml:para>
                <maml:para>This parameter applies only SqlLogin type objects.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EnforcePasswordExpiration</maml:name>
            <maml:description>
                <maml:para>Indicates that the password expiration policy is enforced for the Login object. </maml:para>
                <maml:para>This parameter applies only SqlLogin type objects. This parameter implies the EnforcePasswordPolicy parameter. You do not have to specify both.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MustChangePasswordAtNextLogin</maml:name>
            <maml:description>
                <maml:para>Indicates that the user must change the password at the next login.</maml:para>
                <maml:para>This parameter applies only SqlLogin type objects. This parameter implies the EnforcePasswordExpiration parameter. You do not have to specify both.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Certificate</maml:name>
            <maml:description>
                <maml:para>Specify the name of the certificate for the Login object. If LoginType has the value Certificate, specify a certificate.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AsymmetricKey</maml:name>
            <maml:description>
                <maml:para>Specify the name of the asymmetric key for the Login object. If the LoginType parameter has the value AsymmetricKey, specify an asymmetric key.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>CredentialName</maml:name>
            <maml:description>
                <maml:para>Specify the name of the credential for the Login object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>LoginPSCredential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object that allows the Login object to provide name and password without a prompt.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Enable</maml:name>
            <maml:description>
                <maml:para>Indicates that the Login object is enabled. By default, Login objects are disabled. </maml:para>
                <maml:para>WindowsGroup type objects are always enabled. This parameter does not affect them.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>GrantConnectSql</maml:name>
            <maml:description>
                <maml:para>Indicates that the Login object is not denied permissions to connect to the database engine. By default, Login objects are denied permissions to connect to the database engine.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL Server on which this cmdlet runs the operation. The default value is the current working directory.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an SQL Server Management Objects (SMO) object the SQL Server on which this cmdlet operates.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create an SqlLogin type --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Add-SqlLogin -ServerInstance &quot;MyServerInstance&quot; -LoginName &quot;MyLogin&quot; -LoginType &quot;SqlLogin&quot; -DefaultDatabase &quot;OtherDatabase&quot;
Name Login Type Created
---- ---------- -------
MyLogin SqlLogin 8/11/2016 3:19 PM</dev:code>
            <dev:remarks>
                <maml:para>This command creates a Login object that is named MyLogin of the type SqlLogin. The command specifies its default database as OtherDatabase in the server instance named MyServerInstance. This command prompts you for a password for the Login.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Create an asymmetric key type --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Add-SqlLogin -ServerInstance &quot;MyServerInstance&quot; -LoginName &quot;MyLogin&quot; -LoginType &quot;AsymmetricKey&quot; -AsymmetricKey &quot;MyKey&quot; -CredentialName &quot;MyCredential&quot;
Name Login Type Created
---- ---------- -------
MyLogin AsymmetricKey 8/11/2016 4:08 PM</dev:code>
            <dev:remarks>
                <maml:para>This command creates a Login object that is named MyLogin of the type AsymmetricKey. It specifies an asymmetric key that is named MyKey. Also it maps the credential called MyCredential to the new Login object. The command operates in the server instance named MyServerInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlLogin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlLogin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Backup-SqlDatabase</command:name>
        <maml:description>
            <maml:para>Backs up SQL Server database objects.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Backup</command:verb>
        <command:noun>SqlDatabase</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Backup-SqlDatabase cmdlet performs backup operations on a SQL Server database. This includes full database backups, transaction log backups, and database file backups. This cmdlet is modeled after the Microsoft.SqlServer.Management.Smo.Backup class. The parameters on this class generally correspond to properties on that Smo object.</maml:para>
        <maml:para>To back up a database by server instance path and database name, specify the server instance path in the Path parameter and the database name in the Database parameter.</maml:para>
        <maml:para>To back up a database using an Smo.Server object and database name, specify the Smo.Server object in the InputObject parameter, either directly or by using the pipeline operator, and the database name in the Database parameter.</maml:para>
        <maml:para>To back up a database by server instance and database name, specify the server instance in the ServerInstance parameter and the database name in the Database parameter.</maml:para>
        <maml:para>To back up a database using an Smo.Database object, specify the Smo.Database object in the DatabaseObject parameter, either directly or by using the pipeline operator.</maml:para>
        <maml:para>By default this cmdlet performs a full database backup. Set the type of the backup by using the BackupAction parameter.</maml:para>
        <maml:para>By default the backup file is stored in the default server backup location under the name databasename.bak for full and/or file backups and under the name databasename.trn for log backups. To specify a different file name, use the BackupFile parameter.</maml:para>
        <maml:para>To specify a backup file location and use an auto-generated file name, specify the location by using the BackupContainer parameter.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Backup-SqlDatabase</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupContainer</maml:name>
                <maml:description>
                    <maml:para>Specifies the folder or location where the cmdlet stores backups. This can be a folder on a disk or URL for an Azure Blob container. This parameter can be useful when backing up multiple databases in a given instance. This parameter cannot be used with a BackupDevice parameter. The BackupContainer parameter cannot be used with the BackupFile parameter. </maml:para>
                    <maml:para>The path used to specify the location should end with a forward slash (/).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>MirrorDevices</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of BackupDeviceList objects used by the mirrored backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceList[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupAction</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of backup operation to perform. Valid values are: </maml:para>
                    <maml:para>-- Database. Backs up all the data files in the database.
-- Files. Backs up data files specified in the DatabaseFile or DatabaseFileGroup parameters.
-- Log. Backs up the transaction log.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupSetName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupSetDescription</maml:name>
                <maml:description>
                    <maml:para>Specifies the description of the backup set. This parameter is optional.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CompressionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the compression options for the backup operation. Valid values are: </maml:para>
                    <maml:para>-- Default
-- On
-- Off</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CopyOnly</maml:name>
                <maml:description>
                    <maml:para>Indicates that the backup is a copy-only backup. A copy-only backup does not affect the normal sequence of your regularly scheduled conventional backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ExpirationDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date and time when the backup set expires and the backup data is no longer considered valid. This can only be used for backup data stored on disk or tape devices. Backup sets older than the expiration date are available to be overwritten by a later backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FormatMedia</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape is formatted as the first step of the backup operation. This doesnot apply to a disk backup.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Incremental</maml:name>
                <maml:description>
                    <maml:para>Indicates that a differential backup is performed.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Initialize</maml:name>
                <maml:description>
                    <maml:para>Indicates that devices associated with the backup operation are initialized. This overwrites any existing backup sets on the media and makes this backup the first backup set on the media.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LogTruncationType</maml:name>
                <maml:description>
                    <maml:para>Specifies the truncation behavior for log backups. Valid values are: </maml:para>
                    <maml:para>-- TruncateOnly
-- NoTruncate
-- Truncate </maml:para>
                    <maml:para>The default value is Truncate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupTruncateLogType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaDescription</maml:name>
                <maml:description>
                    <maml:para>Specifies the description for the medium that contains the backup set. This parameter is optional.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetainDays</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of days that must elapse before a backup set can be overwritten. This can only be used for backup data stored on disk or tape devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SkipTapeHeader</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape header is not read.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UndoFileName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the undo file used to store uncommitted transactions that are rolled back during recovery.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the encryption options for the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupEncryptionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database to back up. This parameter cannot be used with the DatabaseObject parameter. When this parameter is specified, the Path, InputObject, or ServerInstance parameters must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of SQL Server to execute the backup operation. This is an optional parameter. If not specified, the value of this parameter defaults to the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>BackupFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the location and file name of the backup. This is an optional parameter. If not specified, the backups are stored in the default backup location of the server under the name databasename.bak for full and file backups, or databasename.trn for log backups. This parameter cannot be used with the BackupDevice or BackupContainer parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies an SQL Server credential object that stores authentication information. If you are backing up to Blob storage service, you must specify this parameter. The authentication information stored includes the Storage account name and the associated access key values. Do not specify this parameter for disk or tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupDevice</maml:name>
                <maml:description>
                    <maml:para>Specifies the devices where the backups are stored. This parameter cannot be used with the BackupFile parameter. Use this parameter if you are backing up to tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceItem[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PassThru</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet outputs the Smo.Backup object that performed the backup.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Checksum</maml:name>
                <maml:description>
                    <maml:para>Indicates that a checksum value is calculated during the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ContinueAfterError</maml:name>
                <maml:description>
                    <maml:para>Indicates that the operation continues when a checksum error occurs. If not set, the operation will fail after a checksum error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRewind</maml:name>
                <maml:description>
                    <maml:para>Indicates that a tape drive is left open at the ending position when the backup completes. When not set, the tape is rewound after the operation completes. This does not apply to disk or URL backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Restart</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet continues processing a partially completed backup operation. If not set, the cmdlet restarts an interrupted backup operation at the beginning of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UnloadTapeAfter</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape device is rewound and unloaded when the operation finishes. If not set, no attempt is made to rewind and unload the tape medium. This does not apply to disk or URL backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRecovery</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tail end of the log is not backed up. When restored, the database is in the restoring state. When not set, the tail end of the log is backed up. This only applies when the BackupAction parameter is set to Log.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFile</maml:name>
                <maml:description>
                    <maml:para>Specifies one or more database files to back up. This parameter is only used when BackupAction is set to Files. When BackupAction is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFileGroup</maml:name>
                <maml:description>
                    <maml:para>Specifies the database file groups targeted by the backup operation. This parameter is only used when BackupAction property is set to Files. When BackupAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BlockSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the physical block size for the backup, in bytes. The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 for all other devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BufferCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of I/O buffers to use for the backup operation. You can specify any positive integer. If there is insufficient virtual address space in the Sqlservr.exe process for the buffers, you will receive an out of memory error.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxTransferSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of bytes to be transferred between the backup media and the instance of SQL Server. The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name used to identify the media set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Backup-SqlDatabase</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupContainer</maml:name>
                <maml:description>
                    <maml:para>Specifies the folder or location where the cmdlet stores backups. This can be a folder on a disk or URL for an Azure Blob container. This parameter can be useful when backing up multiple databases in a given instance. This parameter cannot be used with a BackupDevice parameter. The BackupContainer parameter cannot be used with the BackupFile parameter. </maml:para>
                    <maml:para>The path used to specify the location should end with a forward slash (/).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>MirrorDevices</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of BackupDeviceList objects used by the mirrored backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceList[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupAction</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of backup operation to perform. Valid values are: </maml:para>
                    <maml:para>-- Database. Backs up all the data files in the database.
-- Files. Backs up data files specified in the DatabaseFile or DatabaseFileGroup parameters.
-- Log. Backs up the transaction log.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupSetName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupSetDescription</maml:name>
                <maml:description>
                    <maml:para>Specifies the description of the backup set. This parameter is optional.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CompressionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the compression options for the backup operation. Valid values are: </maml:para>
                    <maml:para>-- Default
-- On
-- Off</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CopyOnly</maml:name>
                <maml:description>
                    <maml:para>Indicates that the backup is a copy-only backup. A copy-only backup does not affect the normal sequence of your regularly scheduled conventional backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ExpirationDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date and time when the backup set expires and the backup data is no longer considered valid. This can only be used for backup data stored on disk or tape devices. Backup sets older than the expiration date are available to be overwritten by a later backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FormatMedia</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape is formatted as the first step of the backup operation. This doesnot apply to a disk backup.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Incremental</maml:name>
                <maml:description>
                    <maml:para>Indicates that a differential backup is performed.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Initialize</maml:name>
                <maml:description>
                    <maml:para>Indicates that devices associated with the backup operation are initialized. This overwrites any existing backup sets on the media and makes this backup the first backup set on the media.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LogTruncationType</maml:name>
                <maml:description>
                    <maml:para>Specifies the truncation behavior for log backups. Valid values are: </maml:para>
                    <maml:para>-- TruncateOnly
-- NoTruncate
-- Truncate </maml:para>
                    <maml:para>The default value is Truncate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupTruncateLogType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaDescription</maml:name>
                <maml:description>
                    <maml:para>Specifies the description for the medium that contains the backup set. This parameter is optional.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetainDays</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of days that must elapse before a backup set can be overwritten. This can only be used for backup data stored on disk or tape devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SkipTapeHeader</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape header is not read.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UndoFileName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the undo file used to store uncommitted transactions that are rolled back during recovery.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the encryption options for the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupEncryptionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database to back up. This parameter cannot be used with the DatabaseObject parameter. When this parameter is specified, the Path, InputObject, or ServerInstance parameters must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server object for the backup location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>BackupFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the location and file name of the backup. This is an optional parameter. If not specified, the backups are stored in the default backup location of the server under the name databasename.bak for full and file backups, or databasename.trn for log backups. This parameter cannot be used with the BackupDevice or BackupContainer parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies an SQL Server credential object that stores authentication information. If you are backing up to Blob storage service, you must specify this parameter. The authentication information stored includes the Storage account name and the associated access key values. Do not specify this parameter for disk or tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupDevice</maml:name>
                <maml:description>
                    <maml:para>Specifies the devices where the backups are stored. This parameter cannot be used with the BackupFile parameter. Use this parameter if you are backing up to tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceItem[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PassThru</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet outputs the Smo.Backup object that performed the backup.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Checksum</maml:name>
                <maml:description>
                    <maml:para>Indicates that a checksum value is calculated during the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ContinueAfterError</maml:name>
                <maml:description>
                    <maml:para>Indicates that the operation continues when a checksum error occurs. If not set, the operation will fail after a checksum error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRewind</maml:name>
                <maml:description>
                    <maml:para>Indicates that a tape drive is left open at the ending position when the backup completes. When not set, the tape is rewound after the operation completes. This does not apply to disk or URL backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Restart</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet continues processing a partially completed backup operation. If not set, the cmdlet restarts an interrupted backup operation at the beginning of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UnloadTapeAfter</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape device is rewound and unloaded when the operation finishes. If not set, no attempt is made to rewind and unload the tape medium. This does not apply to disk or URL backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRecovery</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tail end of the log is not backed up. When restored, the database is in the restoring state. When not set, the tail end of the log is backed up. This only applies when the BackupAction parameter is set to Log.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFile</maml:name>
                <maml:description>
                    <maml:para>Specifies one or more database files to back up. This parameter is only used when BackupAction is set to Files. When BackupAction is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFileGroup</maml:name>
                <maml:description>
                    <maml:para>Specifies the database file groups targeted by the backup operation. This parameter is only used when BackupAction property is set to Files. When BackupAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BlockSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the physical block size for the backup, in bytes. The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 for all other devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BufferCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of I/O buffers to use for the backup operation. You can specify any positive integer. If there is insufficient virtual address space in the Sqlservr.exe process for the buffers, you will receive an out of memory error.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxTransferSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of bytes to be transferred between the backup media and the instance of SQL Server. The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name used to identify the media set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Backup-SqlDatabase</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupContainer</maml:name>
                <maml:description>
                    <maml:para>Specifies the folder or location where the cmdlet stores backups. This can be a folder on a disk or URL for an Azure Blob container. This parameter can be useful when backing up multiple databases in a given instance. This parameter cannot be used with a BackupDevice parameter. The BackupContainer parameter cannot be used with the BackupFile parameter. </maml:para>
                    <maml:para>The path used to specify the location should end with a forward slash (/).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>MirrorDevices</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of BackupDeviceList objects used by the mirrored backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceList[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupAction</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of backup operation to perform. Valid values are: </maml:para>
                    <maml:para>-- Database. Backs up all the data files in the database.
-- Files. Backs up data files specified in the DatabaseFile or DatabaseFileGroup parameters.
-- Log. Backs up the transaction log.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupSetName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupSetDescription</maml:name>
                <maml:description>
                    <maml:para>Specifies the description of the backup set. This parameter is optional.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CompressionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the compression options for the backup operation. Valid values are: </maml:para>
                    <maml:para>-- Default
-- On
-- Off</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CopyOnly</maml:name>
                <maml:description>
                    <maml:para>Indicates that the backup is a copy-only backup. A copy-only backup does not affect the normal sequence of your regularly scheduled conventional backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ExpirationDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date and time when the backup set expires and the backup data is no longer considered valid. This can only be used for backup data stored on disk or tape devices. Backup sets older than the expiration date are available to be overwritten by a later backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FormatMedia</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape is formatted as the first step of the backup operation. This doesnot apply to a disk backup.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Incremental</maml:name>
                <maml:description>
                    <maml:para>Indicates that a differential backup is performed.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Initialize</maml:name>
                <maml:description>
                    <maml:para>Indicates that devices associated with the backup operation are initialized. This overwrites any existing backup sets on the media and makes this backup the first backup set on the media.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LogTruncationType</maml:name>
                <maml:description>
                    <maml:para>Specifies the truncation behavior for log backups. Valid values are: </maml:para>
                    <maml:para>-- TruncateOnly
-- NoTruncate
-- Truncate </maml:para>
                    <maml:para>The default value is Truncate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupTruncateLogType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaDescription</maml:name>
                <maml:description>
                    <maml:para>Specifies the description for the medium that contains the backup set. This parameter is optional.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetainDays</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of days that must elapse before a backup set can be overwritten. This can only be used for backup data stored on disk or tape devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SkipTapeHeader</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape header is not read.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UndoFileName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the undo file used to store uncommitted transactions that are rolled back during recovery.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the encryption options for the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupEncryptionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>BackupFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the location and file name of the backup. This is an optional parameter. If not specified, the backups are stored in the default backup location of the server under the name databasename.bak for full and file backups, or databasename.trn for log backups. This parameter cannot be used with the BackupDevice or BackupContainer parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies an SQL Server credential object that stores authentication information. If you are backing up to Blob storage service, you must specify this parameter. The authentication information stored includes the Storage account name and the associated access key values. Do not specify this parameter for disk or tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupDevice</maml:name>
                <maml:description>
                    <maml:para>Specifies the devices where the backups are stored. This parameter cannot be used with the BackupFile parameter. Use this parameter if you are backing up to tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceItem[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PassThru</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet outputs the Smo.Backup object that performed the backup.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Checksum</maml:name>
                <maml:description>
                    <maml:para>Indicates that a checksum value is calculated during the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ContinueAfterError</maml:name>
                <maml:description>
                    <maml:para>Indicates that the operation continues when a checksum error occurs. If not set, the operation will fail after a checksum error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRewind</maml:name>
                <maml:description>
                    <maml:para>Indicates that a tape drive is left open at the ending position when the backup completes. When not set, the tape is rewound after the operation completes. This does not apply to disk or URL backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Restart</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet continues processing a partially completed backup operation. If not set, the cmdlet restarts an interrupted backup operation at the beginning of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UnloadTapeAfter</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape device is rewound and unloaded when the operation finishes. If not set, no attempt is made to rewind and unload the tape medium. This does not apply to disk or URL backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRecovery</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tail end of the log is not backed up. When restored, the database is in the restoring state. When not set, the tail end of the log is backed up. This only applies when the BackupAction parameter is set to Log.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFile</maml:name>
                <maml:description>
                    <maml:para>Specifies one or more database files to back up. This parameter is only used when BackupAction is set to Files. When BackupAction is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFileGroup</maml:name>
                <maml:description>
                    <maml:para>Specifies the database file groups targeted by the backup operation. This parameter is only used when BackupAction property is set to Files. When BackupAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BlockSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the physical block size for the backup, in bytes. The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 for all other devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BufferCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of I/O buffers to use for the backup operation. You can specify any positive integer. If there is insufficient virtual address space in the Sqlservr.exe process for the buffers, you will receive an out of memory error.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxTransferSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of bytes to be transferred between the backup media and the instance of SQL Server. The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name used to identify the media set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Backup-SqlDatabase</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupContainer</maml:name>
                <maml:description>
                    <maml:para>Specifies the folder or location where the cmdlet stores backups. This can be a folder on a disk or URL for an Azure Blob container. This parameter can be useful when backing up multiple databases in a given instance. This parameter cannot be used with a BackupDevice parameter. The BackupContainer parameter cannot be used with the BackupFile parameter. </maml:para>
                    <maml:para>The path used to specify the location should end with a forward slash (/).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>MirrorDevices</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of BackupDeviceList objects used by the mirrored backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceList[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupAction</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of backup operation to perform. Valid values are: </maml:para>
                    <maml:para>-- Database. Backs up all the data files in the database.
-- Files. Backs up data files specified in the DatabaseFile or DatabaseFileGroup parameters.
-- Log. Backs up the transaction log.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupSetName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupSetDescription</maml:name>
                <maml:description>
                    <maml:para>Specifies the description of the backup set. This parameter is optional.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CompressionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the compression options for the backup operation. Valid values are: </maml:para>
                    <maml:para>-- Default
-- On
-- Off</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CopyOnly</maml:name>
                <maml:description>
                    <maml:para>Indicates that the backup is a copy-only backup. A copy-only backup does not affect the normal sequence of your regularly scheduled conventional backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ExpirationDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date and time when the backup set expires and the backup data is no longer considered valid. This can only be used for backup data stored on disk or tape devices. Backup sets older than the expiration date are available to be overwritten by a later backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FormatMedia</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape is formatted as the first step of the backup operation. This doesnot apply to a disk backup.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Incremental</maml:name>
                <maml:description>
                    <maml:para>Indicates that a differential backup is performed.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Initialize</maml:name>
                <maml:description>
                    <maml:para>Indicates that devices associated with the backup operation are initialized. This overwrites any existing backup sets on the media and makes this backup the first backup set on the media.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LogTruncationType</maml:name>
                <maml:description>
                    <maml:para>Specifies the truncation behavior for log backups. Valid values are: </maml:para>
                    <maml:para>-- TruncateOnly
-- NoTruncate
-- Truncate </maml:para>
                    <maml:para>The default value is Truncate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupTruncateLogType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaDescription</maml:name>
                <maml:description>
                    <maml:para>Specifies the description for the medium that contains the backup set. This parameter is optional.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetainDays</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of days that must elapse before a backup set can be overwritten. This can only be used for backup data stored on disk or tape devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SkipTapeHeader</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape header is not read.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UndoFileName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the undo file used to store uncommitted transactions that are rolled back during recovery.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the encryption options for the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupEncryptionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database to back up. This parameter cannot be used with the DatabaseObject parameter. When this parameter is specified, the Path, InputObject, or ServerInstance parameters must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of a SQL Server instance. This server instance becomes the target of the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object that contains the credentials for a SQL Server login that has permission to perform this operation. This is not the SQL credential object that is used to store authentication information internally by SQL Server when accessing resources outside SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a timeout failure. The timeout value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not timeout.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>BackupFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the location and file name of the backup. This is an optional parameter. If not specified, the backups are stored in the default backup location of the server under the name databasename.bak for full and file backups, or databasename.trn for log backups. This parameter cannot be used with the BackupDevice or BackupContainer parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies an SQL Server credential object that stores authentication information. If you are backing up to Blob storage service, you must specify this parameter. The authentication information stored includes the Storage account name and the associated access key values. Do not specify this parameter for disk or tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupDevice</maml:name>
                <maml:description>
                    <maml:para>Specifies the devices where the backups are stored. This parameter cannot be used with the BackupFile parameter. Use this parameter if you are backing up to tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceItem[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PassThru</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet outputs the Smo.Backup object that performed the backup.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Checksum</maml:name>
                <maml:description>
                    <maml:para>Indicates that a checksum value is calculated during the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ContinueAfterError</maml:name>
                <maml:description>
                    <maml:para>Indicates that the operation continues when a checksum error occurs. If not set, the operation will fail after a checksum error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRewind</maml:name>
                <maml:description>
                    <maml:para>Indicates that a tape drive is left open at the ending position when the backup completes. When not set, the tape is rewound after the operation completes. This does not apply to disk or URL backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Restart</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet continues processing a partially completed backup operation. If not set, the cmdlet restarts an interrupted backup operation at the beginning of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UnloadTapeAfter</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape device is rewound and unloaded when the operation finishes. If not set, no attempt is made to rewind and unload the tape medium. This does not apply to disk or URL backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRecovery</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tail end of the log is not backed up. When restored, the database is in the restoring state. When not set, the tail end of the log is backed up. This only applies when the BackupAction parameter is set to Log.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFile</maml:name>
                <maml:description>
                    <maml:para>Specifies one or more database files to back up. This parameter is only used when BackupAction is set to Files. When BackupAction is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFileGroup</maml:name>
                <maml:description>
                    <maml:para>Specifies the database file groups targeted by the backup operation. This parameter is only used when BackupAction property is set to Files. When BackupAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BlockSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the physical block size for the backup, in bytes. The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 for all other devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BufferCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of I/O buffers to use for the backup operation. You can specify any positive integer. If there is insufficient virtual address space in the Sqlservr.exe process for the buffers, you will receive an out of memory error.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxTransferSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of bytes to be transferred between the backup media and the instance of SQL Server. The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name used to identify the media set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Backup-SqlDatabase</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupContainer</maml:name>
                <maml:description>
                    <maml:para>Specifies the folder or location where the cmdlet stores backups. This can be a folder on a disk or URL for an Azure Blob container. This parameter can be useful when backing up multiple databases in a given instance. This parameter cannot be used with a BackupDevice parameter. The BackupContainer parameter cannot be used with the BackupFile parameter. </maml:para>
                    <maml:para>The path used to specify the location should end with a forward slash (/).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>MirrorDevices</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of BackupDeviceList objects used by the mirrored backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceList[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupAction</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of backup operation to perform. Valid values are: </maml:para>
                    <maml:para>-- Database. Backs up all the data files in the database.
-- Files. Backs up data files specified in the DatabaseFile or DatabaseFileGroup parameters.
-- Log. Backs up the transaction log.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupSetName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupSetDescription</maml:name>
                <maml:description>
                    <maml:para>Specifies the description of the backup set. This parameter is optional.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CompressionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the compression options for the backup operation. Valid values are: </maml:para>
                    <maml:para>-- Default
-- On
-- Off</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>CopyOnly</maml:name>
                <maml:description>
                    <maml:para>Indicates that the backup is a copy-only backup. A copy-only backup does not affect the normal sequence of your regularly scheduled conventional backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ExpirationDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date and time when the backup set expires and the backup data is no longer considered valid. This can only be used for backup data stored on disk or tape devices. Backup sets older than the expiration date are available to be overwritten by a later backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FormatMedia</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape is formatted as the first step of the backup operation. This doesnot apply to a disk backup.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Incremental</maml:name>
                <maml:description>
                    <maml:para>Indicates that a differential backup is performed.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Initialize</maml:name>
                <maml:description>
                    <maml:para>Indicates that devices associated with the backup operation are initialized. This overwrites any existing backup sets on the media and makes this backup the first backup set on the media.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LogTruncationType</maml:name>
                <maml:description>
                    <maml:para>Specifies the truncation behavior for log backups. Valid values are: </maml:para>
                    <maml:para>-- TruncateOnly
-- NoTruncate
-- Truncate </maml:para>
                    <maml:para>The default value is Truncate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupTruncateLogType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaDescription</maml:name>
                <maml:description>
                    <maml:para>Specifies the description for the medium that contains the backup set. This parameter is optional.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetainDays</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of days that must elapse before a backup set can be overwritten. This can only be used for backup data stored on disk or tape devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SkipTapeHeader</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape header is not read.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UndoFileName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the undo file used to store uncommitted transactions that are rolled back during recovery.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the encryption options for the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupEncryptionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>DatabaseObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the database object for the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>BackupFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the location and file name of the backup. This is an optional parameter. If not specified, the backups are stored in the default backup location of the server under the name databasename.bak for full and file backups, or databasename.trn for log backups. This parameter cannot be used with the BackupDevice or BackupContainer parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies an SQL Server credential object that stores authentication information. If you are backing up to Blob storage service, you must specify this parameter. The authentication information stored includes the Storage account name and the associated access key values. Do not specify this parameter for disk or tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupDevice</maml:name>
                <maml:description>
                    <maml:para>Specifies the devices where the backups are stored. This parameter cannot be used with the BackupFile parameter. Use this parameter if you are backing up to tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceItem[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PassThru</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet outputs the Smo.Backup object that performed the backup.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Checksum</maml:name>
                <maml:description>
                    <maml:para>Indicates that a checksum value is calculated during the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ContinueAfterError</maml:name>
                <maml:description>
                    <maml:para>Indicates that the operation continues when a checksum error occurs. If not set, the operation will fail after a checksum error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRewind</maml:name>
                <maml:description>
                    <maml:para>Indicates that a tape drive is left open at the ending position when the backup completes. When not set, the tape is rewound after the operation completes. This does not apply to disk or URL backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Restart</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet continues processing a partially completed backup operation. If not set, the cmdlet restarts an interrupted backup operation at the beginning of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UnloadTapeAfter</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape device is rewound and unloaded when the operation finishes. If not set, no attempt is made to rewind and unload the tape medium. This does not apply to disk or URL backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRecovery</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tail end of the log is not backed up. When restored, the database is in the restoring state. When not set, the tail end of the log is backed up. This only applies when the BackupAction parameter is set to Log.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFile</maml:name>
                <maml:description>
                    <maml:para>Specifies one or more database files to back up. This parameter is only used when BackupAction is set to Files. When BackupAction is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFileGroup</maml:name>
                <maml:description>
                    <maml:para>Specifies the database file groups targeted by the backup operation. This parameter is only used when BackupAction property is set to Files. When BackupAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BlockSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the physical block size for the backup, in bytes. The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 for all other devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BufferCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of I/O buffers to use for the backup operation. You can specify any positive integer. If there is insufficient virtual address space in the Sqlservr.exe process for the buffers, you will receive an out of memory error.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxTransferSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of bytes to be transferred between the backup media and the instance of SQL Server. The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name used to identify the media set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the backup operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BackupContainer</maml:name>
            <maml:description>
                <maml:para>Specifies the folder or location where the cmdlet stores backups. This can be a folder on a disk or URL for an Azure Blob container. This parameter can be useful when backing up multiple databases in a given instance. This parameter cannot be used with a BackupDevice parameter. The BackupContainer parameter cannot be used with the BackupFile parameter. </maml:para>
                <maml:para>The path used to specify the location should end with a forward slash (/).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>MirrorDevices</maml:name>
            <maml:description>
                <maml:para>Specifies an array of BackupDeviceList objects used by the mirrored backup.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">BackupDeviceList[]</command:parameterValue>
            <dev:type>
                <maml:name>BackupDeviceList[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BackupAction</maml:name>
            <maml:description>
                <maml:para>Specifies the type of backup operation to perform. Valid values are: </maml:para>
                <maml:para>-- Database. Backs up all the data files in the database.
-- Files. Backs up data files specified in the DatabaseFile or DatabaseFileGroup parameters.
-- Log. Backs up the transaction log.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue>
            <dev:type>
                <maml:name>BackupActionType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BackupSetName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the backup set.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BackupSetDescription</maml:name>
            <maml:description>
                <maml:para>Specifies the description of the backup set. This parameter is optional.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>CompressionOption</maml:name>
            <maml:description>
                <maml:para>Specifies the compression options for the backup operation. Valid values are: </maml:para>
                <maml:para>-- Default
-- On
-- Off</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue>
            <dev:type>
                <maml:name>BackupCompressionOptions</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>CopyOnly</maml:name>
            <maml:description>
                <maml:para>Indicates that the backup is a copy-only backup. A copy-only backup does not affect the normal sequence of your regularly scheduled conventional backups.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ExpirationDate</maml:name>
            <maml:description>
                <maml:para>Specifies the date and time when the backup set expires and the backup data is no longer considered valid. This can only be used for backup data stored on disk or tape devices. Backup sets older than the expiration date are available to be overwritten by a later backup.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            <dev:type>
                <maml:name>DateTime</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>FormatMedia</maml:name>
            <maml:description>
                <maml:para>Indicates that the tape is formatted as the first step of the backup operation. This doesnot apply to a disk backup.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Incremental</maml:name>
            <maml:description>
                <maml:para>Indicates that a differential backup is performed.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Initialize</maml:name>
            <maml:description>
                <maml:para>Indicates that devices associated with the backup operation are initialized. This overwrites any existing backup sets on the media and makes this backup the first backup set on the media.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>LogTruncationType</maml:name>
            <maml:description>
                <maml:para>Specifies the truncation behavior for log backups. Valid values are: </maml:para>
                <maml:para>-- TruncateOnly
-- NoTruncate
-- Truncate </maml:para>
                <maml:para>The default value is Truncate.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">BackupTruncateLogType</command:parameterValue>
            <dev:type>
                <maml:name>BackupTruncateLogType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MediaDescription</maml:name>
            <maml:description>
                <maml:para>Specifies the description for the medium that contains the backup set. This parameter is optional.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>RetainDays</maml:name>
            <maml:description>
                <maml:para>Specifies the number of days that must elapse before a backup set can be overwritten. This can only be used for backup data stored on disk or tape devices.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SkipTapeHeader</maml:name>
            <maml:description>
                <maml:para>Indicates that the tape header is not read.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>UndoFileName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the undo file used to store uncommitted transactions that are rolled back during recovery.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EncryptionOption</maml:name>
            <maml:description>
                <maml:para>Specifies the encryption options for the backup operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">BackupEncryptionOptions</command:parameterValue>
            <dev:type>
                <maml:name>BackupEncryptionOptions</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Database</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the database to back up. This parameter cannot be used with the DatabaseObject parameter. When this parameter is specified, the Path, InputObject, or ServerInstance parameters must also be specified.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of SQL Server to execute the backup operation. This is an optional parameter. If not specified, the value of this parameter defaults to the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
            <maml:name>BackupFile</maml:name>
            <maml:description>
                <maml:para>Specifies the location and file name of the backup. This is an optional parameter. If not specified, the backups are stored in the default backup location of the server under the name databasename.bak for full and file backups, or databasename.trn for log backups. This parameter cannot be used with the BackupDevice or BackupContainer parameters.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SqlCredential</maml:name>
            <maml:description>
                <maml:para>Specifies an SQL Server credential object that stores authentication information. If you are backing up to Blob storage service, you must specify this parameter. The authentication information stored includes the Storage account name and the associated access key values. Do not specify this parameter for disk or tape.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            <dev:type>
                <maml:name>PSObject</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>BackupDevice</maml:name>
            <maml:description>
                <maml:para>Specifies the devices where the backups are stored. This parameter cannot be used with the BackupFile parameter. Use this parameter if you are backing up to tape.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">BackupDeviceItem[]</command:parameterValue>
            <dev:type>
                <maml:name>BackupDeviceItem[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>PassThru</maml:name>
            <maml:description>
                <maml:para>Indicates that the cmdlet outputs the Smo.Backup object that performed the backup.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Checksum</maml:name>
            <maml:description>
                <maml:para>Indicates that a checksum value is calculated during the backup operation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ContinueAfterError</maml:name>
            <maml:description>
                <maml:para>Indicates that the operation continues when a checksum error occurs. If not set, the operation will fail after a checksum error.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoRewind</maml:name>
            <maml:description>
                <maml:para>Indicates that a tape drive is left open at the ending position when the backup completes. When not set, the tape is rewound after the operation completes. This does not apply to disk or URL backups.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Restart</maml:name>
            <maml:description>
                <maml:para>Indicates that the cmdlet continues processing a partially completed backup operation. If not set, the cmdlet restarts an interrupted backup operation at the beginning of the backup set.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>UnloadTapeAfter</maml:name>
            <maml:description>
                <maml:para>Indicates that the tape device is rewound and unloaded when the operation finishes. If not set, no attempt is made to rewind and unload the tape medium. This does not apply to disk or URL backups.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoRecovery</maml:name>
            <maml:description>
                <maml:para>Indicates that the tail end of the log is not backed up. When restored, the database is in the restoring state. When not set, the tail end of the log is backed up. This only applies when the BackupAction parameter is set to Log.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>DatabaseFile</maml:name>
            <maml:description>
                <maml:para>Specifies one or more database files to back up. This parameter is only used when BackupAction is set to Files. When BackupAction is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>DatabaseFileGroup</maml:name>
            <maml:description>
                <maml:para>Specifies the database file groups targeted by the backup operation. This parameter is only used when BackupAction property is set to Files. When BackupAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must be specified.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BlockSize</maml:name>
            <maml:description>
                <maml:para>Specifies the physical block size for the backup, in bytes. The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 for all other devices.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BufferCount</maml:name>
            <maml:description>
                <maml:para>Specifies the number of I/O buffers to use for the backup operation. You can specify any positive integer. If there is insufficient virtual address space in the Sqlservr.exe process for the buffers, you will receive an out of memory error.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MaxTransferSize</maml:name>
            <maml:description>
                <maml:para>Specifies the maximum number of bytes to be transferred between the backup media and the instance of SQL Server. The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MediaName</maml:name>
            <maml:description>
                <maml:para>Specifies the name used to identify the media set.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the backup operation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server object for the backup location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            <dev:type>
                <maml:name>Server[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of a SQL Server instance. This server instance becomes the target of the backup operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object that contains the credentials for a SQL Server login that has permission to perform this operation. This is not the SQL credential object that is used to store authentication information internally by SQL Server when accessing resources outside SQL Server.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a timeout failure. The timeout value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not timeout.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>DatabaseObject</maml:name>
            <maml:description>
                <maml:para>Specifies the database object for the backup operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>SMO.Server</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Specifies an SMO.Server object referring to the instance of SQL Server on which the backup operation occurs.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Backup a complete database --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Backup-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a complete database backup of the database named MainDB to the default backup location of the server instance Computer\Instance. The backup file is named MainDB.bak.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Backup a database based on location --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;SQLSERVER:\SQL\Computer\Instance&quot;
PS SQLSERVER:\SQL\Computer\Instance&gt;Backup-SqlDatabase -Database &quot;MainDB&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a complete database backup of the database MainDB to the default backup location of the server instance Computer\Instance. The current working directory is used to determine the server instance where the backup occurs.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Backup the transaction log --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Backup-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupAction Log</dev:code>
            <dev:remarks>
                <maml:para>This command creates a backup of the transaction log of the database MainDB to the default backup location of the server instance Computer\Instance. The backup file is named MainDB.trn.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Backup a database and prompt for credentials --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Backup-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -Credential (Get-Credential &quot;sa&quot;)</dev:code>
            <dev:remarks>
                <maml:para>This command creates a complete database backup of the database MainDB using the sa SQL Server login. This command prompts you for a password to complete the authentication.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 5: Backup a database to a network file share --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Backup-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupFile &quot;\\mainserver\databasebackup\MainDB.bak&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a complete database backup of the database MainDB to the file \mainserver\databasebackup\MainDB.bak.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 6: Backup all databases in a server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\SQL\Computer\Instance\Databases&quot; | Backup-SqlDatabase</dev:code>
            <dev:remarks>
                <maml:para>This command backs up all databases on the server instance Computer\Instance to the default backup location. The backup files are named &lt;database name&gt;.bak.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 7: Backup all databases in a server instance to a network file share --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;SQLSERVER:\SQL\Computer\Instance\Databases&quot;
PS SQLSERVER:\SQL\Computer\Instance\Databases&gt;foreach($database in (Get-ChildItem)) {
&gt;&gt;&gt; $dbName = $database.Name
&gt;&gt;&gt; Backup-SqlDatabase -Database $dbName -BackupFile &quot;\\mainserver\databasebackup\$dbName.bak&quot;
&gt;&gt;&gt; }</dev:code>
            <dev:remarks>
                <maml:para>This command creates a full backup for each database on the server instance Computer\Instance to the share \mainserver\databasebackup. The backup files are named &lt;database name&gt;.bak.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 8: Backup all files in secondary file groups --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Backup-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupAction Files -DatabaseFileGroup &quot;FileGroupJan&quot;,&quot;FileGroupFeb&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a full file backup of every file in the secondary filegroups FileGroupJan and FileGroupFeb.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 9: Create a differential backup --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Backup-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -Incremental</dev:code>
            <dev:remarks>
                <maml:para>This command creates a differential backup of the database MainDB to the default backup location of the server instance Computer\Instance. The backup file is named MainDB.bak.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 10: Create a backup to a tape drive --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$TapeDevice = New-Object Microsoft.Sqlserver.Management.Smo.BackupDeviceItem(&quot;\\.\tape0&quot;, &quot;Tape&quot;)
PS C:\&gt;Backup-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupDevice $TapeDevice</dev:code>
            <dev:remarks>
                <maml:para>This command creates a full backup of the database MainDB to the tape device \.\tape0. To represent this device, the command constructs an instance of the Microsoft.Sqlserver.Management.Smo.BackupDeviceItem object. The constructor takes two arguments, the name of the backup device and the type of the backup device. This BackupDeviceItem object is passed to the BackupDevice parameter of the Backup-SqlDatabase cmdlet.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 11: Backup a database to the Azure Blob Storage service --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Backup-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupContainer &quot;https://storageaccountname.blob.core.windows.net/containername&quot; -SqlCredential &quot;SQLCredentialName&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a full backup of the database MainDB to the Windows Azure Blob Storage service. It uses BackupContainer to specify the location (URL) of the Windows Azure Blob container. The name of the backup file is auto-generated. The SqlCredential parameter is used to specify the name of the SQL Server credential that stores the authentication information.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 12: Backup a database to the Azure Blob Storage service and specify the file name --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Backup-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainyDB&quot; -BackupFile &quot;https://storageaccountname.blob.core.windows.net/containername/MainDB.bak&quot; -SqlCredential &quot;SQLCredentialName&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a full backup of the database MainDB to the Windows Azure Blob Storage service. It uses the BackupFile parameter to specify the location (URL) and the backup file name. The SqlCredential parameter is used to specify the name of the SQL Server credential.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 13: Backup all databases to the Azure Blob Storage service --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\SQL\Computer\Instance\Databases&quot; | Backup-SqlDatabase -BackupContainer &quot;https://storageaccountname.blob.core.windows.net/containername&quot; -SqlCredential &quot;SQLCredentialName&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command backs up all databases on the server instance Computer\Instance to the Windows Azure Blob Storage service location by using the BackupContainer parameter. The backup file names are auto generated.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 14: Create an encrypted backup --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$EncryptionOption = New-SqlBackupEncryptionOption -Algorithm Aes256 -EncryptorType ServerCertificate -EncryptorName &quot;BackupCert&quot;
PS C:\&gt;Backup-SqlDatabase -ServerInstance &quot;.&quot; -Database &quot;MainDB&quot; -BackupFile &quot;MainDB.bak&quot; -CompressionOption On -EncryptionOption $EncryptionOption</dev:code>
            <dev:remarks>
                <maml:para>This example creates the encryption options and uses it as a parameter value in Backup-SqlDatabase to create an encrypted backup.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Restore-SqlDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Complete-SqlColumnMasterKeyRotation</command:name>
        <maml:description>
            <maml:para>Completes the rotation of a column master key.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Complete</command:verb>
        <command:noun>SqlColumnMasterKeyRotation</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Complete-SqlColumnMasterKeyRotation cmdlet completes the process of replacing an existing column master key with a new, target, column master key for the Always Encrypted feature. The cmdlet gets all column encryption key objects containing encrypted key values that are encrypted with the specified source column master key. The cmdlet then updates each column encryption key object to remove the entry for an encrypted value that was produced using the specified column master key. As a result, each impacted column encryption key object will have only one encrypted value entry, produced using the column master key that is the target of the rotation.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Complete-SqlColumnMasterKeyRotation</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SourceColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the source column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL database object for which this cmdlet runs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a script to complete the rotation of a column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Complete-SqlColumnMasterKeyRotation</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SourceColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the source column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the SQL database, for which this cmdlet runs the operation. If you do not specify a value for the parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a script to complete the rotation of a column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SourceColumnMasterKeyName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the source column master key.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL database object for which this cmdlet runs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet runs a script to complete the rotation of a column master key.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the SQL database, for which this cmdlet runs the operation. If you do not specify a value for the parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Complete the process of rotating the column master key --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Cleanup-SqlColumnMasterKey -SourceColumnMasterKeyName &quot;CMK1&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command completes the process of rotating the column master key named CMK1.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Invoke-SqlColumnMasterKeyRotation</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>ConvertFrom-EncodedSqlName</command:name>
        <maml:description>
            <maml:para>Returns the original SQL Server identifier when given an identifier that has been encoded into a format usable in Windows PowerShell paths.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>ConvertFrom</command:verb>
        <command:noun>EncodedSqlName</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The ConvertFrom-EncodedSqlName cmdlet returns the un-encoded SQL Server identifier when given an identifier that has been encoded into a format usable in Windows PowerShell paths. SQL Server delimited identifiers can contain special characters not normally supported in Windows PowerShell object names. These extended characters must be either encoded to their hexadecimal representation or escaped using the ` character. Certain characters, such as the colon character (:) cannot be escaped. The hexadecimal encoding is in the format %nn. Decode-SqlName converts the following encodings to the corresponding characters: %5C-\ %3A-: %2E-. %2F-/ %25-% %3C-&lt; %3E-&gt; %2A-* %3F-? %5B-[ %5D-] %7C-|</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>ConvertFrom-EncodedSqlName</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1">
                <maml:name>SqlName</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL Server identifier that this cmdlet reformats.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1">
            <maml:name>SqlName</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL Server identifier that this cmdlet reformats.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Decode a SQL Server identifier --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;ConvertFrom-EncodedSqlName -SqlName &quot;My%3ATable`/&quot; &quot;My:Table/&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command decodes a SQL Server identifier that has an encoded hexadecimal representation for the : character. Windows PowerShell also removes the escaping back-tick character (`) from an escaped / character.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Using SQL Server Identifiers in PowerShell</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>ConvertTo-EncodedSqlName</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>ConvertTo-EncodedSqlName</command:name>
        <maml:description>
            <maml:para>Encodes extended characters in SQL Server names to formats usable in Windows PowerShell paths.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>ConvertTo</command:verb>
        <command:noun>EncodedSqlName</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The ConvertTo-EncodedSqlName cmdlet encodes special characters in SQL Server names to formats usable in Windows PowerShell paths. SQL Server delimited identifiers can contain characters not normally supported in Windows PowerShell object names. When using delimited identifiers in SQL Server provider paths, these extended characters must be either encoded to their hexadecimal representation or escaped using the ` character. Certain characters, such as the colon character (:) cannot be escaped. The hexadecimal encoding for the characters is in the format %nn. The characters encoded by ConvertTo-EncodedSqlName are: \:./%&lt;&gt;*?[]|</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>ConvertTo-EncodedSqlName</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1">
                <maml:name>SqlName</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL Server identifier to be encoded.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1">
            <maml:name>SqlName</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL Server identifier to be encoded.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Encode a SQL Server table name --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;ConvertTo-EncodedSqlName -SqlName &quot;My:Table/&quot; &quot;My%3ATable%2F&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command encodes a SQL Server table name that contains : and / characters.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Using SQL Server Identifiers in PowerShell</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>ConvertFrom-EncodedSqlName</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Convert-UrnToPath</command:name>
        <maml:description>
            <maml:para>Converts a SQL Server Management Object URN to a Windows PowerShell provider path.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Convert</command:verb>
        <command:noun>UrnToPath</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Convert-UrnToPath cmdlet converts a SQL Server Management Object Uniform Resource Name (URN) to a SQL Server provider path. SQL Server Management Objects have a Urn property that returns a string indicating their location in the SQL Server object hierarchy. If nodes in the Urn are SQL Server delimited identifiers with extended characters that are not supported in Windows PowerShell path nodes, the extended characters are encoded with their hexadecimal representation. For example, a table name &quot;Main:Table&quot; is encoded as &quot;Main%3ATable&quot;.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Convert-UrnToPath</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1">
                <maml:name>Urn</maml:name>
                <maml:description>
                    <maml:para>Specifies a SQL Server URN that identifies the location of an object in the SQL Server hierarchy.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1">
            <maml:name>Urn</maml:name>
            <maml:description>
                <maml:para>Specifies a SQL Server URN that identifies the location of an object in the SQL Server hierarchy.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Specifies a string that represents a SQL Server Management Object URN.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Specifies a string that represents a SQL Server PowerShell provider path.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get a string containing the current path --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;SQLSERVER:\SQL\MyComputer\MyInstance\Databases\AdventureWorks2014&quot;
PS SQLSERVER:\SQL\MyComputer\MyInstance\Databases\AdventureWorks2014&gt;Convert-UrnToPath -Urn (Get-Item .).Urn.ToString()
SQLSERVER:\SQL\MyComputer\MyInstance\Databases\AdventureWorks2014</dev:code>
            <dev:remarks>
                <maml:para>This command returns a string that contains the current path. The example uses the ToString() function of the Urn property to return the Urn as a string.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Set the path location based on a URN --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location (Convert-UrnToPath -Urn &quot;Server[@Name=&apos;MyComputer&apos;]/Database[@Name=&apos;AdventureWorks&apos;]/Table[@Name=&apos;Address&apos; and @Schema = &apos;Person&apos;]&quot;)</dev:code>
            <dev:remarks>
                <maml:para>This command sets the path to the location specified in a SQL Server Management Object URN.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Get database paths --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;SQLSERVER:\SQL\MyComputer\DEFAULT\Databases&quot;
PS SQLSERVER:\SQL\MyComputer\DEFAULT\Databases&gt;foreach ($Item in Get-ChildItem) { $Item.Urn.ToString() | Convert-UrnToPath }
SQLSERVER:\SQL\MyComputer\DEFAULT\Databases\AdventureWorks2014</dev:code>
            <dev:remarks>
                <maml:para>This command returns an array of strings that contain the path to a database in the default instance. The pipeline operator is used to pass the current node URN to Convert-UrnToPath.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Disable-SqlAlwaysOn</command:name>
        <maml:description>
            <maml:para>Disables the AlwaysOn availability groups feature for a server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Disable</command:verb>
        <command:noun>SqlAlwaysOn</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Disable-SqlAlwaysOn cmdlet disables the AlwaysOn vailability groups feature on a SQL Server instance. If the AlwaysOn availability groups feature is disabled while the SQL Server service is running, the database engine service must be restarted for the changes to complete. Unless you specify the Force parameter, the cmdlet prompts you to restart the service.</maml:para>
        <maml:para>If the AlwaysOn availability groups feature is already disabled, this cmdlet makes no changes.</maml:para>
        <maml:para>This cmdlet can run against a remote service.</maml:para>
        <maml:para>You must have Administrator permissions to execute this cmdlet.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Disable-SqlAlwaysOn</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of the SQL Server. This is an optional parameter. If not specified, the value of the current working location is used.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that the user is not prompted to restart the SQL Server service. You must manually restart the SQL Server service for changes to take effect. When this parameter is set, Force is ignored.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Forces the command to run without asking for user confirmation. This parameter is provided to permit the construction of scripts.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a windows credential that has permission to alter the AlwaysOn setting on the SQL Server instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Disable-SqlAlwaysOn</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server object of the instance of SQL Server where the AlwaysOn availability groups setting is disabled.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that the user is not prompted to restart the SQL Server service. You must manually restart the SQL Server service for changes to take effect. When this parameter is set, Force is ignored.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Forces the command to run without asking for user confirmation. This parameter is provided to permit the construction of scripts.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a windows credential that has permission to alter the AlwaysOn setting on the SQL Server instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Disable-SqlAlwaysOn</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the instance of the SQL Server where AlwaysOn is disabled. The format should be MACHINENAME\INSTANCE. Use the Credential parameter to change the AlwaysOn setting on a remote server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that the user is not prompted to restart the SQL Server service. You must manually restart the SQL Server service for changes to take effect. When this parameter is set, Force is ignored.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Forces the command to run without asking for user confirmation. This parameter is provided to permit the construction of scripts.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a windows credential that has permission to alter the AlwaysOn setting on the SQL Server instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of the SQL Server. This is an optional parameter. If not specified, the value of the current working location is used.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoServiceRestart</maml:name>
            <maml:description>
                <maml:para>Indicates that the user is not prompted to restart the SQL Server service. You must manually restart the SQL Server service for changes to take effect. When this parameter is set, Force is ignored.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Force</maml:name>
            <maml:description>
                <maml:para>Forces the command to run without asking for user confirmation. This parameter is provided to permit the construction of scripts.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a windows credential that has permission to alter the AlwaysOn setting on the SQL Server instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server object of the instance of SQL Server where the AlwaysOn availability groups setting is disabled.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the instance of the SQL Server where AlwaysOn is disabled. The format should be MACHINENAME\INSTANCE. Use the Credential parameter to change the AlwaysOn setting on a remote server.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>SMO.Server</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Disable AlwaysOn availability groups at the specified path --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Disable-SqlAlwaysOn -Path &quot;SQLSERVER:\Sql\Computer\Instance&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command disables AlwaysOn availability groups on the instance of SQL Server located at the specified path. This command requires restarting the server instance, and you will be prompted to confirm this restart.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Disable AlwaysOn availability groups at the specified path and restart the server without confirmation --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Disable-SqlAlwaysOn -Path &quot;SQLSERVER:\Sql\Computer\Instance&quot; -Force</dev:code>
            <dev:remarks>
                <maml:para>This command disables AlwaysOn availability groups on the instance of SQL Server located at the specified path. The Force option causes the server instance to be restarted without prompting you for confirmation.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Disable AlwaysOn availability groups for the specified server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Disable-SqlAlwaysOn -ServerInstance &quot;Computer\Instance&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command disables AlwaysOn availability groups on the instance of SQL Server named Computer\Instance. This command requires restarting the instance and you will be prompted to confirm this restart.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Disable AlwaysOn availability groups for the specified server instance using Windows authentication --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Disable-SqlAlwaysOn -ServerInstance &quot;Computer\Instance&quot; -Credential (Get-Credential &quot;DOMAIN\Username&quot;)</dev:code>
            <dev:remarks>
                <maml:para>This command disables AlwaysOn availability groups on the instance of SQL Server named Computer\Instance using Windows authentication. You will be prompted to enter the password for the specified account, DOMAIN\Username. This change requires restarting the instance and you will also be prompted to confirm this restart.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 5: Disable AlwaysOn availability groups at the specified path without restarting the server --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Disable-SqlAlwaysOn -Path &quot;SQLSERVER:\Sql\Computer\Instance&quot; -NoServiceRestart</dev:code>
            <dev:remarks>
                <maml:para>This command disables AlwaysOn availability groups on the instance of SQL Server located at the specified path, but the command does not restart the instance. The change will not take effect until you manually restart this server instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Enable-SqlAlwaysOn</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Enable-SqlAlwaysOn</command:name>
        <maml:description>
            <maml:para>Enables the AlwaysOn availability groups feature.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Enable</command:verb>
        <command:noun>SqlAlwaysOn</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Enable-SqlAlwaysOn cmdlet enables AlwaysOn on an instance of SQL Server. If the AlwaysOn availability groups feature is enabled while the SQL Server service is running, the database engine service must be restarted for the changes to complete. Unless you specify the Force parameter, the cmdlet prompts you to restart the service.</maml:para>
        <maml:para>If the AlwaysOn availability groups feature is already enabled, no action is performed.</maml:para>
        <maml:para>This cmdlet can run against a remote service. </maml:para>
        <maml:para>You must have Administrator permissions to execute this cmdlet.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Enable-SqlAlwaysOn</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the SQL Server instance. This is an optional parameter. If not specified, the current working location is used.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that the user is not prompted to restart the SQL Server service. You must manually restart the SQL Server service for changes to take effect. When this parameter is set, Force is ignored.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Forces the command to run without asking for user confirmation. This parameter is provided to permit the construction of scripts.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the SQL Server instance on which to enable the AlwaysOn availability groups feature. The format is MACHINENAME\INSTANCE. To enable this setting on a remote server, use this along with the Credential parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Enable-SqlAlwaysOn</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server object of the SQL Server instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that the user is not prompted to restart the SQL Server service. You must manually restart the SQL Server service for changes to take effect. When this parameter is set, Force is ignored.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Forces the command to run without asking for user confirmation. This parameter is provided to permit the construction of scripts.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the SQL Server instance on which to enable the AlwaysOn availability groups feature. The format is MACHINENAME\INSTANCE. To enable this setting on a remote server, use this along with the Credential parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Enable-SqlAlwaysOn</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the SQL Server instance. The format is MACHINENAME\INSTANCE. To enable this setting on a remote server, use this along with the Credential parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that the user is not prompted to restart the SQL Server service. You must manually restart the SQL Server service for changes to take effect. When this parameter is set, Force is ignored.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Forces the command to run without asking for user confirmation. This parameter is provided to permit the construction of scripts.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the SQL Server instance on which to enable the AlwaysOn availability groups feature. The format is MACHINENAME\INSTANCE. To enable this setting on a remote server, use this along with the Credential parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the SQL Server instance. This is an optional parameter. If not specified, the current working location is used.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoServiceRestart</maml:name>
            <maml:description>
                <maml:para>Indicates that the user is not prompted to restart the SQL Server service. You must manually restart the SQL Server service for changes to take effect. When this parameter is set, Force is ignored.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Force</maml:name>
            <maml:description>
                <maml:para>Forces the command to run without asking for user confirmation. This parameter is provided to permit the construction of scripts.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the SQL Server instance on which to enable the AlwaysOn availability groups feature. The format is MACHINENAME\INSTANCE. To enable this setting on a remote server, use this along with the Credential parameter.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server object of the SQL Server instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the SQL Server instance. The format is MACHINENAME\INSTANCE. To enable this setting on a remote server, use this along with the Credential parameter.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Enable AlwaysOn availability groups at the specified path --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Enable-SqlAlwaysOn -Path &quot;SQLSERVER:\Sql\Computer\Instance&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command enables AlwaysOn availability groups on the instance of SQL Server located at the specified path. This change requires restarting the instance, and you will be prompted to confirm this restart.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Enable AlwaysOn availability groups at the specified path and restart the server without confirmation --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Enable-SqlAlwaysOn -Path &quot;SQLSERVER:\Sql\Computer\Instance&quot; -Force</dev:code>
            <dev:remarks>
                <maml:para>This command enables AlwaysOn availability groups on the instance of SQL Server located at the specified path. The Force option causes the server instance to be restarted without prompting you for confirmation.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Enable AlwaysOn availability groups for the specified server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Enable-SqlAlwaysOn -ServerInstance &quot;Computer\Instance&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command enables AlwaysOn availability groups on the instance of SQL Server named Computer\Instance. This change requires restarting the instance and you will be prompted to confirm this restart.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Enable AlwaysOn availability groups for the specified server instance using Windows authentication --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Enable-SqlAlwaysOn -ServerInstance &quot;Computer\Instance&quot; -Credential (Get-Credential &quot;DOMAIN\Username&quot;)</dev:code>
            <dev:remarks>
                <maml:para>This command enables AlwaysOn availability groups on the instance of SQL Server named Computer\Instance using Windows authentication. You will be prompted to enter the password for the specified account. This change requires restarting the instance, and you will also be prompted to confirm this restart.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 5: Enable AlwaysOn availability groups at the specified path without restarting the server --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Enable-SqlAlwaysOn -Path &quot;SQLSERVER:\Sql\Computer\Instance&quot; -NoServiceRestart</dev:code>
            <dev:remarks>
                <maml:para>This command enables AlwaysOn availability groups on the SQL Server instance located at the specified path, but the command does not restart the instance. The change will not take effect until you manually restart this server instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Disable-SqlAlwaysOn</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlAgent</command:name>
        <maml:description>
            <maml:para>Gets a SQL Agent object that is present in the target instance of SQL Server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlAgent</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlAgent cmdlet gets a SQL Agent object that is present in the target instance of the SQL Server.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation:</maml:para>
        <maml:para>-- Specify the ServerInstance object of the target instance of SQL Server.
-- Specify the Path parameter of an instance of SQL Server.
-- Invoke the cmdlet in a valid context.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlAgent</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlAgent</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server object of the target instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlAgent</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server, as an array, that becomes the target of the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a SQL Server connection before a timeout failure. The timeout value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server object of the target instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server, as an array, that becomes the target of the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a SQL Server connection before a timeout failure. The timeout value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get the SQL Agent of a server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlAgent -ServerInstance &quot;MyServerInstance&quot;
&apos;MyServerInstance&apos;AgentDomainGroup : NT SERVICE\SQLSERVERAGENT
AgentLogLevel : Errors, Warnings
AgentMailType : SqlAgentMail
AgentShutdownWaitTime : 15</dev:code>
            <dev:remarks>
                <maml:para>This command gets the SQL Agent of the server instance named. MyServerInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJob</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobHistory</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobSchedule</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobStep</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlAgentJob</command:name>
        <maml:description>
            <maml:para>Gets a SQL Agent Job object for each job that is present in the target instance of SQL Agent.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlAgentJob</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlAgentJob cmdlet gets a SQL Agent Job object for each job that is present in the target instance of SQL Agent. If the name of the job is provided, the cmdlet gets only this specific job object.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation to get a collection of Job objects:</maml:para>
        <maml:para>-- Specify the path of the SQL Agent instance.
-- Pass the instance of the SQL Agent in the input.
-- Invoke the cmdlet in a valid context.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentJob</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the Job object that this cmdlet gets. The name may or may not be case-sensitive, depending on the collation of the SQL Server where the SQL Agent is running.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the Agent of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentJob</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies, as a string array, the name of an instance of SQL Serverwhere the SQL Agent is running. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer Value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the Job object that this cmdlet gets. The name may or may not be case-sensitive, depending on the collation of the SQL Server where the SQL Agent is running.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentJob</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the Job object that this cmdlet gets. The name may or may not be case-sensitive, depending on the collation of the SQL Server where the SQL Agent is running.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies a SQL Management Objects (SMO) object representing the SQL Server Agent being targeted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">JobServer</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the Job object that this cmdlet gets. The name may or may not be case-sensitive, depending on the collation of the SQL Server where the SQL Agent is running.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the Agent of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies, as a string array, the name of an instance of SQL Serverwhere the SQL Agent is running. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer Value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies a SQL Management Objects (SMO) object representing the SQL Server Agent being targeted.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">JobServer</command:parameterValue>
            <dev:type>
                <maml:name>JobServer</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get all Job instances from the specified server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlAgent -ServerInstance MyServerInstance | Get-SqlAgentJob
Name Owner Category Enabled CurrentRunStatus DateCreated LastModified JobID
---- ----- -------- ------- ---------------- ----------- ------------ -----
MyJob1 Owner [Uncategorized (Local)] True Idle 6/2/2016 10:21:44 AM 6/2/2016 10:21:44 AM 841255df-06e8-43ef-b798-3...
MyJob2 Owner [Uncategorized (Local)] True Idle 5/31/2016 2:40:58 PM 6/1/2016 5:09:40 PM 995b296a-cd35-4505-868a-3...
MyJob3 Owner [Uncategorized (Local)] True Idle 5/25/2016 12:13:56 PM 5/25/2016 12:13:56 PM 01d2e61a-9a90-4f77-98f4-e...</dev:code>
            <dev:remarks>
                <maml:para>This command gets all Job instances in the server instance named MyServerInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Get a job instance by name from the specified server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlAgent -ServerInstance MyServerInstance | Get-SqlAgentJob -Name MyJob1
Name Owner Category Enabled CurrentRunStatus DateCreated LastModified JobID
---- ----- -------- ------- ---------------- ----------- ------------ -----
MyJob1 Owner [Uncategorized (Local)] True Idle 6/2/2016 10:21:44 AM 6/2/2016 10:21:44 AM 841255df-06e8-43ef-b798-3...</dev:code>
            <dev:remarks>
                <maml:para>This command gets the Job instance named MyJob1 in the Server Instance named MyServerInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgent</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobHistory</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobSchedule</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobStep</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlAgentJobHistory</command:name>
        <maml:description>
            <maml:para>Gets the job history present in the target instance of SQL Agent.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlAgentJobHistory</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlAgentJobHistory cmdlet gets the JobHistory object present in the target instance of SQL Agent.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation to get the JobHistory object:</maml:para>
        <maml:para>-- Specify the path of the SQL Agent instance.
-- Pass the instance of the SQL Agent in the input.
--. Invoke the cmdlet in a valid context.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentJobHistory</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StartRunDate</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the date the job started.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EndRunDate</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the date the job completed.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>JobID</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the job specified by the job ID value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Guid</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>JobName</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the job specified by the name of the job.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MinimumRetries</maml:name>
                <maml:description>
                    <maml:para>Specifies the job filter constraint that restricts the values returned to jobs that have failed and been retried for minimum number of times.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MinimumRunDurationInSeconds</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have completed in the minimum length of time specified, in seconds.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OldestFirst</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet lists jobs in oldest-first order. If you do not specify this parameter, the cmdlet uses newest-first order.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutcomesType</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have the specified outcome at completion.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Failed
-- Succeeded
-- Retry
-- Cancelled
-- InProgress
-- Unknown</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">CompletionResult</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlMessageID</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have generated the specified message during runtime.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlSeverity</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have generated an error of the specified severity during runtime.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Since</maml:name>
                <maml:description>
                    <maml:para>Specifies an abbreviation that you can instead of the StartRunDate parameter.</maml:para>
                    <maml:para>It can be specified with the EndRunDate parameter.</maml:para>
                    <maml:para>You cannot use the StartRunDate parameter, if you use this parameter.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Midnight (gets all the job history information generated after midnight)
-- Yesterday (gets all the job history information generated in the last 24 hours)
-- LastWeek (gets all the job history information generated in the last week)
-- LastMonth (gets all the job history information generated in the last month)</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SinceType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the Agent of SQL Server, as an array, on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentJobHistory</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StartRunDate</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the date the job started.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EndRunDate</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the date the job completed.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>JobID</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the job specified by the job ID value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Guid</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>JobName</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the job specified by the name of the job.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MinimumRetries</maml:name>
                <maml:description>
                    <maml:para>Specifies the job filter constraint that restricts the values returned to jobs that have failed and been retried for minimum number of times.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MinimumRunDurationInSeconds</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have completed in the minimum length of time specified, in seconds.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OldestFirst</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet lists jobs in oldest-first order. If you do not specify this parameter, the cmdlet uses newest-first order.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutcomesType</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have the specified outcome at completion.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Failed
-- Succeeded
-- Retry
-- Cancelled
-- InProgress
-- Unknown</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">CompletionResult</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlMessageID</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have generated the specified message during runtime.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlSeverity</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have generated an error of the specified severity during runtime.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Since</maml:name>
                <maml:description>
                    <maml:para>Specifies an abbreviation that you can instead of the StartRunDate parameter.</maml:para>
                    <maml:para>It can be specified with the EndRunDate parameter.</maml:para>
                    <maml:para>You cannot use the StartRunDate parameter, if you use this parameter.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Midnight (gets all the job history information generated after midnight)
-- Yesterday (gets all the job history information generated in the last 24 hours)
-- LastWeek (gets all the job history information generated in the last week)
-- LastMonth (gets all the job history information generated in the last month)</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SinceType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server, as an array, where the SQL Agent runs. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object that is used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentJobHistory</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StartRunDate</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the date the job started.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EndRunDate</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the date the job completed.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>JobID</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the job specified by the job ID value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Guid</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>JobName</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to the job specified by the name of the job.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MinimumRetries</maml:name>
                <maml:description>
                    <maml:para>Specifies the job filter constraint that restricts the values returned to jobs that have failed and been retried for minimum number of times.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MinimumRunDurationInSeconds</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have completed in the minimum length of time specified, in seconds.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OldestFirst</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet lists jobs in oldest-first order. If you do not specify this parameter, the cmdlet uses newest-first order.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutcomesType</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have the specified outcome at completion.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Failed
-- Succeeded
-- Retry
-- Cancelled
-- InProgress
-- Unknown</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">CompletionResult</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlMessageID</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have generated the specified message during runtime.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlSeverity</maml:name>
                <maml:description>
                    <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have generated an error of the specified severity during runtime.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Since</maml:name>
                <maml:description>
                    <maml:para>Specifies an abbreviation that you can instead of the StartRunDate parameter.</maml:para>
                    <maml:para>It can be specified with the EndRunDate parameter.</maml:para>
                    <maml:para>You cannot use the StartRunDate parameter, if you use this parameter.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Midnight (gets all the job history information generated after midnight)
-- Yesterday (gets all the job history information generated in the last 24 hours)
-- LastWeek (gets all the job history information generated in the last week)
-- LastMonth (gets all the job history information generated in the last month)</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SinceType</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of SQL Server Management Object (SMO) objects that represent the SQL Server Agent being targeted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">JobServer[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>StartRunDate</maml:name>
            <maml:description>
                <maml:para>Specifies a job filter constraint that restricts the values returned to the date the job started.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            <dev:type>
                <maml:name>DateTime</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EndRunDate</maml:name>
            <maml:description>
                <maml:para>Specifies a job filter constraint that restricts the values returned to the date the job completed.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            <dev:type>
                <maml:name>DateTime</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>JobID</maml:name>
            <maml:description>
                <maml:para>Specifies a job filter constraint that restricts the values returned to the job specified by the job ID value.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Guid</command:parameterValue>
            <dev:type>
                <maml:name>Guid</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>JobName</maml:name>
            <maml:description>
                <maml:para>Specifies a job filter constraint that restricts the values returned to the job specified by the name of the job.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MinimumRetries</maml:name>
            <maml:description>
                <maml:para>Specifies the job filter constraint that restricts the values returned to jobs that have failed and been retried for minimum number of times.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MinimumRunDurationInSeconds</maml:name>
            <maml:description>
                <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have completed in the minimum length of time specified, in seconds.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>OldestFirst</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet lists jobs in oldest-first order. If you do not specify this parameter, the cmdlet uses newest-first order.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>OutcomesType</maml:name>
            <maml:description>
                <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have the specified outcome at completion.</maml:para>
                <maml:para>The acceptable values for this parameter are:</maml:para>
                <maml:para>-- Failed
-- Succeeded
-- Retry
-- Cancelled
-- InProgress
-- Unknown</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">CompletionResult</command:parameterValue>
            <dev:type>
                <maml:name>CompletionResult</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SqlMessageID</maml:name>
            <maml:description>
                <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have generated the specified message during runtime.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SqlSeverity</maml:name>
            <maml:description>
                <maml:para>Specifies a job filter constraint that restricts the values returned to jobs that have generated an error of the specified severity during runtime.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Since</maml:name>
            <maml:description>
                <maml:para>Specifies an abbreviation that you can instead of the StartRunDate parameter.</maml:para>
                <maml:para>It can be specified with the EndRunDate parameter.</maml:para>
                <maml:para>You cannot use the StartRunDate parameter, if you use this parameter.</maml:para>
                <maml:para>The acceptable values for this parameter are:</maml:para>
                <maml:para>-- Midnight (gets all the job history information generated after midnight)
-- Yesterday (gets all the job history information generated in the last 24 hours)
-- LastWeek (gets all the job history information generated in the last week)
-- LastMonth (gets all the job history information generated in the last month)</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SinceType</command:parameterValue>
            <dev:type>
                <maml:name>SinceType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the Agent of SQL Server, as an array, on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server, as an array, where the SQL Agent runs. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object that is used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an array of SQL Server Management Object (SMO) objects that represent the SQL Server Agent being targeted.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">JobServer[]</command:parameterValue>
            <dev:type>
                <maml:name>JobServer[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get the entire job history from the specified server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlAgentJobHistory -ServerInstance &quot;MyServerInstance&quot; | Format-Table
InstanceID SqlMessageID Message
---------- ------------ -------
        34 0 The job succeeded. The Job was invoked by Schedule 8 (syspolicy_purge_history_schedule). T...
        33 0 Executed as user: DOMAIN\Machine1$. The step did not generate any output. Process Exit</dev:code>
            <dev:remarks>
                <maml:para>This command gets the entire job history in the server instance named MyServerInstance and then formats the output.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Get the job history from the specified server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlAgentJobHistory -ServerInstance &quot;MyServerInstance&quot; -JobID 187112d7-84e1-4b66-b093-e97201c441ed
JobID : 187112d7-84e1-4b66-b093-e97201c441ed
JobName : Job_73cc6990-6386-49f9-9826-96c318ad8afa
RunStatus : 3</dev:code>
            <dev:remarks>
                <maml:para>This command gets the job history of the job object with ID 187112d7-84e1-4b66-b093-e97201c441ed in the server instance named MyServerInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Get the job history from a time duration from the specified server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlAgentJobHistory -ServerInstance &quot;MyServerInstance&quot; -Since Yesterday
InstanceID : 4
SqlMessageID : 0
Message : The job was stopped prior to completion by User admin. The Job was invoked by User
                  admin. The last step to run was step 1 (JobStep_3e4cd4ba-3433-4311-a6a2-816884101504).</dev:code>
            <dev:remarks>
                <maml:para>This command returns the job history since the day before in the server instance named MyServerInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgent</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJob</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobSchedule</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobStep</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlAgentJobSchedule</command:name>
        <maml:description>
            <maml:para>Gets a job schedule object for each schedule that is present in the target instance of SQL Agent Job.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlAgentJobSchedule</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlAgentJobSchedule cmdlet gets a SQL JobStepSchedule object for each step that is present in the target instance of SQL Agent Job. If the name of the job schedule is provided, the cmdlet gets only this specific JobSchedule object.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation to get a collection of JobSchedule objects:</maml:para>
        <maml:para>-- Pass the instance of the SQL Agent Job in the input.
-- Specify the Path parameter of the Job instance.
-- Invoke the cmdlet in a valid context.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentJobSchedule</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the JobSchedule object that this cmdlet gets.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the Job object on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentJobSchedule</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the JobSchedule object that this cmdlet gets.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the Job object of the target instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Job</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the JobSchedule object that this cmdlet gets.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the Job object on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the Job object of the target instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Job</command:parameterValue>
            <dev:type>
                <maml:name>Job</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get all JobSchedule object instances in the specified server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlAgent -ServerInstance &quot;MyServerInstance&quot; | Get-SqlAgentJob | Get-SqlAgentJobSchedule
Name Jobs Enabled DateCreated ActiveStartDate ActiveEndDate ID
---- ---- ------- ----------- --------------- ------------- --
Schedule1 1 False 6/2/2016 10:21:44 AM 6/14/2016 12:00:00 AM 12/31/9999 12:00:00 AM 10
Schedule2 1 True 6/9/2016 4:35:25 PM 6/9/2016 12:00:00 AM 12/31/9999 12:00:00 AM 58
Schedule3 1 True 6/9/2016 4:35:25 PM 6/9/2016 12:00:00 AM 12/31/9999 12:00:00 AM 59</dev:code>
            <dev:remarks>
                <maml:para>This command gets all JobSchedule object instances in the Job Instances passed by pipeline.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Get a JobSchedule object instance in the specified server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlAgentJob -ServerInstance &quot;MyServer&quot; | Get-SqlAgentJobSchedule -Name &quot;Schedule1&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command gets the JobSchedule object instance named Schedule1 from the Job instances passed by pipeline.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgent</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJob</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobHistory</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobStep</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlAgentJobStep</command:name>
        <maml:description>
            <maml:para>Gets a SQL JobStep object for each step that is present in the target instance of SQL Agent Job.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlAgentJobStep</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlAgentJobStep cmdlet gets a SQL JobStep object for each step that is present in the target instance of SQL Agent Job. If you provide the name of the job step, the cmdlet gets only this specific JobStep object.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation to return a collection of JobStep objects: </maml:para>
        <maml:para>-- Pass the instance of the SQL Agent Job in the input.
-- Specify the Path parameter of the Job instance.
-- Invoke the cmdlet in a valid context.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentJobStep</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the JobStep object that this cmdlet gets.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the job object on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentJobStep</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the JobStep object that this cmdlet gets.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the job object of the target instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Job</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the JobStep object that this cmdlet gets.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the job object on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the job object of the target instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Job</command:parameterValue>
            <dev:type>
                <maml:name>Job</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get all JobStep instances in the job instances --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlAgent -ServerInstance &quot;MyServerInstance&quot; | Get-SqlAgentJob | Get-SqlAgentJobStep
    Name ID OnSuccessAction OnFailAction LastRunDate LastRunDuration
    ---- -- --------------- ------------ ----------- ---------------
    step1 1 QuitWithSuccess QuitWithFailure 1/1/0001 12:00:00 AM 4.03:23:45
    step2 2 QuitWithSuccess QuitWithFailure 1/1/0001 12:00:00 AM 00:33:59
    step3 3 GoToNextStep QuitWithSuccess 1/1/0001 12:00:00 AM 00:00:11</dev:code>
            <dev:remarks>
                <maml:para>This command uses the Get-SqlAgent cmdlet to get the server instance named MyServerInstance then passes the result using the pipeline to the Get-SqlAgentJob cmdlet. The command then passes the result using the pipeline to the Get-SqlAgentJobStep cmdlet to get all JobStep instances.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Get a JobStep instance by name --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlAgent -ServerInstance &quot;MyServerInstance&quot; | Get-SqlAgentJob | Get-SqlAgentJobStep -Name &quot;Step1&quot;
    Name ID OnSuccessAction OnFailAction LastRunDate LastRunDuration
    ---- -- --------------- ------------ ----------- ---------------
    step1 1 QuitWithSuccess QuitWithFailure 1/1/0001 12:00:00 AM 4.03:23:45</dev:code>
            <dev:remarks>
                <maml:para>This command uses the Get-SqlAgent cmdlet to get the server instance named MyServerInstance then passes the result using the pipeline to the Get-SqlAgentJob cmdlet. The command then passes the result using the pipeline to the Get-SqlAgentJobStep cmdlet to get the JobStep instance named Step1.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgent</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJob</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobHistory</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobSchedule</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentSchedule</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlAgentSchedule</command:name>
        <maml:description>
            <maml:para>Gets a SQL job schedule object for each schedule that is present in the target instance of SQL Agent.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlAgentSchedule</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlAgentSchedule cmdlet gets a SQL JobSchedule object for each schedule that is present in the target instance of SQL Agent. If you provide the name of the schedule, the cmdlet only gets that specific JobSchedule object.</maml:para>
        <maml:para>The cmdlet queries the Microsoft.SqlServer.Management.Smo.Agent.SharedSchedules SQL Server Management Object (SMO) object. If you are interested in schedules associated to a specific job, use the Get-SqlAgentJobSchedule cmdlet.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation to return a collection of JobSchedule objects:</maml:para>
        <maml:para>-- Specify the instance of the SQL Agent.
-- Specify the Path parameter of the job instance.
-- Invoke the cmdlet in a valid context.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentSchedule</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the JobSchedule object that this cmdlet gets.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the Agent of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentSchedule</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server, as an array, where the SQL Agent is running. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds that this cmdlet waits for a server connection before a time-out failure. The time-out value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the JobSchedule object that this cmdlet gets.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlAgentSchedule</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the JobSchedule object that this cmdlet gets.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL Server Agent of the target instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">JobServer</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the JobSchedule object that this cmdlet gets.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the Agent of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server, as an array, where the SQL Agent is running. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds that this cmdlet waits for a server connection before a time-out failure. The time-out value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL Server Agent of the target instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">JobServer</command:parameterValue>
            <dev:type>
                <maml:name>JobServer</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get all job schedules on the specified server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlAgentSchedule -ServerInstance MyComputer | ? { $_.JobCount -eq 0 }
Name Jobs Enabled DateCreated ActiveStartDate ActiveEndDate ID
---- ---- ------- ----------- --------------- ------------- --
EveryDay 0 True 4/13/2016 11:36:30 AM 4/13/2016 12:00:00 AM 12/31/9999 12:00:00 AM 3
OnceAWeek 0 True 4/13/2016 11:36:30 AM 4/13/2016 12:00:00 AM 12/31/9999 12:00:00 AM 4</dev:code>
            <dev:remarks>
                <maml:para>This command gets all the job schedules on the SQL Agent that are located on the server instance named MyComputer which have no jobs.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgent</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJob</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobHistory</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlAgentJobStep</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlColumnEncryptionKey</command:name>
        <maml:description>
            <maml:para>Gets all column encryption key objects defined in the database, or gets one column encryption key object with the specified name.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlColumnEncryptionKey</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlColumnEncryptionKey cmdlet returns a column encryption key object for each column encryption key in the target database. If the name of the column encryption key is provided, the cmdlet returns one specific column encryption key object.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlColumnEncryptionKey</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column encryption key object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL database object for which this cmdlet runs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a script to get the SQL column encryption key value.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlColumnEncryptionKey</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column encryption key object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL database for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a script to get the SQL column encryption key value.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column encryption key object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL database object for which this cmdlet runs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet runs a script to get the SQL column encryption key value.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL database for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>SqlColumnEncryptionKey[] or SqlColumnEncryptionKey</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get all column encryption keys from a database --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlColumnEncryptionKey</dev:code>
            <dev:remarks>
                <maml:para>This command gets all column encryption keys from the database.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Get a column encryption key from a specified --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlColumnEncryptionKey -Name &quot;CEK1&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command gets a column encryption key from the column encryption key object named CEK1.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlColumnEncryptionKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlColumnEncryptionKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlColumnMasterKey</command:name>
        <maml:description>
            <maml:para>Gets the column master key objects defined in the database or gets one column master key object with the specified name.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlColumnMasterKey</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlColumnMasterKey cmdlet gets a column master key object for each column master key in the target database. If the name of the column master key is provided, the cmdlet returns one specific column master key object.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlColumnMasterKey</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL database object for which this cmdlet runs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a script to get the SQL column master key value.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlColumnMasterKey</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL database for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a script to get the SQL column master key value.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column master key object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL database object for which this cmdlet runs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet runs a script to get the SQL column master key value.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL database for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>SqlColumnMasterKey[] or SqlColumnMasterKey</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get all column master keys --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlColumnMasterKey</dev:code>
            <dev:remarks>
                <maml:para>This command gets all column master keys from the database.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Get a column master key with a specific name --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlColumnMasterKey -Name &quot;CMK1&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command gets a column master key named CMK1.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlColumnMasterKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlColumnMasterKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlCredential</command:name>
        <maml:description>
            <maml:para>Gets a SQL credential object.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlCredential</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlCredential cmdlet gets a SQL credential object.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation to get the name of the SQL credential:</maml:para>
        <maml:para>-- Specify the name of the SQL credential and the path of the instance.
-- Specify the name of the SQL Credential and the server object.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlCredential</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlCredential</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the Server object where the credential is located.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the task.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the Server object where the credential is located.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get a credential object --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlCredential -Name &quot;MyCredential&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command gets the credential object named MyCredential.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlCredential</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlCredential</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlCredential</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlDatabase</command:name>
        <maml:description>
            <maml:para>Gets a SQL database object for each database that is present in the target instance of SQL Server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlDatabase</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlDatabase cmdlet gets a SQL database object for each database that is present in the target instance of SQL Server. If the name of the database is provided, the cmdlet will return only this specific database object. </maml:para>
        <maml:para>This cmdlet supports the following modes of operation to get the SQL database object:</maml:para>
        <maml:para>-- Specify the instance Windows PowerShell path.
-- Specify the server object.
-- Specify the ServerInstance object of the target instance of SQL Server.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlDatabase</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that this cmdlet gets the SQL database object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet generates a Transact-SQL script that runs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlDatabase</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="2">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server, as a string array, that becomes the target of the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target machine.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a SQL Server connection before a timeout failure. The timeout value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that this cmdlet gets the SQL database object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet generates a Transact-SQL script that runs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlDatabase</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionString</maml:name>
                <maml:description>
                    <maml:para>Specifies a connection string to connect to the server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that this cmdlet gets the SQL database object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet generates a Transact-SQL script that runs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlDatabase</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that this cmdlet gets the SQL database object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server object of the target instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet generates a Transact-SQL script that runs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the database that this cmdlet gets the SQL database object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet generates a Transact-SQL script that runs the task.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="2">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server, as a string array, that becomes the target of the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a user account with Windows Administrator credentials on the target machine.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a SQL Server connection before a timeout failure. The timeout value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionString</maml:name>
            <maml:description>
                <maml:para>Specifies a connection string to connect to the server.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server object of the target instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get a SQL database object --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
PS SQLSERVER:\SQL\Computer\Instance&gt; Get-SqlDatabase -Name &quot;DbName&quot; -Credential $SqlCredential;</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the working directory to SQLSERVER:\SQL\Computer\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Get all instances of SQL Server on a computer --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlInstance -Credential $Credential -MachineName &quot;Computer001&quot; | Get-SqlDatabase -Credential $SqlCredential;</dev:code>
            <dev:remarks>
                <maml:para>This command gets all instances of SQL Server on the computer named Computer001and returns all the databases that are present in the instances.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Backup-SqlDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Restore-SqlDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlErrorLog</command:name>
        <maml:description>
            <maml:para>Gets the SQL Server error logs.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlErrorLog</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlErrorLog cmdlet gets the SQL Server errors logs.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation to get an error log:</maml:para>
        <maml:para>-- Pass the instance of the SQL Server.
-- Specify the Path parameter of the SQL Server instance.
-- Invoke the cmdlet in a valid context.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlErrorLog</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Timespan</maml:name>
                <maml:description>
                    <maml:para>Specifies a TimeSpan object that this cmdlet filters out of the error logs that do are outside of the time span. </maml:para>
                    <maml:para>The format of this parameter is d.HH:mm:ss.</maml:para>
                    <maml:para>This parameter is ignored if you use the Since, After, or Before parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Before</maml:name>
                <maml:description>
                    <maml:para>Specifies that this cmdlet only gets error logs generated before the given time.</maml:para>
                    <maml:para>If the After parameter is specified, the cmdlet defaults to now, meaning that the cmdlet gets all the error logs generated after what you specified for this parameter until the present time.</maml:para>
                    <maml:para>Do not specify a value for this parameter if you intend to use the Since or Timespan parameters. The format is defined according to the rules of .Net System.Datatime.Parse().</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>After</maml:name>
                <maml:description>
                    <maml:para>Specifies that this cmdlet only gets error logs generated after the given time.</maml:para>
                    <maml:para>If you specify the Before parameter, then this cmdlet gets all the error logs generated before the specified.</maml:para>
                    <maml:para>Do not specify this parameter if you intend to use the Since or Timespan parameters.</maml:para>
                    <maml:para>The format is defined according to the rules of .Net System.DataTime.Parse().</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Since</maml:name>
                <maml:description>
                    <maml:para>Specifies an abbreviation for the Timespan parameter.</maml:para>
                    <maml:para>Do not specify this parameter if you intend to use the After or Before parameter.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Midnight (gets all the logs generated after midnight)
-- Yesterday (gets all the logs generated in the last 24 hours).
-- LastWeek (gets all the logs generated in the last week)
-- LastMonth (gets all the logs generated in the last month)</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SinceType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Ascending</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet sorts the collection of error logs by the log date in ascending order. If you do not specify this parameter, the cmdlet sorts the error logs in descending order.</maml:para>
                    <maml:para>When this cmdlet gets error logs multiple sources, the sorting is applied to all the error logs from the same source. The logs this cmdlet get are grouped by source first and then sorted by log date.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path, as an array, to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlErrorLog</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Timespan</maml:name>
                <maml:description>
                    <maml:para>Specifies a TimeSpan object that this cmdlet filters out of the error logs that do are outside of the time span. </maml:para>
                    <maml:para>The format of this parameter is d.HH:mm:ss.</maml:para>
                    <maml:para>This parameter is ignored if you use the Since, After, or Before parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Before</maml:name>
                <maml:description>
                    <maml:para>Specifies that this cmdlet only gets error logs generated before the given time.</maml:para>
                    <maml:para>If the After parameter is specified, the cmdlet defaults to now, meaning that the cmdlet gets all the error logs generated after what you specified for this parameter until the present time.</maml:para>
                    <maml:para>Do not specify a value for this parameter if you intend to use the Since or Timespan parameters. The format is defined according to the rules of .Net System.Datatime.Parse().</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>After</maml:name>
                <maml:description>
                    <maml:para>Specifies that this cmdlet only gets error logs generated after the given time.</maml:para>
                    <maml:para>If you specify the Before parameter, then this cmdlet gets all the error logs generated before the specified.</maml:para>
                    <maml:para>Do not specify this parameter if you intend to use the Since or Timespan parameters.</maml:para>
                    <maml:para>The format is defined according to the rules of .Net System.DataTime.Parse().</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Since</maml:name>
                <maml:description>
                    <maml:para>Specifies an abbreviation for the Timespan parameter.</maml:para>
                    <maml:para>Do not specify this parameter if you intend to use the After or Before parameter.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Midnight (gets all the logs generated after midnight)
-- Yesterday (gets all the logs generated in the last 24 hours).
-- LastWeek (gets all the logs generated in the last week)
-- LastMonth (gets all the logs generated in the last month)</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SinceType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Ascending</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet sorts the collection of error logs by the log date in ascending order. If you do not specify this parameter, the cmdlet sorts the error logs in descending order.</maml:para>
                    <maml:para>When this cmdlet gets error logs multiple sources, the sorting is applied to all the error logs from the same source. The logs this cmdlet get are grouped by source first and then sorted by log date.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server, as an array. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlErrorLog</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Timespan</maml:name>
                <maml:description>
                    <maml:para>Specifies a TimeSpan object that this cmdlet filters out of the error logs that do are outside of the time span. </maml:para>
                    <maml:para>The format of this parameter is d.HH:mm:ss.</maml:para>
                    <maml:para>This parameter is ignored if you use the Since, After, or Before parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Before</maml:name>
                <maml:description>
                    <maml:para>Specifies that this cmdlet only gets error logs generated before the given time.</maml:para>
                    <maml:para>If the After parameter is specified, the cmdlet defaults to now, meaning that the cmdlet gets all the error logs generated after what you specified for this parameter until the present time.</maml:para>
                    <maml:para>Do not specify a value for this parameter if you intend to use the Since or Timespan parameters. The format is defined according to the rules of .Net System.Datatime.Parse().</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>After</maml:name>
                <maml:description>
                    <maml:para>Specifies that this cmdlet only gets error logs generated after the given time.</maml:para>
                    <maml:para>If you specify the Before parameter, then this cmdlet gets all the error logs generated before the specified.</maml:para>
                    <maml:para>Do not specify this parameter if you intend to use the Since or Timespan parameters.</maml:para>
                    <maml:para>The format is defined according to the rules of .Net System.DataTime.Parse().</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Since</maml:name>
                <maml:description>
                    <maml:para>Specifies an abbreviation for the Timespan parameter.</maml:para>
                    <maml:para>Do not specify this parameter if you intend to use the After or Before parameter.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Midnight (gets all the logs generated after midnight)
-- Yesterday (gets all the logs generated in the last 24 hours).
-- LastWeek (gets all the logs generated in the last week)
-- LastMonth (gets all the logs generated in the last month)</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SinceType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Ascending</maml:name>
                <maml:description>
                    <maml:para>Indicates that the cmdlet sorts the collection of error logs by the log date in ascending order. If you do not specify this parameter, the cmdlet sorts the error logs in descending order.</maml:para>
                    <maml:para>When this cmdlet gets error logs multiple sources, the sorting is applied to all the error logs from the same source. The logs this cmdlet get are grouped by source first and then sorted by log date.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server object, as an array, of the target instance that this cmdlet get the logs from.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Timespan</maml:name>
            <maml:description>
                <maml:para>Specifies a TimeSpan object that this cmdlet filters out of the error logs that do are outside of the time span. </maml:para>
                <maml:para>The format of this parameter is d.HH:mm:ss.</maml:para>
                <maml:para>This parameter is ignored if you use the Since, After, or Before parameters.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue>
            <dev:type>
                <maml:name>TimeSpan</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Before</maml:name>
            <maml:description>
                <maml:para>Specifies that this cmdlet only gets error logs generated before the given time.</maml:para>
                <maml:para>If the After parameter is specified, the cmdlet defaults to now, meaning that the cmdlet gets all the error logs generated after what you specified for this parameter until the present time.</maml:para>
                <maml:para>Do not specify a value for this parameter if you intend to use the Since or Timespan parameters. The format is defined according to the rules of .Net System.Datatime.Parse().</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            <dev:type>
                <maml:name>DateTime</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>After</maml:name>
            <maml:description>
                <maml:para>Specifies that this cmdlet only gets error logs generated after the given time.</maml:para>
                <maml:para>If you specify the Before parameter, then this cmdlet gets all the error logs generated before the specified.</maml:para>
                <maml:para>Do not specify this parameter if you intend to use the Since or Timespan parameters.</maml:para>
                <maml:para>The format is defined according to the rules of .Net System.DataTime.Parse().</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue>
            <dev:type>
                <maml:name>DateTime</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Since</maml:name>
            <maml:description>
                <maml:para>Specifies an abbreviation for the Timespan parameter.</maml:para>
                <maml:para>Do not specify this parameter if you intend to use the After or Before parameter.</maml:para>
                <maml:para>The acceptable values for this parameter are:</maml:para>
                <maml:para>-- Midnight (gets all the logs generated after midnight)
-- Yesterday (gets all the logs generated in the last 24 hours).
-- LastWeek (gets all the logs generated in the last week)
-- LastMonth (gets all the logs generated in the last month)</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SinceType</command:parameterValue>
            <dev:type>
                <maml:name>SinceType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Ascending</maml:name>
            <maml:description>
                <maml:para>Indicates that the cmdlet sorts the collection of error logs by the log date in ascending order. If you do not specify this parameter, the cmdlet sorts the error logs in descending order.</maml:para>
                <maml:para>When this cmdlet gets error logs multiple sources, the sorting is applied to all the error logs from the same source. The logs this cmdlet get are grouped by source first and then sorted by log date.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path, as an array, to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server, as an array. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server object, as an array, of the target instance that this cmdlet get the logs from.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            <dev:type>
                <maml:name>Server[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get all logs generated in a specific time frame that have a search word --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLSERVER:\SQL\MyServer\MyInstance
PS SQLSERVER:\SQL\MyServer\MyInstance&gt; Get-SqlErrorLog -Since Yesterday | Where-Object { $_.Text -match &apos;Error&apos; } | Format-Table
Date Source Text ArchiveNo ServerInstance
---- ------ ---- --------- --------------
6/16/2016 6:04:20 PM Logon Error: 17828, Severity: 20, State: 4. 0 MyServer\MyInstance</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the directory to the SQL Server instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Get all logs generated in a specific time frame --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLSERVER:\SQL\MyServer\MyInstance
PS SQLSERVER:\SQL\MyServer\MyInstance&gt; Get-SqlErrorLog -Timespan &apos;05:30:00&apos; | Format-Table
Date Source Text
---- ------ ----
6/17/2016 12:00:00 AM spid26s This instance of SQL Server has been using a process ID of 21520 since 6/10/2016 3:56:...
6/16/2016 6:04:20 PM Logon The prelogin packet used to open the connection is structurally invalid; the connectio...
6/16/2016 6:04:20 PM Logon Error: 17828, Severity: 20, State: 4.</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the directory to the SQL Server instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Get all logs generated in a specific time frame sorted ascending and grouped --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLSERVER:\SQL\MyServer
PS SQLSERVER:\SQL\MyServer&gt; ls | Get-SqlErrorLog -After &apos;2016-05-10&apos; -Before &apos;2016-06-18&apos; -Ascending | ? { $_.Text -match &apos;Login failed&apos; } | Group-Object -Property ServerInstance
Count Name Group
----- ---- -----
    1 MyServer {{ Date = 6/17/2016 2:00:04 AM, Source = Logon, Text = Login failed for user ...
    2 MyServer\INST1 {{ Date = 6/10/2016 3:58:46 PM, Source = Logon, Text = Login failed for user</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the directory to the SQL Server instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Set-SqlErrorLog</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlInstance</command:name>
        <maml:description>
            <maml:para>Gets a SQL Instance object for each instance of SQL Server that is present on the target computer.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlInstance</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlInstance cmdlet gets a SQL Instance object for each instance of SQL Server that is present on the target computer. If the name of the instance of SQL Server is provided, the cmdlet will only get this specific instance of SQL Server.</maml:para>
        <maml:para>You must ensure that you run SQL Server Cloud Adapter on the computer that hosts the instance of SQL Server.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlInstance</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>MachineName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name, as a string array, of the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the instance of SQL Server, when you want to retrieve a specific instance of SQL Serveron the target machine.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object for the connection to the SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter should be used when the ports of the target machine are not directly accessible but are exposed through endpoints, which means that we need to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target server. After the timeout expires, no retry is attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>MachineName</maml:name>
            <maml:description>
                <maml:para>Specifies the name, as a string array, of the target computer.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the instance of SQL Server, when you want to retrieve a specific instance of SQL Serveron the target machine.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object for the connection to the SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ManagementPublicPort</maml:name>
            <maml:description>
                <maml:para>Specifies the public management port on the target computer. This parameter should be used when the ports of the target machine are not directly accessible but are exposed through endpoints, which means that we need to connect to a different port.</maml:para>
                <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>RetryTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the time period to retry the command on the target server. After the timeout expires, no retry is attempted.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get an SQL Server instance on a computer --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlInstance -Credential $Credential -MachineName &quot;Computer002&quot; -Name &quot;InstanceName&quot; -AcceptSelfSignedCertificate;</dev:code>
            <dev:remarks>
                <maml:para>This command gets the SQL Server instance named InstanceName on the computer named Computer002. The self-signed certificate of the target machine will be automatically accepted without prompting the user.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Get all instances of SQL Server on a computer --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlInstance -Credential $Credential -MachineName &quot;Computer005&quot; -AcceptSelfSignedCertificate;</dev:code>
            <dev:remarks>
                <maml:para>This command gets all instances of SQL Server on the computer named Computer005. The self-signed certificate of the target machine will be automatically accepted without prompting the user.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Online Version:</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Start-SqlInstance</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Stop-SqlInstance</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlLogin</command:name>
        <maml:description>
            <maml:para>Returns Login objects in an instance of SQL Server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlLogin</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlLogin cmdlet returns Login objects in an instance of SQL Server. If you specify the name of the Login object, the cmdlet removes that specific object.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlLogin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of Login objects that this cmdlet gets. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Disabled</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only disabled Login objects.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Locked</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only locked Login objects.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PasswordExpired</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only Login objects that have expired passwords.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>HasAccess</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only Login objects that have access to the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RegEx</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet treats the value of the LoginName parameter as a regular expression.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Wildcard</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet interprets wildcard characters in the value of the LoginName parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginType</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of the Login objects that this cmdlet gets. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AsymmetricKey
-- Certificate
-- SqlLogin
-- WindowsGroup
-- WindowsUser</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">LoginType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL Server on which this cmdlet runs the operation. The default value is the current working directory.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlLogin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of Login objects that this cmdlet gets. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Disabled</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only disabled Login objects.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Locked</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only locked Login objects.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PasswordExpired</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only Login objects that have expired passwords.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>HasAccess</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only Login objects that have access to the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RegEx</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet treats the value of the LoginName parameter as a regular expression.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Wildcard</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet interprets wildcard characters in the value of the LoginName parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginType</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of the Login objects that this cmdlet gets. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AsymmetricKey
-- Certificate
-- SqlLogin
-- WindowsGroup
-- WindowsUser</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">LoginType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies a SQL Server Management Objects (SMO) object the SQL Server for which this cmdlet gets Login objects.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlLogin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of Login objects that this cmdlet gets. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Disabled</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only disabled Login objects.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Locked</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only locked Login objects.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PasswordExpired</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only Login objects that have expired passwords.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>HasAccess</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet gets only Login objects that have access to the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RegEx</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet treats the value of the LoginName parameter as a regular expression.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Wildcard</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet interprets wildcard characters in the value of the LoginName parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginType</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of the Login objects that this cmdlet gets. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AsymmetricKey
-- Certificate
-- SqlLogin
-- WindowsGroup
-- WindowsUser</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">LoginType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>LoginName</maml:name>
            <maml:description>
                <maml:para>Specifies an array of names of Login objects that this cmdlet gets. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Disabled</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet gets only disabled Login objects.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Locked</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet gets only locked Login objects.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>PasswordExpired</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet gets only Login objects that have expired passwords.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>HasAccess</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet gets only Login objects that have access to the instance of SQL Server.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>RegEx</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet treats the value of the LoginName parameter as a regular expression.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Wildcard</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet interprets wildcard characters in the value of the LoginName parameter.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>LoginType</maml:name>
            <maml:description>
                <maml:para>Specifies the type of the Login objects that this cmdlet gets. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- AsymmetricKey
-- Certificate
-- SqlLogin
-- WindowsGroup
-- WindowsUser</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">LoginType</command:parameterValue>
            <dev:type>
                <maml:name>LoginType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL Server on which this cmdlet runs the operation. The default value is the current working directory.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies a SQL Server Management Objects (SMO) object the SQL Server for which this cmdlet gets Login objects.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get all Login objects for an instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlLogin -ServerInstance &quot;MyServerInstance&quot;
Name Login Type Created
---- ---------- -------
##MS_PolicyEventProcessingLogin## SqlLogin 4/30/2016 12:46 AM
##MS_PolicyTsqlExecutionLogin## SqlLogin 4/30/2016 12:46 AM
NT AUTHORITY\SYSTEM WindowsUser 6/16/2016 10:29 AM
NT Service\MSSQLSERVER WindowsUser 6/16/2016 10:29 AM
NT SERVICE\SQLSERVERAGENT WindowsUser 6/16/2016 10:29 AM
NT SERVICE\SQLTELEMETRY WindowsUser 6/16/2016 10:29 AM
NT SERVICE\SQLWriter WindowsUser 6/16/2016 10:29 AM
NT SERVICE\Winmgmt WindowsUser 6/16/2016 10:29 AM
sa SqlLogin 4/8/2003 9:10 AM</dev:code>
            <dev:remarks>
                <maml:para>This command returns all Login objects in the instance of SQL Server named MyServerInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Get Login objects that match a regular expression --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlLogin -ServerInstance &quot;MyServerInstance&quot; -LoginName &quot;\bNT.*&quot; -RegEx
Name Login Type Created
---- ---------- -------
NT AUTHORITY\SYSTEM WindowsUser 6/16/2016 10:29 AM
NT Service\MSSQLSERVER WindowsUser 6/16/2016 10:29 AM
NT SERVICE\SQLSERVERAGENT WindowsUser 6/16/2016 10:29 AM
NT SERVICE\SQLTELEMETRY WindowsUser 6/16/2016 10:29 AM
NT SERVICE\SQLWriter WindowsUser 6/16/2016 10:29 AM
NT SERVICE\Winmgmt WindowsUser 6/16/2016 10:29 AM</dev:code>
            <dev:remarks>
                <maml:para>This command returns Login objects that have names that match the regular expression \bNT.* in the instance of SQL Server named MyServerInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Get Login objects of a type --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlLogin -ServerInstance &quot;MyServerInstance&quot; -LoginType SqlLogin
Name Login Type Created
---- ---------- -------
##MS_PolicyEventProcessingLogin## SqlLogin 4/30/2016 12:46 AM
##MS_PolicyTsqlExecutionLogin## SqlLogin 4/30/2016 12:46 AM
sa SqlLogin 4/8/2003 9:10 AM</dev:code>
            <dev:remarks>
                <maml:para>This command returns Login objects that are of type SqlLogin in the instance of SQL Server named MyServerInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Add-SqlLogin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlLogin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Get-SqlSmartAdmin</command:name>
        <maml:description>
            <maml:para>Gets the SQL Smart Admin object and its properties.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Get</command:verb>
        <command:noun>SqlSmartAdmin</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Get-SqlSmartAdmin cmdlet gets the SQL Smart Admin object. The Smart Admin object includes SQL Server Managed Backup to Windows azure_2 configuration settings. This cmdlet supports the following modes of operation to return the object: </maml:para>
        <maml:para>-- Pass the name of the server instance using the Name parameter. For a default instance, specify only the computer name. For a named instance, use Computername\InstanceName. </maml:para>
        <maml:para>-- Pass the path of the instance of SQL Server to the Path parameter.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Get-SqlSmartAdmin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the instance of the SQL Server in this format: Computer\Instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that this cmdlet gets the SQL Smart Admin object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of the SQL Server. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName. Both the Name and the ServerInstance parameters allow you to specify the name of the instance, but ServerInstance also accepts pipeline input of the Server instance name, or the SqInstanceInfo object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of SQL Server. If you do not specify a value for this parameter, the cmdlet sets the path to the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlSmartAdmin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the instance of the SQL Server in this format: Computer\Instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that this cmdlet gets the SQL Smart Admin object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of the SQL Server. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName. Both the Name and the ServerInstance parameters allow you to specify the name of the instance, but ServerInstance also accepts pipeline input of the Server instance name, or the SqInstanceInfo object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the instance of the Server object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Get-SqlSmartAdmin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the instance of the SQL Server in this format: Computer\Instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that this cmdlet gets the SQL Smart Admin object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of the SQL Server. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName. Both the Name and the ServerInstance parameters allow you to specify the name of the instance, but ServerInstance also accepts pipeline input of the Server instance name, or the SqInstanceInfo object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the instance of the SQL Server in this format: Computer\Instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DatabaseName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the database that this cmdlet gets the SQL Smart Admin object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of the SQL Server. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName. Both the Name and the ServerInstance parameters allow you to specify the name of the instance, but ServerInstance also accepts pipeline input of the Server instance name, or the SqInstanceInfo object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            <dev:type>
                <maml:name>PSObject</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of SQL Server. If you do not specify a value for this parameter, the cmdlet sets the path to the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the task.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the instance of the Server object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get a Smart Admin object properties from a computer --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlSmartAdmin -Name &quot;Computer\MyInstance&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command gets the smart admin object properties from the computer named Computer\MyInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Set-SqlSmartAdmin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Test-SqlSmartAdmin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Grant-SqlAvailabilityGroupCreateAnyDatabase</command:name>
        <maml:description>
            <maml:para>Grants the CREATE ANY DATABASE permission to an Always On Availability Group.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Grant</command:verb>
        <command:noun>SqlAvailabilityGroupCreateAnyDatabase</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Grants the &quot;create any database&quot; permission to an Always On Availability Group.If automatic seeding is used to seed the secondary replica, you must allow database creation on each replica by calling Grant-SqlAvailabilityGroupCreateAnyDatabase commandlet. </maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Grant-SqlAvailabilityGroupCreateAnyDatabase</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the availability group on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet. Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Grant-SqlAvailabilityGroupCreateAnyDatabase</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the target Availability Group object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet. Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the availability group on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet. Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the target Availability Group object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroup[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
<maml:para />
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
<maml:para />
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: How to grant create any database permission --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; Grant-SqlAvailabilityGroupCreateAnyDatabase -Path SQLSERVER:\SQL\MYSERVER\MYINSTANCE\AvailabilityGroupS\AG1
    </dev:code>
            <dev:remarks>
                <maml:para>This example shows how to use the cmdlet to grant create any database permission to the Availability Group &#39;AG1&#39; on SQL Server &#39;MYSERVER&#39; (instance name &#39;MYINSTANCE&#39;)</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Invoke-PolicyEvaluation</command:name>
        <maml:description>
            <maml:para>Invokes one or more SQL Server policy-based management policy evaluations.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Invoke</command:verb>
        <command:noun>PolicyEvaluation</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Invoke-PolicyEvaluation cmdlet evaluates one or more policy-based management policies against a set of SQL Server objects named in the target set. The policies specify the allowed values for various properties that are associated with SQL Server objects, such as establishing site standards for database names or collations. When this cmdlet runs in check mode, it reports whether the current properties of the objects in the target set comply with the rules in the policy definitions. The objects in the target set are not reconfigured if their properties do not comply with the policies. In configure mode, this cmdlet reconfigures any objects in the target set that do not comply with the policy definitions.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Invoke-PolicyEvaluation</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>Policy</maml:name>
                <maml:description>
                    <maml:para>Specifies one or more policies to evaluate. Policies can be stored in an instance of the SQL Server database engine or as exported XML files. For policies that are stored in an instance of the database engine, use a path that is based on the SQLSERVER:\SQLPolicy folder to specify the location of the polices. For policies that are stored as XML files, use a file system path to specify the location the policies. </maml:para>
                    <maml:para>This parameter can take a string that specifies the names of one or more policies to evaluate. If only a file or policy name is specified in the string, this cmdlet uses the current path. For policies that are stored in an instance of the database engine, use the policy name, such as &quot;Database Status&quot; or &quot;SQLSERVER:\SQLPolicy\MyComputer\DEFAULT\Policies\Database Status.&quot; For policies that are exported as XML files, use the name of the file, such as &quot;Database Status.xml&quot; or &quot;C:\MyPolicyFolder\Database Status.xml.&quot; </maml:para>
                    <maml:para>This parameter can take a set of FileInfo objects, such as the output of Get-ChildItem run against a folder that contains exported XML policies. This parameter can also take a set of Policy objects, such as the output of Get-ChildItem run against a SQLSERVER:\SQLPolicy path.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AdHocPolicyEvaluationMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the adhoc policy evaluation mode. Valid values are: </maml:para>
                    <maml:para>-- Check. Report the compliance status of the target set by using the credentials of your login account and without reconfiguring any objects.
-- CheckSqlScriptAsProxy. Run a check report by using the ##MS_PolicyTSQLExecutionLogin## proxy account credentials.
-- Configure. Reconfigure the target set objects that do not comply with the policies and report the resulting status. This cmdlet only reconfigures properties that are settable and deterministic.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AdHocPolicyEvaluationMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TargetServerName</maml:name>
                <maml:description>
                    <maml:para>Specifies the instance of the database engine that contains the target set. You can specify a variable that contains a Microsoft.SqlServer.Management.Sfc.Sdk.SQLStoreConnection object. You can also specify a string that complies with the formats that are used in the ConnectionString property of the System.Data.SqlClient.SQLConnection class. These include strings such as those created by using the System.Data.SqlClient.SqlConnectionStringBuilder class. By default, this cmdlet connects by using Windows Authentication.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TargetExpression</maml:name>
                <maml:description>
                    <maml:para>Specifies a query that returns the list of objects that define the target set. The queries are specified as a string that has nodes which are separated by the &#39;/&#39; character. Each node is in the format ObjectType[Filter]. </maml:para>
                    <maml:para>ObjectType is one of the objects in the SQL Server Management Objects (SMO) object model, and Filter is an expression that filters for specific objects at that node. The nodes must follow the hierarchy of the SMO objects. For example, the following query expression returns the AdventureWorks sample database:
Server[@Name=&#39;MyComputer&#39;]/Database[@Name=&#39;AdventureWorks&#39;]</maml:para>
                    <maml:para>If TargetExpression is specified, do not specify TargetObject.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputXml</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet produces its report in XML format using the Service Modeling Language Interchange Format (SML-IF) schema.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Invoke-PolicyEvaluation</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
                <maml:name>Policy</maml:name>
                <maml:description>
                    <maml:para>Specifies one or more policies to evaluate. Policies can be stored in an instance of the SQL Server database engine or as exported XML files. For policies that are stored in an instance of the database engine, use a path that is based on the SQLSERVER:\SQLPolicy folder to specify the location of the polices. For policies that are stored as XML files, use a file system path to specify the location the policies. </maml:para>
                    <maml:para>This parameter can take a string that specifies the names of one or more policies to evaluate. If only a file or policy name is specified in the string, this cmdlet uses the current path. For policies that are stored in an instance of the database engine, use the policy name, such as &quot;Database Status&quot; or &quot;SQLSERVER:\SQLPolicy\MyComputer\DEFAULT\Policies\Database Status.&quot; For policies that are exported as XML files, use the name of the file, such as &quot;Database Status.xml&quot; or &quot;C:\MyPolicyFolder\Database Status.xml.&quot; </maml:para>
                    <maml:para>This parameter can take a set of FileInfo objects, such as the output of Get-ChildItem run against a folder that contains exported XML policies. This parameter can also take a set of Policy objects, such as the output of Get-ChildItem run against a SQLSERVER:\SQLPolicy path.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AdHocPolicyEvaluationMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the adhoc policy evaluation mode. Valid values are: </maml:para>
                    <maml:para>-- Check. Report the compliance status of the target set by using the credentials of your login account and without reconfiguring any objects.
-- CheckSqlScriptAsProxy. Run a check report by using the ##MS_PolicyTSQLExecutionLogin## proxy account credentials.
-- Configure. Reconfigure the target set objects that do not comply with the policies and report the resulting status. This cmdlet only reconfigures properties that are settable and deterministic.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AdHocPolicyEvaluationMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>TargetObjects</maml:name>
                <maml:description>
                    <maml:para>Specifies the set of SQL Server objects against which the policy is evaluated. To connect to an instance of SQL Server analysis services, specify a Microsoft.AnalysisServices.Server object for TargetObject. </maml:para>
                    <maml:para>If TargetObject is specified, do not specify TargetExpression.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">PSObject[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputXml</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet produces its report in XML format using the Service Modeling Language Interchange Format (SML-IF) schema.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
            <maml:name>Policy</maml:name>
            <maml:description>
                <maml:para>Specifies one or more policies to evaluate. Policies can be stored in an instance of the SQL Server database engine or as exported XML files. For policies that are stored in an instance of the database engine, use a path that is based on the SQLSERVER:\SQLPolicy folder to specify the location of the polices. For policies that are stored as XML files, use a file system path to specify the location the policies. </maml:para>
                <maml:para>This parameter can take a string that specifies the names of one or more policies to evaluate. If only a file or policy name is specified in the string, this cmdlet uses the current path. For policies that are stored in an instance of the database engine, use the policy name, such as &quot;Database Status&quot; or &quot;SQLSERVER:\SQLPolicy\MyComputer\DEFAULT\Policies\Database Status.&quot; For policies that are exported as XML files, use the name of the file, such as &quot;Database Status.xml&quot; or &quot;C:\MyPolicyFolder\Database Status.xml.&quot; </maml:para>
                <maml:para>This parameter can take a set of FileInfo objects, such as the output of Get-ChildItem run against a folder that contains exported XML policies. This parameter can also take a set of Policy objects, such as the output of Get-ChildItem run against a SQLSERVER:\SQLPolicy path.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            <dev:type>
                <maml:name>PSObject</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AdHocPolicyEvaluationMode</maml:name>
            <maml:description>
                <maml:para>Specifies the adhoc policy evaluation mode. Valid values are: </maml:para>
                <maml:para>-- Check. Report the compliance status of the target set by using the credentials of your login account and without reconfiguring any objects.
-- CheckSqlScriptAsProxy. Run a check report by using the ##MS_PolicyTSQLExecutionLogin## proxy account credentials.
-- Configure. Reconfigure the target set objects that do not comply with the policies and report the resulting status. This cmdlet only reconfigures properties that are settable and deterministic.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AdHocPolicyEvaluationMode</command:parameterValue>
            <dev:type>
                <maml:name>AdHocPolicyEvaluationMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>TargetServerName</maml:name>
            <maml:description>
                <maml:para>Specifies the instance of the database engine that contains the target set. You can specify a variable that contains a Microsoft.SqlServer.Management.Sfc.Sdk.SQLStoreConnection object. You can also specify a string that complies with the formats that are used in the ConnectionString property of the System.Data.SqlClient.SQLConnection class. These include strings such as those created by using the System.Data.SqlClient.SqlConnectionStringBuilder class. By default, this cmdlet connects by using Windows Authentication.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            <dev:type>
                <maml:name>PSObject</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>TargetExpression</maml:name>
            <maml:description>
                <maml:para>Specifies a query that returns the list of objects that define the target set. The queries are specified as a string that has nodes which are separated by the &#39;/&#39; character. Each node is in the format ObjectType[Filter]. </maml:para>
                <maml:para>ObjectType is one of the objects in the SQL Server Management Objects (SMO) object model, and Filter is an expression that filters for specific objects at that node. The nodes must follow the hierarchy of the SMO objects. For example, the following query expression returns the AdventureWorks sample database:
Server[@Name=&#39;MyComputer&#39;]/Database[@Name=&#39;AdventureWorks&#39;]</maml:para>
                <maml:para>If TargetExpression is specified, do not specify TargetObject.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>OutputXml</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet produces its report in XML format using the Service Modeling Language Interchange Format (SML-IF) schema.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>TargetObjects</maml:name>
            <maml:description>
                <maml:para>Specifies the set of SQL Server objects against which the policy is evaluated. To connect to an instance of SQL Server analysis services, specify a Microsoft.AnalysisServices.Server object for TargetObject. </maml:para>
                <maml:para>If TargetObject is specified, do not specify TargetExpression.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">PSObject[]</command:parameterValue>
            <dev:type>
                <maml:name>PSObject[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Evaluate a policy on the default instance of the computer --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Policies\DatabaseEngine\1033&quot;
PS C:\&gt;Invoke-PolicyEvaluation -Policy &quot;Trustworthy Database.xml&quot; -TargetServer &quot;MYCOMPUTER&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command evaluate a policy on the default instance of the specified computer. The policy is read from an XML file and the connection is authenticated by using Windows Authentication.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Evaluate policies from XML files --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Policies\DatabaseEngine\1033&quot;
PS C:\&gt;Get-ChildItem &quot;Database Status.xml&quot;, &quot;Trustworthy Database.xml&quot; | Invoke-PolicyEvaluation -TargetServer &quot;MYCOMPUTER&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command reads two policies from XML files in a folder, and then passes them to Invoke-PolicyEvaluation by using the pipeline operator.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Evaluate policies and format the output according to the SMLIF schema --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Policies\DatabaseEngine\1033&quot;
PS C:\&gt;Invoke-PolicyEvaluation -Policy &quot;Database Status.xml&quot; -TargetServer &quot;MYCOMPUTER&quot; -OutputXML &gt; C:\MyReportFolder\MyReport.xml</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates a policy and formats the output by using the Services Modeling Language Interchange Format (SML-IF) schema. The output is redirected to a file.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Evaluate a filtered set of policies --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;SQLSERVER:\SQLPolicy\MYCOMPUTER\DEFAULT\Policies&quot;
PS C:\&gt;Get-ChildItem | Where-Object { $_.PolicyCategory -eq &quot;Microsoft Best Practices: Maintenance&quot; } | Invoke-PolicyEvaluation -TargetServer &apos;MYCOMPUTER&apos;</dev:code>
            <dev:remarks>
                <maml:para>The first command sets the current path to a SQL Server policy store. The second command uses Get-ChildItem to read all of the polices and then uses Where-Object to filter the list for the policies that have their PolicyCategory property set to &quot;Microsoft Best Practices: Maintenance&quot;. The output is sent to Invoke-PolicyEvaluation by using the pipeline operator.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 5: Evaluate policies from XML files by using a SqlStoreConnection object --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Policies\DatabaseEngine\1033&quot;
PS C:\&gt;$Connection = New-Object Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection(&quot;server=&apos;MYCOMPUTER&apos;;Trusted_Connection=True&quot;)
PS C:\&gt;Invoke-PolicyEvaluation -Policy &quot;Database Status.xml&quot; -TargetServer $Connection</dev:code>
            <dev:remarks>
                <maml:para>The first command sets the current location to a local folder that contains policy evaulations in XML files. The second command uses New-Object to create a SqlStoreConnection object. The third command evaluates policy from an XML file against the server defined by the SqlStoreConnection object.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 6: Evaluate policy using a manually loaded assembly --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;C:\Program Files (x86)\Microsoft SQL Server\140\ tools\Policies\analysisservices\1033&quot;
PS C:\&gt;[System.Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.AnalysisServices&quot;)
PS C:\&gt;$SSASsvr = New-Object Microsoft.AnalysisServices.Server
PS C:\&gt;$SSASsvr.Connect(&quot;Data Source=localhost&quot;)
PS C:\&gt;Invoke-PolicyEvaluation &quot;Surface Area Configuration for Analysis Services Features.xml&quot; -TargetObject $SSASsvr</dev:code>
            <dev:remarks>
                <maml:para>The first command sets the current folder location. The second command loads an instance of the SQL Server Analysis Services assembly. The third command creates a Microsoft.AnalysisServices object. The fourth command uses the new AnalysisServices object to open a connection to the default server instance on the local computer. The fifth command evaluates the Analysis Services surface area configuration policy.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 7: Evaluate a filterd set of policies --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Policies\DatabaseEngine\1033&quot;
PS C:\&gt;Invoke-PolicyEvaluation &quot;Database Status.xml&quot; -TargetServer &quot;MYCOMPUTER&quot; -TargetExpression &quot;Server[@Name=&apos;MYCOMPUTER&apos;]/Database[@Name=&apos;AdventureWorks2014&apos;]&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command uses the TargetExpression parameter to specify a query expression that filters the database status policy be evaluated against the AdventureWorks2014 sample database and performs the evaluation.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 8: Evaluate the reporting services surface area configuration policy --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Policies\ReportingServices\1033&quot;
PS C:\&gt;[System.Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.SqlServer.Dmf.Adapters&quot;)
PS C:\&gt;$SSRSsvr = New-Object Microsoft.SqlServer.Management.Adapters.RSContainer(&apos;MyComputer&apos;)
PS C:\&gt;Invoke-PolicyEvaluation -Policy &quot;Surface Area Configuration for Reporting Services 2008 Features.xml&quot; -TargetObject $SSRSsvr</dev:code>
            <dev:remarks>
                <maml:para>This command loads the SQL Server Reporting Services assembly, creates a connection to the default server instance on the local computer, and runs the Reporting Services surface area configuration policy.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SQLServer_Cmdlets</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Invoke-Sqlcmd</command:name>
        <maml:description>
            <maml:para>Runs a script containing statements supported by the SQL Server SQLCMD utility.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Invoke</command:verb>
        <command:noun>Sqlcmd</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Invoke-Sqlcmd cmdlet runs a script containing the languages and commands supported by the SQL Server SQLCMD utility. The commands supported are Transact-SQL statements and the subset of the XQuery syntax that is supported by the database engine. This cmdlet also accepts many of the commands supported natively by SQLCMD, such as GO and QUIT. This cmdlet also accepts the SQLCMD scripting variables, such as SQLCMDUSER. By default, this cmdlet does not set SQLCMD scripting variables.</maml:para>
        <maml:para>This cmdlet does not support the use of commands that are primarily related to interactive script editing. The commands not supported include :!!, :connect, :error, :out, :ed, :list, :listvar, :reset, :perftrace, and :serverlist.</maml:para>
        <maml:para>When this cmdlet is run, the first result set that the script returns is displayed as a formatted table. If subsequent result sets contain different column lists than the first, those result sets are not displayed. If subsequent result sets after the first set have the same column list, their rows are appended to the formatted table that contains the rows that were returned by the first result set.</maml:para>
        <maml:para>You can display SQL Server message output, such as those that result from the SQL PRINT statement, by specifying the Verbose parameter.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Invoke-Sqlcmd</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies a character string or SQL Server Management Objects (SMO) object that specifies the name of an instance of the Database Engine. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of a database. This cmdlet connects to this database in the instance that is specified in the ServerInstance parameter.</maml:para>
                    <maml:para>If the Database parameter is not specified, the database that is used depends on whether the current path specifies both the SQLSERVER:\SQL folder and a database name. If the path specifies both the SQL folder and a database name, this cmdlet connects to the database that is specified in the path. If the path is not based on the SQL folder, or the path does not contain a database name, this cmdlet connects to the default database for the current login ID. If you specify the IgnoreProviderContext parameter switch, this cmdlet does not consider any database specified in the current path, and connects to the database defined as the default for the current login ID.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptConnection</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet uses Secure Sockets Layer (SSL) encryption for the connection to the instance of the Database Engine specified in the ServerInstance parameter. If this parameter is specified, SSL encryption is used. If you do not specify this parameter, specified encryption is not used.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Username</maml:name>
                <maml:description>
                    <maml:para>Specifies the login ID for making a SQL Server Authentication connection to an instance of the Database Engine. The password must be specified through the Password parameter. If Username and Password are not specified, this cmdlet attempts a Windows Authentication connection using the Windows account running the Windows PowerShell session. When possible, use Windows Authentication.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Password</maml:name>
                <maml:description>
                    <maml:para>Specifies the password for the SQL Server Authentication login ID that was specified in the Username parameter. Passwords are case-sensitive. When possible, use Windows Authentication. Do not use a blank password, when possible use a strong password. </maml:para>
                    <maml:para>If you specify the Password parameter followed by your password, the password is visible to anyone who can see your monitor. If you code Password followed by your password in a .ps1 script, anyone reading the script file will see your password. Assign the appropriate NTFS permissions to the file to prevent other users from being able to read the file.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Query</maml:name>
                <maml:description>
                    <maml:para>Specifies one or more queries that this cmdlet runs. The queries can be Transact-SQL or XQuery statements, or sqlcmd commands. Multiple queries separated by a semicolon can be specified. Do not specify the sqlcmd GO separator. Escape any double quotation marks included in the string. Consider using bracketed identifiers such as [MyTable] instead of quoted identifiers such as &quot;MyTable&quot;.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>QueryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds before the queries time out. If a timeout value is not specified, the queries do not time out. The timeout must be an integer value between 1 and 65535.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds when this cmdlet times out if it cannot successfully connect to an instance of the Database Engine. The timeout value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ErrorLevel</maml:name>
                <maml:description>
                    <maml:para>Specifies that this cmdlet display only error messages whose severity level is equal to or higher than the value specified. All error messages are displayed if this parameter is not specified or set to 0. Database Engine error severities range from 1 to 24.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SeverityLevel</maml:name>
                <maml:description>
                    <maml:para>Specifies the lower limit for the error message severity level this cmdlet returns to the ERRORLEVEL Windows PowerShell variable. This cmdlet returns the highest severity level from the error messages generated by the queries it runs, provided that severity is equal to or higher than specified in the SeverityLevel parameter. If SeverityLevel is not specified or set to 0, this cmdlet returns 0 to ERRORLEVEL. The severity levels of Database Engine error messages range from 1 to 24. This cmdlet does not report severities for informational messages that have a severity of 10</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxCharLength</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of characters returned for columns with character or Unicode data types, such as char, nchar, varchar, and nvarchar. The default value is 4,000 characters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxBinaryLength</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of bytes returned for columns with binary string data types, such as binary and varbinary. The default value is 1,024 bytes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AbortOnError</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet stops the SQL Server command and returns an error level to the Windows PowerShell ERRORLEVEL variable if this cmdlet encounters an error. The error level returned is 1 if the error has a severity higher than 10, and the error level is 0 if the error has a severity of 10 or less. If the ErrorLevel parameter is also specified, this cmdlet returns 1 only if the error message severity is also equal to or higher than the value specified for ErrorLevel.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DedicatedAdministratorConnection</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet uses a Dedicated Administrator Connection (DAC) to connect to an instance of the Database Engine. DAC is used by system administrators for actions such as troubleshooting instances that will not accept new standard connections. The instance must be configured to support DAC. If DAC is not enabled, this cmdlet reports an error and will not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DisableVariables</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet ignores sqlcmd scripting variables. This is useful when a script contains many INSERT statements that may contain strings that have the same format as variables, such as $(variable_name).</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DisableCommands</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet turns off some sqlcmd features that might compromise security when run in batch files. It prevents Windows PowerShell variables from being passed in to the Invoke-Sqlcmd script. The startup script specified in the SQLCMDINI scripting variable is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>HostName</maml:name>
                <maml:description>
                    <maml:para>Specifies a workstation name. The workstation name is reported by the sp_who system stored procedure and in the hostname column of the sys.processes catalog view. If this parameter is not specified, the default is the name of the computer on which Invoke-Sqlcmd is run. This parameter can be used to identify different Invoke-Sqlcmd sessions.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NewPassword</maml:name>
                <maml:description>
                    <maml:para>Specifies a new password for a SQL Server Authentication login ID. This cmdlet changes the password and then exits. You must also specify the Username and Password parameters, with Password that specifies the current password for the login.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Variable</maml:name>
                <maml:description>
                    <maml:para>Specifies, as a string array, a sqlcmd scripting variable for use in the sqlcmd script, and sets a value for the variable. Use a Windows PowerShell array to specify multiple variables and their values.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InputFile</maml:name>
                <maml:description>
                    <maml:para>Specifies a file to be used as the query input to this cmdlet. The file can contain Transact-SQL statements, XQuery statements, and sqlcmd commands and scripting variables. Specify the full path to the file. Spaces are not allowed in the file path or file name.</maml:para>
                    <maml:para>You should only run scripts from trusted sources. Ensure all input scripts are secured with the appropriate NTFS permissions.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputSqlErrors</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet displays error messages in the Invoke-Sqlcmd output.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>IncludeSqlUserErrors</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns SQL user script errors that are otherwise ignored by default. If this parameter is specified, this cmdlet matches the default behavior of the sqlcmd utility.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SuppressProviderContextWarning</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet suppresses the warning that this cmdlet has used in the database context from the current SQLSERVER:\SQL path setting to establish the database context for the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>IgnoreProviderContext</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet ignores the database context that was established by the current SQLSERVER:\SQL path. If the Database parameter is not specified, this cmdlet uses the default database for the current login ID or Windows account.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputAs</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of the results this cmdlet gets.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- DataSet
-- DataTables
-- DataRows</maml:para>
                    <maml:para>If you do not specify a value for this parameter, the cmdlet sets the value to DataRows.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">OutputType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Invoke-Sqlcmd</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Query</maml:name>
                <maml:description>
                    <maml:para>Specifies one or more queries that this cmdlet runs. The queries can be Transact-SQL or XQuery statements, or sqlcmd commands. Multiple queries separated by a semicolon can be specified. Do not specify the sqlcmd GO separator. Escape any double quotation marks included in the string. Consider using bracketed identifiers such as [MyTable] instead of quoted identifiers such as &quot;MyTable&quot;.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>QueryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds before the queries time out. If a timeout value is not specified, the queries do not time out. The timeout must be an integer value between 1 and 65535.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ErrorLevel</maml:name>
                <maml:description>
                    <maml:para>Specifies that this cmdlet display only error messages whose severity level is equal to or higher than the value specified. All error messages are displayed if this parameter is not specified or set to 0. Database Engine error severities range from 1 to 24.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SeverityLevel</maml:name>
                <maml:description>
                    <maml:para>Specifies the lower limit for the error message severity level this cmdlet returns to the ERRORLEVEL Windows PowerShell variable. This cmdlet returns the highest severity level from the error messages generated by the queries it runs, provided that severity is equal to or higher than specified in the SeverityLevel parameter. If SeverityLevel is not specified or set to 0, this cmdlet returns 0 to ERRORLEVEL. The severity levels of Database Engine error messages range from 1 to 24. This cmdlet does not report severities for informational messages that have a severity of 10</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxCharLength</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of characters returned for columns with character or Unicode data types, such as char, nchar, varchar, and nvarchar. The default value is 4,000 characters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxBinaryLength</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of bytes returned for columns with binary string data types, such as binary and varbinary. The default value is 1,024 bytes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AbortOnError</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet stops the SQL Server command and returns an error level to the Windows PowerShell ERRORLEVEL variable if this cmdlet encounters an error. The error level returned is 1 if the error has a severity higher than 10, and the error level is 0 if the error has a severity of 10 or less. If the ErrorLevel parameter is also specified, this cmdlet returns 1 only if the error message severity is also equal to or higher than the value specified for ErrorLevel.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DisableVariables</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet ignores sqlcmd scripting variables. This is useful when a script contains many INSERT statements that may contain strings that have the same format as variables, such as $(variable_name).</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DisableCommands</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet turns off some sqlcmd features that might compromise security when run in batch files. It prevents Windows PowerShell variables from being passed in to the Invoke-Sqlcmd script. The startup script specified in the SQLCMDINI scripting variable is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Variable</maml:name>
                <maml:description>
                    <maml:para>Specifies, as a string array, a sqlcmd scripting variable for use in the sqlcmd script, and sets a value for the variable. Use a Windows PowerShell array to specify multiple variables and their values.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InputFile</maml:name>
                <maml:description>
                    <maml:para>Specifies a file to be used as the query input to this cmdlet. The file can contain Transact-SQL statements, XQuery statements, and sqlcmd commands and scripting variables. Specify the full path to the file. Spaces are not allowed in the file path or file name.</maml:para>
                    <maml:para>You should only run scripts from trusted sources. Ensure all input scripts are secured with the appropriate NTFS permissions.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputSqlErrors</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet displays error messages in the Invoke-Sqlcmd output.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>IncludeSqlUserErrors</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns SQL user script errors that are otherwise ignored by default. If this parameter is specified, this cmdlet matches the default behavior of the sqlcmd utility.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputAs</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of the results this cmdlet gets.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- DataSet
-- DataTables
-- DataRows</maml:para>
                    <maml:para>If you do not specify a value for this parameter, the cmdlet sets the value to DataRows.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">OutputType</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionString</maml:name>
                <maml:description>
                    <maml:para>Specifies a connection string to connect to the server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies a character string or SQL Server Management Objects (SMO) object that specifies the name of an instance of the Database Engine. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            <dev:type>
                <maml:name>PSObject</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Database</maml:name>
            <maml:description>
                <maml:para>Specifies the name of a database. This cmdlet connects to this database in the instance that is specified in the ServerInstance parameter.</maml:para>
                <maml:para>If the Database parameter is not specified, the database that is used depends on whether the current path specifies both the SQLSERVER:\SQL folder and a database name. If the path specifies both the SQL folder and a database name, this cmdlet connects to the database that is specified in the path. If the path is not based on the SQL folder, or the path does not contain a database name, this cmdlet connects to the default database for the current login ID. If you specify the IgnoreProviderContext parameter switch, this cmdlet does not consider any database specified in the current path, and connects to the database defined as the default for the current login ID.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EncryptConnection</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet uses Secure Sockets Layer (SSL) encryption for the connection to the instance of the Database Engine specified in the ServerInstance parameter. If this parameter is specified, SSL encryption is used. If you do not specify this parameter, specified encryption is not used.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Username</maml:name>
            <maml:description>
                <maml:para>Specifies the login ID for making a SQL Server Authentication connection to an instance of the Database Engine. The password must be specified through the Password parameter. If Username and Password are not specified, this cmdlet attempts a Windows Authentication connection using the Windows account running the Windows PowerShell session. When possible, use Windows Authentication.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Password</maml:name>
            <maml:description>
                <maml:para>Specifies the password for the SQL Server Authentication login ID that was specified in the Username parameter. Passwords are case-sensitive. When possible, use Windows Authentication. Do not use a blank password, when possible use a strong password. </maml:para>
                <maml:para>If you specify the Password parameter followed by your password, the password is visible to anyone who can see your monitor. If you code Password followed by your password in a .ps1 script, anyone reading the script file will see your password. Assign the appropriate NTFS permissions to the file to prevent other users from being able to read the file.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>Query</maml:name>
            <maml:description>
                <maml:para>Specifies one or more queries that this cmdlet runs. The queries can be Transact-SQL or XQuery statements, or sqlcmd commands. Multiple queries separated by a semicolon can be specified. Do not specify the sqlcmd GO separator. Escape any double quotation marks included in the string. Consider using bracketed identifiers such as [MyTable] instead of quoted identifiers such as &quot;MyTable&quot;.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>QueryTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds before the queries time out. If a timeout value is not specified, the queries do not time out. The timeout must be an integer value between 1 and 65535.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds when this cmdlet times out if it cannot successfully connect to an instance of the Database Engine. The timeout value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ErrorLevel</maml:name>
            <maml:description>
                <maml:para>Specifies that this cmdlet display only error messages whose severity level is equal to or higher than the value specified. All error messages are displayed if this parameter is not specified or set to 0. Database Engine error severities range from 1 to 24.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SeverityLevel</maml:name>
            <maml:description>
                <maml:para>Specifies the lower limit for the error message severity level this cmdlet returns to the ERRORLEVEL Windows PowerShell variable. This cmdlet returns the highest severity level from the error messages generated by the queries it runs, provided that severity is equal to or higher than specified in the SeverityLevel parameter. If SeverityLevel is not specified or set to 0, this cmdlet returns 0 to ERRORLEVEL. The severity levels of Database Engine error messages range from 1 to 24. This cmdlet does not report severities for informational messages that have a severity of 10</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MaxCharLength</maml:name>
            <maml:description>
                <maml:para>Specifies the maximum number of characters returned for columns with character or Unicode data types, such as char, nchar, varchar, and nvarchar. The default value is 4,000 characters.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MaxBinaryLength</maml:name>
            <maml:description>
                <maml:para>Specifies the maximum number of bytes returned for columns with binary string data types, such as binary and varbinary. The default value is 1,024 bytes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AbortOnError</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet stops the SQL Server command and returns an error level to the Windows PowerShell ERRORLEVEL variable if this cmdlet encounters an error. The error level returned is 1 if the error has a severity higher than 10, and the error level is 0 if the error has a severity of 10 or less. If the ErrorLevel parameter is also specified, this cmdlet returns 1 only if the error message severity is also equal to or higher than the value specified for ErrorLevel.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DedicatedAdministratorConnection</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet uses a Dedicated Administrator Connection (DAC) to connect to an instance of the Database Engine. DAC is used by system administrators for actions such as troubleshooting instances that will not accept new standard connections. The instance must be configured to support DAC. If DAC is not enabled, this cmdlet reports an error and will not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DisableVariables</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet ignores sqlcmd scripting variables. This is useful when a script contains many INSERT statements that may contain strings that have the same format as variables, such as $(variable_name).</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DisableCommands</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet turns off some sqlcmd features that might compromise security when run in batch files. It prevents Windows PowerShell variables from being passed in to the Invoke-Sqlcmd script. The startup script specified in the SQLCMDINI scripting variable is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>HostName</maml:name>
            <maml:description>
                <maml:para>Specifies a workstation name. The workstation name is reported by the sp_who system stored procedure and in the hostname column of the sys.processes catalog view. If this parameter is not specified, the default is the name of the computer on which Invoke-Sqlcmd is run. This parameter can be used to identify different Invoke-Sqlcmd sessions.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NewPassword</maml:name>
            <maml:description>
                <maml:para>Specifies a new password for a SQL Server Authentication login ID. This cmdlet changes the password and then exits. You must also specify the Username and Password parameters, with Password that specifies the current password for the login.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>Variable</maml:name>
            <maml:description>
                <maml:para>Specifies, as a string array, a sqlcmd scripting variable for use in the sqlcmd script, and sets a value for the variable. Use a Windows PowerShell array to specify multiple variables and their values.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InputFile</maml:name>
            <maml:description>
                <maml:para>Specifies a file to be used as the query input to this cmdlet. The file can contain Transact-SQL statements, XQuery statements, and sqlcmd commands and scripting variables. Specify the full path to the file. Spaces are not allowed in the file path or file name.</maml:para>
                <maml:para>You should only run scripts from trusted sources. Ensure all input scripts are secured with the appropriate NTFS permissions.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>OutputSqlErrors</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet displays error messages in the Invoke-Sqlcmd output.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            <dev:type>
                <maml:name>Boolean</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>IncludeSqlUserErrors</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns SQL user script errors that are otherwise ignored by default. If this parameter is specified, this cmdlet matches the default behavior of the sqlcmd utility.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SuppressProviderContextWarning</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet suppresses the warning that this cmdlet has used in the database context from the current SQLSERVER:\SQL path setting to establish the database context for the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>IgnoreProviderContext</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet ignores the database context that was established by the current SQLSERVER:\SQL path. If the Database parameter is not specified, this cmdlet uses the default database for the current login ID or Windows account.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>OutputAs</maml:name>
            <maml:description>
                <maml:para>Specifies the type of the results this cmdlet gets.</maml:para>
                <maml:para>The acceptable values for this parameter are:</maml:para>
                <maml:para>-- DataSet
-- DataTables
-- DataRows</maml:para>
                <maml:para>If you do not specify a value for this parameter, the cmdlet sets the value to DataRows.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">OutputType</command:parameterValue>
            <dev:type>
                <maml:name>OutputType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionString</maml:name>
            <maml:description>
                <maml:para>Specifies a connection string to connect to the server.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>PSObject</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Formatted table</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Connect to a named instance and run a script --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Invoke-Sqlcmd -Query &quot;SELECT GETDATE() AS TimeOfQuery;&quot; -ServerInstance &quot;MyComputer\MainInstance&quot;
 TimeOfQuery
 -----------
 5/13/2010 8:49:43 PM</dev:code>
            <dev:remarks>
                <maml:para>This command connects to a named instance of the SQL Database Engine on a computer and runs a basic Transact-SQL script.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Invoke commands in a script file and save the output in a text file --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Invoke-Sqlcmd -InputFile &quot;C:\ScriptFolder\TestSqlCmd.sql&quot; | Out-File -FilePath &quot;C:\ScriptFolder\TestSqlCmd.rpt&quot;
Output sent to TestSqlCmd.rpt.</dev:code>
            <dev:remarks>
                <maml:para>This command reads a file containing Transact-SQL statements and SQLCMD commands, runs the file, and writes the output to another file. The output file may contain proprietary information, so you should secure the output files with the appropriate NTFS permissions.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Invoke a script and pass in variable values from a string --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$StringArray = &quot;MYVAR1=&apos;String1&apos;&quot;, &quot;MYVAR2=&apos;String2&apos;&quot;
PS C:\&gt;Invoke-Sqlcmd -Query &quot;SELECT `$(MYVAR1) AS Var1, `$(MYVAR2) AS Var2;&quot; -Variable $StringArray
Var1 Var2
---- ----
String1 String2</dev:code>
            <dev:remarks>
                <maml:para>This command uses an array of character strings as input to the Variable parameter. The array defines multiple SQLCMD variables. The $ signs in the SELECT statement that identify the SQLCMD variables are escaped using the back-tick (`) character.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Invoke a script and pass in variables from the SQL database engine --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;SQLSERVER:\SQL\MyComputer\MainInstance&quot;
PS C:\&gt;Invoke-Sqlcmd -Query &quot;SELECT SERVERPROPERTY(&apos;MachineName&apos;) AS ComputerName;&quot; -ServerInstance (Get-Item .)
 ComputerName
 ------------
 MyComputer</dev:code>
            <dev:remarks>
                <maml:para>This command uses Set-Location to navigate to the SQL ServerWindows PowerShell provider path for an instance of the SQL Database Engine. Then it calls Get-Item to retrieve a SQL Management Object Server object for use as the ServerInstance parameter of Invoke-Sqlcmd.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 5: Run a query and display verbose output --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Invoke-Sqlcmd -Query &quot;PRINT N&apos;abc&apos;&quot; -Verbose
VERBOSE: abc</dev:code>
            <dev:remarks>
                <maml:para>This command uses the Windows PowerShellVerbose parameter to return the message output of the SQL PRINT command.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 6: Invoke a command using a positional string as input --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Invoke-Sqlcmd &quot;SELECT DB_NAME() AS DatabaseName;&quot;
 WARNING: Using provider context. Server = MyComputer, Database = AdventureWorks2014.
 
 DatabaseName
 ------------
 AdventureWorks2014</dev:code>
            <dev:remarks>
                <maml:para>This command uses a positional string to supply the input to the Query parameter. It also demonstrates how Invoke-Sqlcmd uses the current path to set the database context to AdventureWorks2014.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 7: Capture data into a DataSet object --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$DS = Invoke-Sqlcmd -ServerInstance &quot;MyComputer&quot; -Query &quot;SELECT ID, Item FROM MyDB.dbo.MyTable&quot; -As DataSet $DS.Tables[0].Rows | %{ echo &quot;{ $($_[&apos;ID&apos;]), $($_[&apos;Item&apos;]) }&quot; }
{ 10, AAA }
{ 20, BBB }
{ 30, CCC }</dev:code>
            <dev:remarks>
                <maml:para>This command uses the As DataSet parameter to capture the data into a .Net System.Data.DataSet object and stores the result in the variable named $DS. The object can be used for further processing.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 8: Get specific column sets --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$Tables = Invoke-Sqlcmd -ServerInstance &quot;MyComputer&quot; -Query &quot;SELECT Item, id FROM MyDatabase.dbo.MyTable; SELECT GETDATE() AS T&quot; -As DataTables
PS C:\&gt; $Tables[0].Rows | %{ echo $_.ID }
PS C:\&gt; $Tables[1].Rows | %{ echo $_.T.DayOfWeek }
10
20
30
 
Monday</dev:code>
            <dev:remarks>
                <maml:para>The first command uses the As DataTables parameter to capture the data into a collection of .Net System.Data.DataTable objects. The command gets two tables with different column sets.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para>Each table can be processed individually, based on its own schema.</maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 9: Gain full control of a connection --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Invoke-Sqlcmd -Query &quot;SELECT COUNT(*) AS Count FROM MyTable&quot; -ConnectionString &quot;Data Source=MYSERVER;Initial Catalog=MyDatabase;Integrated Security=True;ApplicationIntent=ReadOnly&quot;
Count
-----
127432</dev:code>
            <dev:remarks>
                <maml:para>This command users the ConnectionString parameter to gain full control of the connection that this cmdlet establishes, instead of the Invoke-Sqlcmd to build the connection string based on the parameters passed on the command line. This is useful for less-common properties that you may want to use.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SQLServer_Cmdlets</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Invoke-SqlColumnMasterKeyRotation</command:name>
        <maml:description>
            <maml:para>Initiates the rotation of a column master key.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Invoke</command:verb>
        <command:noun>SqlColumnMasterKeyRotation</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Invoke-SqlColumnMasterKeyRotation cmdlet replaces an existing source column master key with a new target column master key for the Always Encrypted feature. The cmdlet retrieves all column encryption key objects that contain encrypted key values that are encrypted with the specified source column master key. Then, the cmdlet decrypts the current encrypted values, re-encrypts the resulting plaintext values with the target column master key, and then updates the impacted column encryption key objects to add the new encrypted values. As a result, each impacted column encryption key contains two encrypted values: One produced using the current source column master key and another, produced using the target column master key.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Invoke-SqlColumnMasterKeyRotation</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SourceColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the source column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TargetColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the target column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL database object, for which this cmdlet runs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Invoke-SqlColumnMasterKeyRotation</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SourceColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the source column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TargetColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the target column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SourceColumnMasterKeyName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the source column master key.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>TargetColumnMasterKeyName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the target column master key.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL database object, for which this cmdlet runs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the task.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Initiate the process of rotating the column master key --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Invoke-SqlColumnMasterKey -SourceColumnMasterKeyName &quot;CMK1&quot; -TargetColumnMasterKeyName &quot;CMK2&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command initiates the process of rotating the column master key named CMK1, and replacing it with the column master key named CMK2.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Complete-SqlColumnMasterKeyRotation</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Join-SqlAvailabilityGroup</command:name>
        <maml:description>
            <maml:para>Joins the local secondary replica to an availability group.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Join</command:verb>
        <command:noun>SqlAvailabilityGroup</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Join-SqlAvailabilityGroup cmdlet joins the local secondary replica to an availability group. Run this cmdlet on an instance of SQL Server that hosts a secondary replica that is not joined to the availability group.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Join-SqlAvailabilityGroup</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the availability group to which this cmdlet joins a secondary replica.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the instance of SQL Server that hosts the secondary replica that this cmdlet joins to the availability group. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ClusterType</maml:name>
                <maml:description>
                    <maml:para>The type of cluster backing the AG. Possible values are:
- Wsfc: The AG will be backed by WSFC. This is how AGs in previous versions of SQL server are created. This is the default.
- None: The AG will be cluster-independent.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupClusterType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Join-SqlAvailabilityGroup</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the availability group to which this cmdlet joins a secondary replica.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server that hosts the instance of SQL Server that hosts the secondary replica that this cmdlet joins to the availability group.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ClusterType</maml:name>
                <maml:description>
                    <maml:para>The type of cluster backing the AG. Possible values are:
- Wsfc: The AG will be backed by WSFC. This is how AGs in previous versions of SQL server are created. This is the default.
- None: The AG will be cluster-independent.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupClusterType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the availability group to which this cmdlet joins a secondary replica.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the instance of SQL Server that hosts the secondary replica that this cmdlet joins to the availability group. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ClusterType</maml:name>
            <maml:description>
                <maml:para>The type of cluster backing the AG. Possible values are:
- Wsfc: The AG will be backed by WSFC. This is how AGs in previous versions of SQL server are created. This is the default.
- None: The AG will be cluster-independent.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityGroupClusterType</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroupClusterType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>Wsfc</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server that hosts the instance of SQL Server that hosts the secondary replica that this cmdlet joins to the availability group.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.Server</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>You can pass a server instance to this cmdlet.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>The high availability data recovery service must be enabled on the server instance. The availability replica specified by the Path parameter must exist.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Join a secondary replica to an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Join-SqlAvailabilityGroup -Path &quot;SQLSERVER:\SQL\SecondaryServer\InstanceName&quot; -Name &quot;MainAG&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command joins a secondary replica to the availability group named MainAG. This server instance must host a secondary replica in this availability group.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Create a script that joins a secondary replica to an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Join-SqlAvailabilityGroup -Path &quot;SQLSERVER:\SQL\SecondaryServer\InstanceName&quot; -Name &quot;MainAG&quot; -Script</dev:code>
            <dev:remarks>
                <maml:para>This command creates a Transact-SQL script that joins a secondary replica to the availability group named MainAG.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Switch-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Test-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlAvailabilityGroup</command:name>
        <maml:description>
            <maml:para>Creates an availability group.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlAvailabilityGroup</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlAvailabilityGroup cmdlet creates an availability group in AlwaysOn Availability Groups. The InputObject or Path parameter specifies the server that hosts the initial primary replica.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlAvailabilityGroup</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>AvailabilityReplica</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of availability replicas that this cmdlet includes in the availability group. To obtain an AvailabilityReplica, use the New-SqlAvailabilityReplica cmdlet. Specify the AsTemplate parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityReplica[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of local, read/write user databases. These databases must use the full recovery model and must not use AUTO_CLOSE. These databases cannot belong to another availability group and cannot be configured for database mirroring. You must specify a value for this parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomatedBackupPreference</maml:name>
                <maml:description>
                    <maml:para>Specifies the automated backup preference for the availability group. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Primary. Specifies that the backups always occur on the primary replica. This option supports the use of features not available when backup runs on a secondary replica, such as differential backups.
-- SecondaryOnly. Specifies that backups are never performed on primary replicas. If the primary replica is the only replica online, the backup does not occur.
-- Secondary. Specifies that backups occur on secondary replicas, unless the primary replica is the only replica online. Then the backup occurs on the primary replica.
-- None. Specifies that the primary or secondary status is not taken into account when deciding which replica performs backups. Instead, backup priority and online status determine which replica performs backups.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupAutomatedBackupPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FailureConditionLevel</maml:name>
                <maml:description>
                    <maml:para>Specifies the automatic failover behavior of the availability group. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- OnServerDown. Failover or restart if the SQL Server service stops.
-- OnServerUnresponsive. Failover or restart if any condition of lower value is satisfied, plus when the SQL Server service is connected to the cluster and the HealthCheckTimeout threshold is exceeded, or if the availability replica currently in primary role is in a failed state.
-- OnCriticalServerError. Failover or restart if any condition of lower value is satisfied, plus when an internal critical Server error occurs, which include out of memory condition, serious write-access violation, or too much dumping.
-- OnModerateServerError. Failover or restart if any condition of lower value is satisfied, plus if a moderate Server error occurs, which includes persistent out of memory condition.
-- OnAnyQualifiedFailureConditions. Failover or restart if any condition of lower value is satisfied, plus if a qualifying failure condition occurs, which includes engine worker thread exhaustion and unsolvable deadlock detected.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupFailureConditionLevel</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>HealthCheckTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the length of time, in milliseconds, after which AlwaysOn availability groups declare an unresponsive server to be unhealthy.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BasicAvailabilityGroup</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseHealthTrigger</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DtcSupportEnabled</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ClusterType</maml:name>
                <maml:description>
                    <maml:para>The type of cluster backing the AG. Possible values are:
- Wsfc: The AG will be backed by WSFC. This is how AGs in previous versions of SQL server are created. This is the default.
- None: The AG will be cluster-independent.</maml:para>
                    <maml:para>Note: An exception will be thrown if the -ClusterType parameter is used when the target server version is &lt; 140.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupClusterType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RequiredCopiesToCommit</maml:name>
                <maml:description>
                    <maml:para>The number of synchronous commit secondaries that must be available to be able to commit on the primary.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the availability group that this cmdlet creates.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the instance of SQL Server that hosts the initial primary replica of the availability group that this cmdlet creates. If you do not specify this parameter, this cmdlet uses current working location. If you specify a value, the path must currently exist.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>New-SqlAvailabilityGroup</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>AvailabilityReplica</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of availability replicas that this cmdlet includes in the availability group. To obtain an AvailabilityReplica, use the New-SqlAvailabilityReplica cmdlet. Specify the AsTemplate parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityReplica[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of local, read/write user databases. These databases must use the full recovery model and must not use AUTO_CLOSE. These databases cannot belong to another availability group and cannot be configured for database mirroring. You must specify a value for this parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomatedBackupPreference</maml:name>
                <maml:description>
                    <maml:para>Specifies the automated backup preference for the availability group. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Primary. Specifies that the backups always occur on the primary replica. This option supports the use of features not available when backup runs on a secondary replica, such as differential backups.
-- SecondaryOnly. Specifies that backups are never performed on primary replicas. If the primary replica is the only replica online, the backup does not occur.
-- Secondary. Specifies that backups occur on secondary replicas, unless the primary replica is the only replica online. Then the backup occurs on the primary replica.
-- None. Specifies that the primary or secondary status is not taken into account when deciding which replica performs backups. Instead, backup priority and online status determine which replica performs backups.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupAutomatedBackupPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FailureConditionLevel</maml:name>
                <maml:description>
                    <maml:para>Specifies the automatic failover behavior of the availability group. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- OnServerDown. Failover or restart if the SQL Server service stops.
-- OnServerUnresponsive. Failover or restart if any condition of lower value is satisfied, plus when the SQL Server service is connected to the cluster and the HealthCheckTimeout threshold is exceeded, or if the availability replica currently in primary role is in a failed state.
-- OnCriticalServerError. Failover or restart if any condition of lower value is satisfied, plus when an internal critical Server error occurs, which include out of memory condition, serious write-access violation, or too much dumping.
-- OnModerateServerError. Failover or restart if any condition of lower value is satisfied, plus if a moderate Server error occurs, which includes persistent out of memory condition.
-- OnAnyQualifiedFailureConditions. Failover or restart if any condition of lower value is satisfied, plus if a qualifying failure condition occurs, which includes engine worker thread exhaustion and unsolvable deadlock detected.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupFailureConditionLevel</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>HealthCheckTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the length of time, in milliseconds, after which AlwaysOn availability groups declare an unresponsive server to be unhealthy.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BasicAvailabilityGroup</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseHealthTrigger</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DtcSupportEnabled</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ClusterType</maml:name>
                <maml:description>
                    <maml:para>The type of cluster backing the AG. Possible values are:
- Wsfc: The AG will be backed by WSFC. This is how AGs in previous versions of SQL server are created. This is the default.
- None: The AG will be cluster-independent.</maml:para>
                    <maml:para>Note: An exception will be thrown if the -ClusterType parameter is used when the target server version is &lt; 140.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupClusterType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RequiredCopiesToCommit</maml:name>
                <maml:description>
                    <maml:para>The number of synchronous commit secondaries that must be available to be able to commit on the primary.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the availability group that this cmdlet creates.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the instance of SQL Server that hosts the primary replica of the availability group that this cmdlet creates.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>AvailabilityReplica</maml:name>
            <maml:description>
                <maml:para>Specifies an array of availability replicas that this cmdlet includes in the availability group. To obtain an AvailabilityReplica, use the New-SqlAvailabilityReplica cmdlet. Specify the AsTemplate parameter.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityReplica[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplica[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>Database</maml:name>
            <maml:description>
                <maml:para>Specifies an array of local, read/write user databases. These databases must use the full recovery model and must not use AUTO_CLOSE. These databases cannot belong to another availability group and cannot be configured for database mirroring. You must specify a value for this parameter.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AutomatedBackupPreference</maml:name>
            <maml:description>
                <maml:para>Specifies the automated backup preference for the availability group. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- Primary. Specifies that the backups always occur on the primary replica. This option supports the use of features not available when backup runs on a secondary replica, such as differential backups.
-- SecondaryOnly. Specifies that backups are never performed on primary replicas. If the primary replica is the only replica online, the backup does not occur.
-- Secondary. Specifies that backups occur on secondary replicas, unless the primary replica is the only replica online. Then the backup occurs on the primary replica.
-- None. Specifies that the primary or secondary status is not taken into account when deciding which replica performs backups. Instead, backup priority and online status determine which replica performs backups.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityGroupAutomatedBackupPreference</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroupAutomatedBackupPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>FailureConditionLevel</maml:name>
            <maml:description>
                <maml:para>Specifies the automatic failover behavior of the availability group. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- OnServerDown. Failover or restart if the SQL Server service stops.
-- OnServerUnresponsive. Failover or restart if any condition of lower value is satisfied, plus when the SQL Server service is connected to the cluster and the HealthCheckTimeout threshold is exceeded, or if the availability replica currently in primary role is in a failed state.
-- OnCriticalServerError. Failover or restart if any condition of lower value is satisfied, plus when an internal critical Server error occurs, which include out of memory condition, serious write-access violation, or too much dumping.
-- OnModerateServerError. Failover or restart if any condition of lower value is satisfied, plus if a moderate Server error occurs, which includes persistent out of memory condition.
-- OnAnyQualifiedFailureConditions. Failover or restart if any condition of lower value is satisfied, plus if a qualifying failure condition occurs, which includes engine worker thread exhaustion and unsolvable deadlock detected.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityGroupFailureConditionLevel</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroupFailureConditionLevel</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>HealthCheckTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the length of time, in milliseconds, after which AlwaysOn availability groups declare an unresponsive server to be unhealthy.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BasicAvailabilityGroup</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DatabaseHealthTrigger</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DtcSupportEnabled</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ClusterType</maml:name>
            <maml:description>
                <maml:para>The type of cluster backing the AG. Possible values are:
- Wsfc: The AG will be backed by WSFC. This is how AGs in previous versions of SQL server are created. This is the default.
- None: The AG will be cluster-independent.</maml:para>
                <maml:para>Note: An exception will be thrown if the -ClusterType parameter is used when the target server version is &lt; 140.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityGroupClusterType</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroupClusterType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>Wsfc</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>RequiredCopiesToCommit</maml:name>
            <maml:description>
                <maml:para>The number of synchronous commit secondaries that must be available to be able to commit on the primary.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>0</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the availability group that this cmdlet creates.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the instance of SQL Server that hosts the initial primary replica of the availability group that this cmdlet creates. If you do not specify this parameter, this cmdlet uses current working location. If you specify a value, the path must currently exist.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the instance of SQL Server that hosts the primary replica of the availability group that this cmdlet creates.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.Server</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>You can pass a server instance to this cmdlet.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>This cmdlet returns an availability group.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$PrimaryServer = Get-Item &quot;SQLSERVER:\SQL\PrimaryServer\Instance22&quot;
PS C:\&gt;$SecondaryServer = Get-Item &quot;SQLSERVER:\SQL\SecondaryServer\Instance22&quot;
PS C:\&gt;$PrimaryReplica = New-SqlAvailabilityReplica -Name &quot;PrimaryServer\Instance22&quot; -EndpointUrl &quot;TCP://PrimaryServer.domain:5022&quot; -FailoverMode &quot;Automatic&quot; -AvailabilityMode &quot;SynchronousCommit&quot; -AsTemplate -Version ($PrimaryServer.Version)
PS C:\&gt;$SecondaryReplica = New-SqlAvailabilityReplica -Name &quot;SecondaryServer\Instance22&quot; -EndpointUrl &quot;TCP://SecondaryServer.domain:5022&quot; -FailoverMode &quot;Automatic&quot; -AvailabilityMode &quot;SynchronousCommit&quot; -AsTemplate -Version ($SecondaryServer.Version)
PS C:\&gt;New-SqlAvailabilityGroup -InputObject $PrimaryServer -Name &quot;MainAG&quot; -AvailabilityReplica ($PrimaryReplica, $SecondaryReplica) -Database @(&quot;Database01&quot;,&quot;Database02&quot;)</dev:code>
            <dev:remarks>
                <maml:para>The first command gets an instance of SQL Server on the primary server, and then stores it in the $PrimaryServer variable.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para>The fourth command creates a replica that includes the secondary server instance by using New-SqlAvailabilityReplica, and then stores it in the $SeconayrReplica variable. The command specifies the version of the server instance by using the Version property of $SeconardyServer.</maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Create an availability groups backed by WSFC --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code># Get server
cd &apos;SQLSERVER:\SQL\some-hostname\Default&apos;
$server = Get-Item $PWD
 
# Create primary replica
$primaryReplica = New-SqlAvailabilityReplica -Name &apos;some-hostname&apos; -EndpointUrl &apos;tcp://some-hostname:5022&apos; -FailoverMode Automatic -AvailabilityMode SynchronousCommit -AsTemplate
 
# Create AG with explicit cluster type WSFC (same as not passing -ClusterType, since it is the default value)
$server | New-SqlAvailabilityGroup -Name &apos;ag1&apos; -AvailabilityReplica $PrimaryReplica -Script -ClusterType Wsfc</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Create an availability groups cluster independent --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code># Get server
cd &apos;SQLSERVER:\SQL\some-hostname\Default&apos;
$server = Get-Item $PWD
 
# Create primary replica
$primaryReplica = New-SqlAvailabilityReplica -Name &apos;some-hostname&apos; -EndpointUrl &apos;tcp://some-hostname:5022&apos; -FailoverMode Automatic -AvailabilityMode SynchronousCommit -AsTemplate
 
# Create AG cluster group independent
$server | New-SqlAvailabilityGroup -Name &apos;ag1&apos; -AvailabilityReplica $PrimaryReplica -Script -ClusterType None</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Join-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Switch-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Test-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlAvailabilityGroupListener</command:name>
        <maml:description>
            <maml:para>Creates an availability group listener and attaches it to an availability group.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlAvailabilityGroupListener</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlAvailabilityGroupListener cmdlet creates an availability group listener, and attaches it to an availability group. Run this cmdlet on the server instance that hosts the primary replica.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlAvailabilityGroupListener</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DhcpSubnet</maml:name>
                <maml:description>
                    <maml:para>Specifies an IPv4 address and subnet mask of a network. The listener determines the address on this network by using DHCP. Specify the address in for following format: 192.168.0.1\255.255.255.0. </maml:para>
                    <maml:para>If you specify this parameter, do not specify the StaticIp parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>StaticIp</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of addresses. Each address entry is either an IPv4 address and subnet mask or an IPv6 address. The listener listens on the addresses that this parameter specifies. </maml:para>
                    <maml:para>If you specify this parameter, do not specify the DhcpSubnet parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Port</maml:name>
                <maml:description>
                    <maml:para>Specifies the port on which the listener listens for connections. The default port is TCP port 1433.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies a name for the listener.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the availability group to which this cmdlet attaches a listener. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>New-SqlAvailabilityGroupListener</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DhcpSubnet</maml:name>
                <maml:description>
                    <maml:para>Specifies an IPv4 address and subnet mask of a network. The listener determines the address on this network by using DHCP. Specify the address in for following format: 192.168.0.1\255.255.255.0. </maml:para>
                    <maml:para>If you specify this parameter, do not specify the StaticIp parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>StaticIp</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of addresses. Each address entry is either an IPv4 address and subnet mask or an IPv6 address. The listener listens on the addresses that this parameter specifies. </maml:para>
                    <maml:para>If you specify this parameter, do not specify the DhcpSubnet parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Port</maml:name>
                <maml:description>
                    <maml:para>Specifies the port on which the listener listens for connections. The default port is TCP port 1433.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies a name for the listener.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the availability group, as an AvailabilityGroup object, to which this cmdlet attaches the listener.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroup</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DhcpSubnet</maml:name>
            <maml:description>
                <maml:para>Specifies an IPv4 address and subnet mask of a network. The listener determines the address on this network by using DHCP. Specify the address in for following format: 192.168.0.1\255.255.255.0. </maml:para>
                <maml:para>If you specify this parameter, do not specify the StaticIp parameter.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>StaticIp</maml:name>
            <maml:description>
                <maml:para>Specifies an array of addresses. Each address entry is either an IPv4 address and subnet mask or an IPv6 address. The listener listens on the addresses that this parameter specifies. </maml:para>
                <maml:para>If you specify this parameter, do not specify the DhcpSubnet parameter.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Port</maml:name>
            <maml:description>
                <maml:para>Specifies the port on which the listener listens for connections. The default port is TCP port 1433.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies a name for the listener.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the availability group to which this cmdlet attaches a listener. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the availability group, as an AvailabilityGroup object, to which this cmdlet attaches the listener.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityGroup</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroup</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create a listener for an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlAvailabilityGroupListener -Name &quot;MainListener&quot; -Path &quot;SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MainAG&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates an availability group listener named MainListener for the availability group named MainAG. This listener acquires a virtual IP address by using DHCP. Run this command on the server instance that hosts the primary replica.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Create a listener for an availability group that has a nondefault port --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlAvailabilityGroupListener -Name &quot;MainListener&quot; -Path &quot;SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MainAG&quot; -Port 1434</dev:code>
            <dev:remarks>
                <maml:para>This command creates an availability group listener named MainListener for the availability group named MainAG. As in the previous example, this listener acquires a virtual IP address by using DHCP. This example assigns the port 1434 on which it listens.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Create a listener for an availability group that uses DHCP --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlAvailabilityGroupListener -Name &quot;MainListener&quot; -DhcpSubnet &quot;192.169.0.1/255.255.252.0&quot; -Path &quot;SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MainAG&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates an availability group listener named MainListener for the availability group named MainAG. This listener acquires a virtual IP address in the specified subnet by using DHCP.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Create a listener for an availability group that uses a static address --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlAvailabilityGroupListener -Name &quot;MainListener&quot; -StaticIp &quot;192.168.3.1/255.255.252.0&quot; -Path &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAG&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates an availability group listener named MainListener for the availability group named MainAG. This listener uses the IPv4 address specified by the StaticIp parameter as its virtual IP address.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 5: Create a script that creates a listener --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlAvailabilityGroupListener -Name &quot;MainListener&quot; -Path &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAG&quot; -Script</dev:code>
            <dev:remarks>
                <maml:para>This command creates a Transact-SQL script that creates an availability group listener named MainListener for the availability group named MainAG. The command does not create a listener.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Add-SqlAvailabilityGroupListenerStaticIp</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlAvailabilityGroupListener</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlAvailabilityReplica</command:name>
        <maml:description>
            <maml:para>Creates an availability replica.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlAvailabilityReplica</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlAvailabilityReplica cmdlet creates an availability replica. Run this cmdlet on the instance of SQL Server that hosts the primary replica. </maml:para>
        <maml:para>To create an availability replica before you create an availability group, specify the AsTemplate parameter. To add a replica to an existing availability group, either the InputObject or Path parameter specifies the availability group.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlAvailabilityReplica</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AvailabilityMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the replica availability mode. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- SynchronousCommit
-- AsynchronousCommit</maml:para>
                    <maml:para>You can specify a value of $Null.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaAvailabilityMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FailoverMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the failover mode. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Automatic
-- Manual You can specify a value of $Null.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaFailoverMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EndpointUrl</maml:name>
                <maml:description>
                    <maml:para>Specifies the URL of the database mirroring endpoint. This URL is a TCP address in the following form: </maml:para>
                    <maml:para>TCP://system-address:port</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SessionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the amount of time, in seconds, to wait for a response between the primary replica and this replica before the connection fails.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionModeInPrimaryRole</maml:name>
                <maml:description>
                    <maml:para>Specifies how the availability replica handles connections when in the primary role. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AllowReadWriteConnections. Allow read/write connections
-- AllowAllConnections. Allow all connections</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInPrimaryRole</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionModeInSecondaryRole</maml:name>
                <maml:description>
                    <maml:para>Specifies how the availability replica handles connections when in the secondary role. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AllowNoConnections. Disallows connections
-- AllowReadIntentConnectionsOnly. Allows only read-intent connections
-- AllowAllConnections. Allows all connections</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInSecondaryRole</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupPriority</maml:name>
                <maml:description>
                    <maml:para>Specifies the desired priority of the replicas in performing backups. The acceptable values for this parameter are: integers from 0 through 100. Of the set of replicas which are online and available, the replica that has the highest priority performs the backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReadOnlyRoutingList</maml:name>
                <maml:description>
                    <maml:para>Specifies an ordered list of replica server names that represent the probe sequence for connection director to use when redirecting read-only connections through this availability replica. This parameter applies if the availability replica is the current primary replica of the availability group.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReadonlyRoutingConnectionUrl</maml:name>
                <maml:description>
                    <maml:para>Specifies the fully-qualified domain name (FQDN) and port to use when routing to the replica for read only connections, as in the following example: </maml:para>
                    <maml:para>TCP://DBSERVER8.manufacturing.Contoso.com:7024</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SeedingMode</maml:name>
                <maml:description>
                    <maml:para>Specifies how the secondary replica will be initially seeded.
         
Allowed values:
- Automatic: Enables direct seeding. This method will seed the secondary replica over the network. This method does not require you to backup and restore a copy of the primary database on the replica.
- Manual: Specifies manual seeding. This method requires you to create a backup of the database on the primary replica and manually restore that backup on the secondary replica.
</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaSeedingMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies a name for the availability replica in the following format: </maml:para>
                    <maml:para>Computer\Instance</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the availability group to which the replica belongs. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>New-SqlAvailabilityReplica</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AvailabilityMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the replica availability mode. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- SynchronousCommit
-- AsynchronousCommit</maml:para>
                    <maml:para>You can specify a value of $Null.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaAvailabilityMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FailoverMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the failover mode. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Automatic
-- Manual You can specify a value of $Null.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaFailoverMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EndpointUrl</maml:name>
                <maml:description>
                    <maml:para>Specifies the URL of the database mirroring endpoint. This URL is a TCP address in the following form: </maml:para>
                    <maml:para>TCP://system-address:port</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SessionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the amount of time, in seconds, to wait for a response between the primary replica and this replica before the connection fails.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionModeInPrimaryRole</maml:name>
                <maml:description>
                    <maml:para>Specifies how the availability replica handles connections when in the primary role. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AllowReadWriteConnections. Allow read/write connections
-- AllowAllConnections. Allow all connections</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInPrimaryRole</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionModeInSecondaryRole</maml:name>
                <maml:description>
                    <maml:para>Specifies how the availability replica handles connections when in the secondary role. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AllowNoConnections. Disallows connections
-- AllowReadIntentConnectionsOnly. Allows only read-intent connections
-- AllowAllConnections. Allows all connections</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInSecondaryRole</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupPriority</maml:name>
                <maml:description>
                    <maml:para>Specifies the desired priority of the replicas in performing backups. The acceptable values for this parameter are: integers from 0 through 100. Of the set of replicas which are online and available, the replica that has the highest priority performs the backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReadOnlyRoutingList</maml:name>
                <maml:description>
                    <maml:para>Specifies an ordered list of replica server names that represent the probe sequence for connection director to use when redirecting read-only connections through this availability replica. This parameter applies if the availability replica is the current primary replica of the availability group.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReadonlyRoutingConnectionUrl</maml:name>
                <maml:description>
                    <maml:para>Specifies the fully-qualified domain name (FQDN) and port to use when routing to the replica for read only connections, as in the following example: </maml:para>
                    <maml:para>TCP://DBSERVER8.manufacturing.Contoso.com:7024</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SeedingMode</maml:name>
                <maml:description>
                    <maml:para>Specifies how the secondary replica will be initially seeded.
         
Allowed values:
- Automatic: Enables direct seeding. This method will seed the secondary replica over the network. This method does not require you to backup and restore a copy of the primary database on the replica.
- Manual: Specifies manual seeding. This method requires you to create a backup of the database on the primary replica and manually restore that backup on the secondary replica.
</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaSeedingMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AsTemplate</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet creates a temporary AvailabilityReplica object in memory. Specify this parameter to create an availability group before you create an availability replica. Create an availability group by using the New-SqlAvailabilityGroup cmdlet. Specify the temporary availability replica as the value of the AvailabilityReplica parameter.</maml:para>
                    <maml:para>If you specify AsTemplate, this cmdlet ignores values for the InputObject and Path parameters.</maml:para>
                    <maml:para>If you specify this parameter, you must also specify a SQL Server version for the Version parameter, or your current session must have an active connection to an instance.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Version</maml:name>
                <maml:description>
                    <maml:para>Specifies a SQL Server version. If you specify the AsTemplate parameter, you must specify a version. The template object is created in design mode on a server that includes this version. You can specify an integer or a string, as in the following examples: </maml:para>
                    <maml:para>-- 14
-- &quot;14.0.0&quot;</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ServerVersion</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies a name for the availability replica in the following format: </maml:para>
                    <maml:para>Computer\Instance</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>New-SqlAvailabilityReplica</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AvailabilityMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the replica availability mode. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- SynchronousCommit
-- AsynchronousCommit</maml:para>
                    <maml:para>You can specify a value of $Null.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaAvailabilityMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FailoverMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the failover mode. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Automatic
-- Manual You can specify a value of $Null.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaFailoverMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EndpointUrl</maml:name>
                <maml:description>
                    <maml:para>Specifies the URL of the database mirroring endpoint. This URL is a TCP address in the following form: </maml:para>
                    <maml:para>TCP://system-address:port</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SessionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the amount of time, in seconds, to wait for a response between the primary replica and this replica before the connection fails.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionModeInPrimaryRole</maml:name>
                <maml:description>
                    <maml:para>Specifies how the availability replica handles connections when in the primary role. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AllowReadWriteConnections. Allow read/write connections
-- AllowAllConnections. Allow all connections</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInPrimaryRole</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionModeInSecondaryRole</maml:name>
                <maml:description>
                    <maml:para>Specifies how the availability replica handles connections when in the secondary role. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AllowNoConnections. Disallows connections
-- AllowReadIntentConnectionsOnly. Allows only read-intent connections
-- AllowAllConnections. Allows all connections</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInSecondaryRole</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupPriority</maml:name>
                <maml:description>
                    <maml:para>Specifies the desired priority of the replicas in performing backups. The acceptable values for this parameter are: integers from 0 through 100. Of the set of replicas which are online and available, the replica that has the highest priority performs the backup.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReadOnlyRoutingList</maml:name>
                <maml:description>
                    <maml:para>Specifies an ordered list of replica server names that represent the probe sequence for connection director to use when redirecting read-only connections through this availability replica. This parameter applies if the availability replica is the current primary replica of the availability group.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReadonlyRoutingConnectionUrl</maml:name>
                <maml:description>
                    <maml:para>Specifies the fully-qualified domain name (FQDN) and port to use when routing to the replica for read only connections, as in the following example: </maml:para>
                    <maml:para>TCP://DBSERVER8.manufacturing.Contoso.com:7024</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SeedingMode</maml:name>
                <maml:description>
                    <maml:para>Specifies how the secondary replica will be initially seeded.
         
Allowed values:
- Automatic: Enables direct seeding. This method will seed the secondary replica over the network. This method does not require you to backup and restore a copy of the primary database on the replica.
- Manual: Specifies manual seeding. This method requires you to create a backup of the database on the primary replica and manually restore that backup on the secondary replica.
</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaSeedingMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies a name for the availability replica in the following format: </maml:para>
                    <maml:para>Computer\Instance</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the availability group, as an AvailabilityGroup object, to which the replica belongs.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroup</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AvailabilityMode</maml:name>
            <maml:description>
                <maml:para>Specifies the replica availability mode. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- SynchronousCommit
-- AsynchronousCommit</maml:para>
                <maml:para>You can specify a value of $Null.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityReplicaAvailabilityMode</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplicaAvailabilityMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>FailoverMode</maml:name>
            <maml:description>
                <maml:para>Specifies the failover mode. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- Automatic
-- Manual You can specify a value of $Null.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityReplicaFailoverMode</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplicaFailoverMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EndpointUrl</maml:name>
            <maml:description>
                <maml:para>Specifies the URL of the database mirroring endpoint. This URL is a TCP address in the following form: </maml:para>
                <maml:para>TCP://system-address:port</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SessionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the amount of time, in seconds, to wait for a response between the primary replica and this replica before the connection fails.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionModeInPrimaryRole</maml:name>
            <maml:description>
                <maml:para>Specifies how the availability replica handles connections when in the primary role. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- AllowReadWriteConnections. Allow read/write connections
-- AllowAllConnections. Allow all connections</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInPrimaryRole</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplicaConnectionModeInPrimaryRole</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionModeInSecondaryRole</maml:name>
            <maml:description>
                <maml:para>Specifies how the availability replica handles connections when in the secondary role. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- AllowNoConnections. Disallows connections
-- AllowReadIntentConnectionsOnly. Allows only read-intent connections
-- AllowAllConnections. Allows all connections</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInSecondaryRole</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplicaConnectionModeInSecondaryRole</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BackupPriority</maml:name>
            <maml:description>
                <maml:para>Specifies the desired priority of the replicas in performing backups. The acceptable values for this parameter are: integers from 0 through 100. Of the set of replicas which are online and available, the replica that has the highest priority performs the backup.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ReadOnlyRoutingList</maml:name>
            <maml:description>
                <maml:para>Specifies an ordered list of replica server names that represent the probe sequence for connection director to use when redirecting read-only connections through this availability replica. This parameter applies if the availability replica is the current primary replica of the availability group.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ReadonlyRoutingConnectionUrl</maml:name>
            <maml:description>
                <maml:para>Specifies the fully-qualified domain name (FQDN) and port to use when routing to the replica for read only connections, as in the following example: </maml:para>
                <maml:para>TCP://DBSERVER8.manufacturing.Contoso.com:7024</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SeedingMode</maml:name>
            <maml:description>
                <maml:para>Specifies how the secondary replica will be initially seeded.
         
Allowed values:
- Automatic: Enables direct seeding. This method will seed the secondary replica over the network. This method does not require you to backup and restore a copy of the primary database on the replica.
- Manual: Specifies manual seeding. This method requires you to create a backup of the database on the primary replica and manually restore that backup on the secondary replica.
</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityReplicaSeedingMode</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplicaSeedingMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>Manual</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies a name for the availability replica in the following format: </maml:para>
                <maml:para>Computer\Instance</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the availability group to which the replica belongs. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AsTemplate</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet creates a temporary AvailabilityReplica object in memory. Specify this parameter to create an availability group before you create an availability replica. Create an availability group by using the New-SqlAvailabilityGroup cmdlet. Specify the temporary availability replica as the value of the AvailabilityReplica parameter.</maml:para>
                <maml:para>If you specify AsTemplate, this cmdlet ignores values for the InputObject and Path parameters.</maml:para>
                <maml:para>If you specify this parameter, you must also specify a SQL Server version for the Version parameter, or your current session must have an active connection to an instance.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Version</maml:name>
            <maml:description>
                <maml:para>Specifies a SQL Server version. If you specify the AsTemplate parameter, you must specify a version. The template object is created in design mode on a server that includes this version. You can specify an integer or a string, as in the following examples: </maml:para>
                <maml:para>-- 14
-- &quot;14.0.0&quot;</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ServerVersion</command:parameterValue>
            <dev:type>
                <maml:name>ServerVersion</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the availability group, as an AvailabilityGroup object, to which the replica belongs.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityGroup</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroup</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>You can pass an availability group to this cmdlet.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityReplica</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>This cmdlet returns an availability replica.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Creates a representation of an availability replica --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$ServerObject = Get-Item &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName&quot;
PS C:\&gt;New-SqlAvailabilityReplica -Name &quot;PrimaryServer\Instance&quot; -EndpointUrl &quot;TCP://PrimaryServerName.domain.com:5022&quot; -FailoverMode Automatic -AvailabilityMode SynchronousCommit -AsTemplate -Version $ServerObject.Version</dev:code>
            <dev:remarks>
                <maml:para>This example creates an in-memory representation of an availability replica. No changes are committed to the server. You can use this replica as a value for the AvailabilityReplica parameter of New-SqlAvailabilityGroup</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Creates an availability replica that supports manual failover and the asynchronouscommit --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$ServerObject = Get-Item &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName&quot;
PS C:\&gt;New-SqlAvailabilityReplica -Name &quot;SecondaryServer\Instance&quot; -EndpointUrl &quot;TCP://PrimaryServerName.domain.com:5022&quot; -FailoverMode Manual -AvailabilityMode AsynchronousCommit -AsTemplate -Version $ServerObject.Version</dev:code>
            <dev:remarks>
                <maml:para>This example creates an in-memory representation of an availability replica. No changes are committed to the server.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Add an availability replica to an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlAvailabilityReplica -Name &quot;SecondaryServer\Instance&quot; -EndpointUrl &quot;TCP://PrimaryServerName.domain.com:5022&quot; -FailoverMode Manual -AvailabilityMode AsynchronousCommit -ConnectionModeInSecondaryRole AllowAllConnections -Path &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MainAG&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command adds an availability replica to an existing availability group named MainAG. This replica supports manual failover and asynchronous-commit availability mode. In the secondary role, this replica supports read access connections. This configuration lets you offload read-only processing to this replica.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Test-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlAzureKeyVaultColumnMasterKeySettings</command:name>
        <maml:description>
            <maml:para>Creates a SqlColumnMasterKeySettings object describing an asymmetric key stored in Azure Key Vault.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlAzureKeyVaultColumnMasterKeySettings</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlAzureKeyVaultColumnMasterKeySettings cmdlet creates a SqlColumnMasterKeySettings object. The SqlColumnMasterKeySettings object references a key, stored in Azure Key Vault, which is intended to be used as a column master key for the Always Encrypted feature. The SqlColumnMasterKeySettings object has two properties: KeyStoreProviderName and KeyPath. This cmdlet sets the KeyStoreProviderName property to contain the name of column master key store provider for AzureKey Vault, and it sets the value of the KeyPath property to the specified key URL.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlAzureKeyVaultColumnMasterKeySettings</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>KeyUrl</maml:name>
                <maml:description>
                    <maml:para>Specifies the link, as a URL, of the key in Azure Key Vault.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>KeyUrl</maml:name>
            <maml:description>
                <maml:para>Specifies the link, as a URL, of the key in Azure Key Vault.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>SqlColumnMasterKeySettings</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create a SqlColumnMasterKey object --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$CMKSettings = New-SqlAzureKeyVaultColumnMasterKeySettings -KeyUrl &quot;https://myvault.vault.contoso.net:443/keys/CMK/4c05f1a41b12488f9cba2ea964b6a700&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a SqlColumnMasterKeySettings object that references a key in Azure Key Vault and stores the result in the variable named CMKSettings.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SQLServer_Cmdlets</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlBackupEncryptionOption</command:name>
        <maml:description>
            <maml:para>Creates the encryption options for the Backup-SqlDatabase cmdlet or the Set-SqlSmartAdmin cmdlet.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlBackupEncryptionOption</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlBackupEncryptionOption cmdlet creates the encryption options for the Backup-SqlDatabase cmdlet or the Set-SqlSmartAdmin cmdlet.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlBackupEncryptionOption</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoEncryption</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet disables encryption. This parameter cannot be used with any other parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Algorithm</maml:name>
                <maml:description>
                    <maml:para>Specifies the encryption algorithm. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AES128
-- AES192
-- AES256
-- TripleDes</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupEncryptionAlgorithm</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptorType</maml:name>
                <maml:description>
                    <maml:para>Specifies the encryptor type. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- ServerCertificate
-- ServerAsymmetricKey</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupEncryptorType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptorName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the server certificate or server asymmetric key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoEncryption</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet disables encryption. This parameter cannot be used with any other parameters.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Algorithm</maml:name>
            <maml:description>
                <maml:para>Specifies the encryption algorithm. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- AES128
-- AES192
-- AES256
-- TripleDes</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">BackupEncryptionAlgorithm</command:parameterValue>
            <dev:type>
                <maml:name>BackupEncryptionAlgorithm</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EncryptorType</maml:name>
            <maml:description>
                <maml:para>Specifies the encryptor type. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- ServerCertificate
-- ServerAsymmetricKey</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">BackupEncryptorType</command:parameterValue>
            <dev:type>
                <maml:name>BackupEncryptorType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EncryptorName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the server certificate or server asymmetric key.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.BackupEncryptionOptions</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>This cmdlet is used as input to the EncryptionOption parameter for the Backup-SqlDatabase and Set-SqlSmartAdmin cmdlets.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create encryption options --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$EncryptionOption = New-SqlBackupEncryptionOption -Algorithm Aes256 -EncryptorType ServerCertificate -EncryptorName &quot;BackupCert&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates the encryption options and stores the result in the variable named $EncrytionOption.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Backup-SqlDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlSmartAdmin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlCertificateStoreColumnMasterKeySettings</command:name>
        <maml:description>
            <maml:para>Creates a SqlColumnMasterKeySettings object referencing the specified certificate.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlCertificateStoreColumnMasterKeySettings</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlCertificateStoreColumnMasterKeySettings cmdlet creates a SqlColumnMasterKeySettings object. The SqlColumnMasterKeySettings object references the specified certificate, stored in the Windows Certificate Store, which is intended to be used a column master key for the Always Encrypted feature. The SqlColumnMasterKeySettings object has two properties: KeyStoreProviderName and KeyPath. This cmdlet sets the KeyStoreProviderName property to contain the name of column master key store provider for the Windows Certificate Store, and then generates and sets the value of the KeyPath property, to reference the specified certificate.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlCertificateStoreColumnMasterKeySettings</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>CertificateStoreLocation</maml:name>
                <maml:description>
                    <maml:para>Specifies the certificate store location, containing the certificate. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- CurrentUser
-- LocalMachine</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Thumbprint</maml:name>
                <maml:description>
                    <maml:para>Specifies the thumbprint of the certificate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>CertificateStoreLocation</maml:name>
            <maml:description>
                <maml:para>Specifies the certificate store location, containing the certificate. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- CurrentUser
-- LocalMachine</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Thumbprint</maml:name>
            <maml:description>
                <maml:para>Specifies the thumbprint of the certificate.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>SqlColumnMasterKeySettings</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create a SqlColumnMasterKeySettings object --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$CMKSettings = New-SqlCertificateStoreColumnMasterKeySettings -CertificateStoreLocation &quot;CurrentUser&quot; -CertificateThumbprint &quot;f2260f28d909d21c642a3d8e0b45a830e79a1420&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a SqlColumnMasterKeySettings object referencing a certificate in Windows Certificate Store.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SQLServer_Cmdlets</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlCngColumnMasterKeySettings</command:name>
        <maml:description>
            <maml:para>Creates a SqlColumnMasterKeySettings object describing an asymmetric key stored in a key store supporting the CNG API.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlCngColumnMasterKeySettings</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlCngColumnMasterKeySettings cmdlet creates a SqlColumnMasterKeySettings object. The SqlColumnMasterKeySettings object references a key, stored in a key store supporting the Cryptography Next Generation (CNG) API. The SqlColumnMasterKeySettings object has two properties: KeyStoreProviderName and KeyPath. This cmdlet sets the KeyStoreProviderName property to contain the name of the column master key store provider for CNG, then generates and sets the value of the KeyPath property to reference the specified key.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlCngColumnMasterKeySettings</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>CngProviderName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the CNG provider for the key store.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>KeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the key in the key store.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>CngProviderName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the CNG provider for the key store.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>KeyName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the key in the key store.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>SqlColumnMasterKeySettings</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create a SqlColumnMasterKeySettings object --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$CMKSettings = New-SqlCngColumnMasterKeySettings -CngProviderName &quot;Microsoft Software Key Storage Provider&quot; -KeyName &quot;AlwaysEncryptedKey&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a SqlColumnMasterKeySettings object referencing a key in a key store encapsulated by a CNG provider named Microsoft Software Key Storage Provider. The command then stores the result of the operation in the variable named $CMKSettings.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SQLServer_Cmdlets</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlColumnEncryptionKey</command:name>
        <maml:description>
            <maml:para>Crates a column encryption key object in the database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlColumnEncryptionKey</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlColumnEncryptionKey cmdlet creates a column encryption key object in the database. A column encryption key object encapsulates an encrypted value of a symmetric cryptographic key that can be subsequently used to encrypt database columns using the Always Encrypted feature. This cmdlet supports two modes of operation. If the encrypted value of a column encryption key is specified, the cmdlet simply creates a new column encryption key object encapsulating the specified encrypted value. If the encrypted value of a column encryption key is not specified, the cmdlet first generates a plaintext key value, encrypts it with the specified column master key, and then creates a new column encryption key object encapsulating the generated encrypted value.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlColumnEncryptionKey</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key that was used to produce the specified encrypted value of the column encryption key, or the name the column master key that is used to produce the new encrypted value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptedValue</maml:name>
                <maml:description>
                    <maml:para>Specifies a string that this cmdlet uses to encrypt the column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column encryption key object to be created.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL database object, for which this cmdlet runs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>New-SqlColumnEncryptionKey</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key that was used to produce the specified encrypted value of the column encryption key, or the name the column master key that is used to produce the new encrypted value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptedValue</maml:name>
                <maml:description>
                    <maml:para>Specifies a string that this cmdlet uses to encrypt the column master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column encryption key object to be created.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ColumnMasterKeyName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column master key that was used to produce the specified encrypted value of the column encryption key, or the name the column master key that is used to produce the new encrypted value.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EncryptedValue</maml:name>
            <maml:description>
                <maml:para>Specifies a string that this cmdlet uses to encrypt the column master key.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column encryption key object to be created.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL database object, for which this cmdlet runs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet runs a Transact-SQL script that performs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>SqlColumnEncryptionKey</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Generate a column encryption key --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlColumnEncryptionKey -Name &quot;CEK1&quot; -ColumnMasterKeyName &quot;CMK1&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command generates a plaintext value of a column encryption key, encrypts the plaintext value with the specified master key, and then creates a column encryption key object, encapsulating the generated encrypted value in the database.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Generate a column encryption key using a specific encryption string --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlColumnEncryptionKey &quot;CEK1&quot; &quot;CMK1&quot; -EncryptedValue &quot;0x01700000016C006F00630061006C006D0061006300680069006E0065002F006D0079002F003200660061006600640038003100320031003400340034006500620031006100320065003000360039003300340038006100350064003400300032003300380065006600620063006300610031006300284FC4316518CF3328A6D9304F65DD2CE387B79D95D077B4156E9ED8683FC0E09FA848275C685373228762B02DF2522AFF6D661782607B4A2275F2F922A5324B392C9D498E4ECFC61B79F0553EE8FB2E5A8635C4DBC0224D5A7F1B136C182DCDE32A00451F1A7AC6B4492067FD0FAC7D3D6F4AB7FC0E86614455DBB2AB37013E0A5B8B5089B180CA36D8B06CDB15E95A7D06E25AACB645D42C85B0B7EA2962BD3080B9A7CDB805C6279FE7DD6941E7EA4C2139E0D4101D8D7891076E70D433A214E82D9030CF1F40C503103075DEEB3D64537D15D244F503C2750CF940B71967F51095BFA51A85D2F764C78704CAB6F015EA87753355367C5C9F66E465C0C66BADEDFDF76FB7E5C21A0D89A2FCCA8595471F8918B1387E055FA0B816E74201CD5C50129D29C015895CD073925B6EA87CAF4A4FAF018C06A3856F5DFB724F42807543F777D82B809232B465D983E6F19DFB572BEA7B61C50154605452A891190FB5A0C4E464862CF5EFAD5E7D91F7D65AA1A78F688E69A1EB098AB42E95C674E234173CD7E0925541AD5AE7CED9A3D12FDFE6EB8EA4F8AAD2629D4F5A18BA3DDCC9CF7F352A892D4BEBDC4A1303F9C683DACD51A237E34B045EBE579A381E26B40DCFBF49EFFA6F65D17F37C6DBA54AA99A65D5573D4EB5BA038E024910A4D36B79A1D4E3C70349DADFF08FD8B4DEE77FDB57F01CB276ED5E676F1EC973154F86&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a column encryption key object, encapsulating the specified encrypted value, in the database.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlColumnEncryptionKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlColumnEncryptionKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlColumnEncryptionKeyEncryptedValue</command:name>
        <maml:description>
            <maml:para>Creates the encrypted value of a column encryption key.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlColumnEncryptionKeyEncryptedValue</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlColumnEncryptionKeyEncryptedValue cmdlet creates the encrypted value of a column encryption key. The returned encrypted value is a hexadecimal string. The cmdlet supports two modes of operation. If a no encrypted value is specified, the cmdlet generates a new plaintext symmetric key and encrypts the key with the specified column master key. If an encrypted value is specified, the cmdlet first decrypts the specified encrypted value and then re-encrypts the obtained plaintext key with the specified column master key.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlColumnEncryptionKeyEncryptedValue</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>TargetColumnMasterKeySettings</maml:name>
                <maml:description>
                    <maml:para>Specifies the SqlColumnMasterKeySettings object that this cmdlet uses to determine where the column master key, to be used to encrypt the new encrypted value, is stored. The SqlColumnMasterKeySettings object has two properties: KeyStoreProviderName and KeyPath. KeyStoreProviderName specifies the name of a column master key store provider. An Always Encrypted-enabled client driver needs to access the key store containing the column master key. KeyPath specifies the location of the column master key within the key store. The format for KeyPath is specific to the key store.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SqlColumnMasterKeySettings</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>ColumnMasterKeySettings</maml:name>
                <maml:description>
                    <maml:para>Specifies the SqlColumnMasterKeySettings object that this cmdlet uses to find where the column master key is stored.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SqlColumnMasterKeySettings</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>EncryptedValue</maml:name>
                <maml:description>
                    <maml:para>Specifies the existing encrypted value. If you specify a value for this parameter, the cmdlet will first decrypt this value using the column master key referenced by the ColumnMasterKeySettings parameter and then re-encrypt it using the column master key referenced by the TargetColumnMasterKeySettings parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>TargetColumnMasterKeySettings</maml:name>
            <maml:description>
                <maml:para>Specifies the SqlColumnMasterKeySettings object that this cmdlet uses to determine where the column master key, to be used to encrypt the new encrypted value, is stored. The SqlColumnMasterKeySettings object has two properties: KeyStoreProviderName and KeyPath. KeyStoreProviderName specifies the name of a column master key store provider. An Always Encrypted-enabled client driver needs to access the key store containing the column master key. KeyPath specifies the location of the column master key within the key store. The format for KeyPath is specific to the key store.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SqlColumnMasterKeySettings</command:parameterValue>
            <dev:type>
                <maml:name>SqlColumnMasterKeySettings</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>ColumnMasterKeySettings</maml:name>
            <maml:description>
                <maml:para>Specifies the SqlColumnMasterKeySettings object that this cmdlet uses to find where the column master key is stored.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SqlColumnMasterKeySettings</command:parameterValue>
            <dev:type>
                <maml:name>SqlColumnMasterKeySettings</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>EncryptedValue</maml:name>
            <maml:description>
                <maml:para>Specifies the existing encrypted value. If you specify a value for this parameter, the cmdlet will first decrypt this value using the column master key referenced by the ColumnMasterKeySettings parameter and then re-encrypt it using the column master key referenced by the TargetColumnMasterKeySettings parameter.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Generate a key and encrypt it using a certificate --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$TargetCmkSettings = New-SqlCertificateStoreColumnMasterKeySettings -CertificateStoreLocation &quot;CurrentUser&quot; -CertificateThumbprint &quot;f2260f28d909d21c642a3d8e0b45a830e79a1420&quot;
C:\PS&gt; New-SqlColumnEncryptionKeyEncryptedValue -TargetColumnMasterKeySettings $TargetCmkSettings</dev:code>
            <dev:remarks>
                <maml:para>The first command generates a key and encrypts the key with a certificate in Windows Certificate Store and stores it in the variable named $TargetCmkSettings. The result is a hexadecimal string that is an encrypted key value.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Generate a key and encrypt it with a certificate and an encryption key --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$CmkSettings = New-SqlCertificateStoreColumnMasterKeySettings -CertificateStoreLocation &quot;CurrentUser&quot; -CertificateThumbprint &quot;f2260f28d909d21c642a3d8e0b45a830e79a1420&quot;
C:\PS&gt; $TargetCmkSettings = New-SqlAzureKeyVaultColumnMasterKeySettings -KeyUrl &quot;https://myvault.vault.contoso.net:443/keys/CMK/4c05f1a41b12488f9cba2ea964b6a700&quot;
C:\PS&gt; New-SqlColumnEncryptionKeyEncryptedValue -TargetColumnMasterKeySettings $TargetCmkSettings -ColumnMasterKeySettings $CmkSettings -EncryptedValue &quot;0x016E000001630075007200720065006E00740075007300650072002F006D0079002F006200330039003900340035006200370031003100330037003700350032006400380061003100310033003900660035006200640036006400380066003700330038006600320033006200360032003000307925663D2C3E275DD272E15E606927DA4326F5735C2C8E84F91B9EFE44F503ED01C130984E83AF4513F8A4A8D0878D42364E958291AE25111A868D25B69FC5143EEC04131DA27D05F3442CB665ACB4BB3F6A7A9F07DBD5D212A772414A2CCA03BEBEB7BF0E22C644C715D739B983872AFB2D390229A0B5311BCA07E3C1D857EE8982320BBBE9382C960B9674E3CC3D618AD623D6A362BEAEF68B1B1BB49660DD643A4375A9285CD9EAA5B13BFE2792DA92025351E7B6067BA07B6178D03041F40F00D84326627094C9D6944DD912497B080058A529D2DA11C8D609604449714420B4E44ECD1EB26DEE18BF712146A51DD99A02E3D4EE692A503CF02F874497010772DE743DDFB2A74801AC9A94C876D1F93554B70CE0ECC437E7FC28BC11A08222977CDA807E256ED536C41700C631878226E513AFE1199A1DB4732F975AA09A1E75B8A19802AE018871A7A0AD5B1E29B942F30490EDABD310A4170B991EBCFDA2AFE43285D5406476204B381D8A33EEB0B967073B4C0127B1C7F0281AB310EE4B9A3C2D3EAB44A1F5D15D4739FFAEF6110ED4808446F6A05DBF4121B2B33A0AF5A457CD38F895B8F7ABDF792E3ADBC3AF55B1442625F88F80127D08DE9E4AC1BB2AAA46843A477135053CEEFA4327D8C999C16D8B49C225F34AD7588A5F9E93FB5532B1F1DC5AFB3CE23DDC8DC12327DD6B5985104D14F4A1BC0F61F0AACD&quot;</dev:code>
            <dev:remarks>
                <maml:para>The first command gets the certificate store column master key settings that uses the current user settings for the location and stores the result in the variable named $CmkSettings.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Add-SqlColumnEncryptionKeyValue</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlColumnEncryptionKeyValue</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlCertificateStoreColumnMasterKeySettings</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlAzureKeyVaultColumnMasterKeySettings</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlColumnEncryptionSettings</command:name>
        <maml:description>
            <maml:para>Creates a SqlColumnEncryptionSettings object that encapsulates information about a single column&#39;s encryption, including CEK and encryption type.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlColumnEncryptionSettings</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlColumnEncryptionSettings cmdlet creates a SqlColumnEncryptionSettings object. The SqlColumnEncryptionSettings object encapsulates information about the Always Encrypted settings for a single database columns, including the encryption type and the column encryption key.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlColumnEncryptionSettings</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>ColumnName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database column that uses the following format: [&lt;schemaName&gt;.]&lt;tableName&gt;.&lt;columnName&gt;.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>EncryptionType</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of encryption. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Deterministic, for deterministic encryption
-- Randomized, for randomized encryption
-- Plaintext, indicating that the column is not encrypted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>EncryptionKey</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column encryption key object. This argument is not allowed if the EncryptionType parameter value is set to Plaintext.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>ColumnName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the database column that uses the following format: [&lt;schemaName&gt;.]&lt;tableName&gt;.&lt;columnName&gt;.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>EncryptionType</maml:name>
            <maml:description>
                <maml:para>Specifies the type of encryption. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- Deterministic, for deterministic encryption
-- Randomized, for randomized encryption
-- Plaintext, indicating that the column is not encrypted.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>EncryptionKey</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column encryption key object. This argument is not allowed if the EncryptionType parameter value is set to Plaintext.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>SqlColumnEncryptionSettings</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create an encrypted SqlColumnEncryptionSettings object for a column --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$EncryptionSettings = New-SqlColumnEncryptionSettings dbo.Person.LastName &quot;Deterministic&quot; MyCEK</dev:code>
            <dev:remarks>
                <maml:para>This command creates a SqlColumnEncryptionSettings object for the column named dbo.Person.LastName, specifying the deterministic encryption and column encryption key named MyCEK for the column. The command stores the result in the variable named $EncryptionSettings.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Create an unencrypted SqlColumnEncryptionSettings object for a column --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$EncryptionSettings = New-SqlColumnEncryptionSettings dbo.Person.FirstName &quot;Plaintext&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a SqlColumnEncryptionSettings object for the dbo.Person.FirstName column, specifying the column is not encrypted. The command stores the result in the variable named $EncryptionSettings.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SQLServer_Cmdlets</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlColumnMasterKey</command:name>
        <maml:description>
            <maml:para>Creates a column master key object in the database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlColumnMasterKey</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlColumnMasterKey cmdlet creates a column master key object in the database. A column master key object captures the location of a physical cryptographic key that is intended to be used as a column master key for the Always Encrypted feature.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlColumnMasterKey</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnMasterKeySettings</maml:name>
                <maml:description>
                    <maml:para>Specifies the SqlColumnMasterKeySettings object that specifies the location of the actual column master key. The SqlColumnMasterKeySettings object has two properties: KeyStoreProviderName and KeyPath. KeyStoreProviderName specifies the name of a column master key store provider, which an Always Encrypted-enabled client driver must use to access the key store containing the column master key. KeyPath specifies the location of the column master key within the key store. The KeyPath format is specific to the key store.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SqlColumnMasterKeySettings</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key object that this cmdlet creates.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL database object, for which this cmdlet runs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>New-SqlColumnMasterKey</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnMasterKeySettings</maml:name>
                <maml:description>
                    <maml:para>Specifies the SqlColumnMasterKeySettings object that specifies the location of the actual column master key. The SqlColumnMasterKeySettings object has two properties: KeyStoreProviderName and KeyPath. KeyStoreProviderName specifies the name of a column master key store provider, which an Always Encrypted-enabled client driver must use to access the key store containing the column master key. KeyPath specifies the location of the column master key within the key store. The KeyPath format is specific to the key store.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SqlColumnMasterKeySettings</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key object that this cmdlet creates.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ColumnMasterKeySettings</maml:name>
            <maml:description>
                <maml:para>Specifies the SqlColumnMasterKeySettings object that specifies the location of the actual column master key. The SqlColumnMasterKeySettings object has two properties: KeyStoreProviderName and KeyPath. KeyStoreProviderName specifies the name of a column master key store provider, which an Always Encrypted-enabled client driver must use to access the key store containing the column master key. KeyPath specifies the location of the column master key within the key store. The KeyPath format is specific to the key store.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SqlColumnMasterKeySettings</command:parameterValue>
            <dev:type>
                <maml:name>SqlColumnMasterKeySettings</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column master key object that this cmdlet creates.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL database object, for which this cmdlet runs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.SqlColumnMasterKey</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create a column master key object that references a certificate --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$CmkSettings = New-SqlCertificateStoreColumnMasterKeySettings -CertificateStoreLocation &quot;CurrentUser&quot; -CertificateThumbprint &quot;f2260f28d909d21c642a3d8e0b45a830e79a1420&quot;
PS C:\&gt; New-SqlColumnMasterKey -Name &quot;CMK1&quot; -ColumnMasterKeySettings $CmkSettings</dev:code>
            <dev:remarks>
                <maml:para>The first command uses the New-SqlCertificateStoreColumnMasterKeySettings cmdlet to create column master settings referencing a certificate in Windows Certificate Store and stores the result in the variable named $CmkSettings.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Create a column master key object that references a key in Azure Key Vault --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$CmkSettings = New-SqlAzureKeyVaultColumnMasterKeySettings -KeyUrl &quot;https://myvault.vault.contoso.net:443/keys/CMK/4c05f1a41b12488f9cba2ea964b6a700&quot;
PS C:\&gt; New-SqlColumnMasterKey &quot;CMK1&quot; -ColumnMasterKeySettings $CmkSettings</dev:code>
            <dev:remarks>
                <maml:para>The first command uses the New-SqlCertificateStoreColumnMasterKeySettings cmdlet to create column master key object referencing a key in Azure Key Vault and stores the result in the variable named $CmkSettings.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Create a column master key object that references a key supporting CNG --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$CmkSettings = New-SqlCngColumnMasterKeySettings -CngProviderName &quot;Microsoft Software Key Storage Provider&quot; -KeyName &quot;AlwaysEncryptedKey&quot;
PS C:\&gt; New-SqlColumnMasterKey &quot;CMK1&quot; -ColumnMasterKeySettings $CmkSettings</dev:code>
            <dev:remarks>
                <maml:para>The first command uses the New-SqlCertificateStoreColumnMasterKeySettings cmdlet to create column master key object referencing a key in a key store supporting the Cryptography Next Generation (CNG) API and stores the result in the variable named $CmkSettings.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Create a column master key object that references a key supporting CSP --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$CmkSettings = New-SqlCspColumnMasterKeySettings &quot;MyCspProvider&quot; &quot;AlwaysEncryptedKey&quot;
C:\PS&gt; New-SqlColumnMasterKey &quot;CMK1&quot; -ColumnMasterKeySettings $CmkSettings</dev:code>
            <dev:remarks>
                <maml:para>The first command uses the New-SqlCertificateStoreColumnMasterKeySettings cmdlet to create column master key object referencing a key in a key store key store with a Cryptography Service Provider (CSP) supporting Cryptography API (CAPI).</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlColumnMasterKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlColumnMasterKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlColumnMasterKeySettings</command:name>
        <maml:description>
            <maml:para>Creates a SqlColumnMasterKeySettings object describing a master key stored in an arbitrarily specified key store provider and path.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlColumnMasterKeySettings</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlColumnMasterKeySettings cmdlet creates a SqlColumnMasterKeySettings in-memory object, with the key store provider name and key path completely specified by the user. The combination of the provider name and key path references a key intended to be used as a column master key for the Always Encrypted feature. This cmdlet can be used for custom key store providers and when both the key store provider name and fully-formatted key path are known.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlColumnMasterKeySettings</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>KeyStoreProviderName</maml:name>
                <maml:description>
                    <maml:para>Specifies the provider name of the key store used to protect the physical master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>KeyPath</maml:name>
                <maml:description>
                    <maml:para>Specifies the path within the key store of the physical master key.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>KeyStoreProviderName</maml:name>
            <maml:description>
                <maml:para>Specifies the provider name of the key store used to protect the physical master key.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>KeyPath</maml:name>
            <maml:description>
                <maml:para>Specifies the path within the key store of the physical master key.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>$cmkSettings = New-SqlColumnMasterKeySettings -KeyStoreProviderName &quot;AZURE_KEY_VAULT&quot; -KeyPath &quot;https://myvault.vault.azure.net:443/keys/CMK/4c05f1a41b12488f9cba2ea964b6a700&quot;</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2 --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>$cmkSettings = New-SqlColumnMasterKeySettings -KeyStoreProviderName &quot;CUSTOM_PROVIDER&quot; -KeyPath &quot;\\SecureNetworkShare\Keys\AlwaysEncrypted.key&quot;</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlCngColumnMasterKeySettings</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlCspColumnMasterKeySettings</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlCredential</command:name>
        <maml:description>
            <maml:para>Creates a SQL Server credential object.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlCredential</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlCredential cmdlet creates a new SQL Server credential object. A SQL Server credential object is used to store authentication information. The SQL Server credential is required when backing up to or restoring from the Windows Azure storage service, and is used to store the Windows Azure storage account name and access key information.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlCredential</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Identity</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of user or account. For Windows Azure storage service authentication, this is the name of the Windows Azure storage account.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Secret</maml:name>
                <maml:description>
                    <maml:para>Specifies the password for the user or account. For Windows Azure storage service authentication, this is the storage account access key value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ProviderName</maml:name>
                <maml:description>
                    <maml:para>Specifies the cryptographic provider name for the Enterprise Key Management Provider (EKM).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the instance of SQL Server for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>New-SqlCredential</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Identity</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of user or account. For Windows Azure storage service authentication, this is the name of the Windows Azure storage account.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Secret</maml:name>
                <maml:description>
                    <maml:para>Specifies the password for the user or account. For Windows Azure storage service authentication, this is the storage account access key value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ProviderName</maml:name>
                <maml:description>
                    <maml:para>Specifies the cryptographic provider name for the Enterprise Key Management Provider (EKM).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the Server object where the credential should be created.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Identity</maml:name>
            <maml:description>
                <maml:para>Specifies the name of user or account. For Windows Azure storage service authentication, this is the name of the Windows Azure storage account.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Secret</maml:name>
            <maml:description>
                <maml:para>Specifies the password for the user or account. For Windows Azure storage service authentication, this is the storage account access key value.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
            <dev:type>
                <maml:name>SecureString</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ProviderName</maml:name>
            <maml:description>
                <maml:para>Specifies the cryptographic provider name for the Enterprise Key Management Provider (EKM).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the instance of SQL Server for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the Server object where the credential should be created.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create a SQL credential for the current instance of SQL Server --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLServer:\SQL\Computer\Instance
PS SQLServer:\SQL\Computer\Instance&gt; New-SqlCredential -Name &quot;MySqlCredential&quot; -Identity &quot;MyWindowsAzureStorageAccount&quot; -Secret &quot;P4ssw0rd&quot;</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the directory to SQLServer:\SQL\Computer\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Create a SQL credential for all instances of SQL Server --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLServer:\SQL\Computer\Instance
PS SQLServer:\SQL\Computer\Instance&gt; $SecureString = ConvertTo-SecureString &quot;P4ssw0rd&quot; -AsPlainText -Force
PS SQLServer:\SQL\Computer\Instance&gt; $Instances = Get-ChildItem
PS SQLServer:\SQL\Computer\Instance&gt; $Instances | New-SqlCredential -Name &quot;MySqlCredential&quot; -Identity &quot;MyWindowsAzureStorageAccount&quot; -Secret $SecureString</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the directory to SQLServer:\SQL\Computer\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para>The forth command uses the pipeline to pass the instances to the New-SqlCredential to create a SQL Credential named MySqlCredential on all the instances of SQL Server.</maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlCredential</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlCredential</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlCredential</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlCspColumnMasterKeySettings</command:name>
        <maml:description>
            <maml:para>Creates a SqlColumnMasterKeySettings object describing an asymmetric key stored in a key store with a CSP supporting CAPI.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlCspColumnMasterKeySettings</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlCspColumnMasterKeySettings cmdlet creates a SqlColumnMasterKeySettings object. The SqlColumnMasterKeySettings object references a key, stored in a key store using a Cryptographic Service Provider (CSP) supporting the Microsoft Crypto API (CAPI). The SqlColumnMasterKeySettings object has two properties: KeyStoreProviderName and KeyPath. This cmdlet sets the KeyStoreProviderName property to contain the name of the column master key store provider using CSP/CAPI, then generates and sets the value of the KeyPath property to referenced the specified key.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlCspColumnMasterKeySettings</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>CspProviderName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the CSP provider for the key store.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>KeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the key in the key store.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>CspProviderName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the CSP provider for the key store.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>KeyName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the key in the key store.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>SqlColumnMasterKeySettings</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create a SqlColumnMasterKeySettings object --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$CmkSettings = New-SqlCspColumnMasterKeySettings -CspProviderName &quot;Microsoft Software Key Storage Provider&quot; -KeyName &quot;AlwaysEncryptedKey&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a SqlColumnMasterKeySettings object referencing a key in a key store encapsulated by a CSP provider called Microsoft Software Key Storage Provider.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SQLServer_Cmdlets</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>New-SqlHADREndpoint</command:name>
        <maml:description>
            <maml:para>Creates a database mirroring endpoint on a SQL Server instance.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>New</command:verb>
        <command:noun>SqlHADREndpoint</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The New-SqlHADREndpoint cmdlet creates a database mirroring endpoint on a SQL Server instance. This endpoint is required on every server instance that hosts an availability replica for any availability group. Each server instance can only have one database mirroring endpoint. If a server instance possesses a database mirroring endpoint, use the existing endpoint.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>New-SqlHADREndpoint</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Port</maml:name>
                <maml:description>
                    <maml:para>Specifies the TCP port on which the endpoint will listen for connections. The default is 5022.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Owner</maml:name>
                <maml:description>
                    <maml:para>Specifies the login of the owner of the endpoint. By default, this is the current login.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Certificate</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the certificate that the endpoint will use to authenticate connections. The far endpoint must have a certificate with the public key matching the private key of the certificate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>IpAddress</maml:name>
                <maml:description>
                    <maml:para>Specifies the IP address of the endpoint. The default is ALL, which indicates that the listener accepts a connection on any valid IP address.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">IPAddress</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AuthenticationOrder</maml:name>
                <maml:description>
                    <maml:para>Specifies the order and type of authentication that is used by the endpoint. Valid values are: </maml:para>
                    <maml:para>-- Certificate
-- CertificateKerberos
-- CertificateNegotiate
-- CertificateNtlm
-- Kerberos
-- KerberosCertificate
-- Negotiate
-- NegotiateCertificate
-- Ntlm
-- NtlmCertificate. </maml:para>
                    <maml:para>If the specified option calls for a certificate, the Certificate parameter must be set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointAuthenticationOrder</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Encryption</maml:name>
                <maml:description>
                    <maml:para>Specifies the encryption option for the endpoint. Valid values are: </maml:para>
                    <maml:para>-- Disabled
-- Supported
-- Required </maml:para>
                    <maml:para>Required is the default value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointEncryption</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptionAlgorithm</maml:name>
                <maml:description>
                    <maml:para>Specifies the form of encryption used by the endpoint. Valid values are: </maml:para>
                    <maml:para>-- Aes
-- AesRC4
-- None
-- RC4
-- RC4Aes </maml:para>
                    <maml:para>By default the endpoint will use Aes encryption.</maml:para>
                    <maml:para>NOTE: The RC4 algorithm is only supported for backward compatibility. New material can only be encrypted using RC4 or RC4_128 when the database is in compatibility level 90 or 100, but this is not recommended. For increased security, use a newer algorithm such as one of the AES algorithms instead.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointEncryptionAlgorithm</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the endpoint name. This parameter is required.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the SQL Server instance of the endpoint. This parameter is optional. If not specified, the current working location is used.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>New-SqlHADREndpoint</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Port</maml:name>
                <maml:description>
                    <maml:para>Specifies the TCP port on which the endpoint will listen for connections. The default is 5022.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Owner</maml:name>
                <maml:description>
                    <maml:para>Specifies the login of the owner of the endpoint. By default, this is the current login.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Certificate</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the certificate that the endpoint will use to authenticate connections. The far endpoint must have a certificate with the public key matching the private key of the certificate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>IpAddress</maml:name>
                <maml:description>
                    <maml:para>Specifies the IP address of the endpoint. The default is ALL, which indicates that the listener accepts a connection on any valid IP address.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">IPAddress</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AuthenticationOrder</maml:name>
                <maml:description>
                    <maml:para>Specifies the order and type of authentication that is used by the endpoint. Valid values are: </maml:para>
                    <maml:para>-- Certificate
-- CertificateKerberos
-- CertificateNegotiate
-- CertificateNtlm
-- Kerberos
-- KerberosCertificate
-- Negotiate
-- NegotiateCertificate
-- Ntlm
-- NtlmCertificate. </maml:para>
                    <maml:para>If the specified option calls for a certificate, the Certificate parameter must be set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointAuthenticationOrder</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Encryption</maml:name>
                <maml:description>
                    <maml:para>Specifies the encryption option for the endpoint. Valid values are: </maml:para>
                    <maml:para>-- Disabled
-- Supported
-- Required </maml:para>
                    <maml:para>Required is the default value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointEncryption</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptionAlgorithm</maml:name>
                <maml:description>
                    <maml:para>Specifies the form of encryption used by the endpoint. Valid values are: </maml:para>
                    <maml:para>-- Aes
-- AesRC4
-- None
-- RC4
-- RC4Aes </maml:para>
                    <maml:para>By default the endpoint will use Aes encryption.</maml:para>
                    <maml:para>NOTE: The RC4 algorithm is only supported for backward compatibility. New material can only be encrypted using RC4 or RC4_128 when the database is in compatibility level 90 or 100, but this is not recommended. For increased security, use a newer algorithm such as one of the AES algorithms instead.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointEncryptionAlgorithm</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the endpoint name. This parameter is required.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server object of the SQL Server instance where the endpoint is created.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Port</maml:name>
            <maml:description>
                <maml:para>Specifies the TCP port on which the endpoint will listen for connections. The default is 5022.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Owner</maml:name>
            <maml:description>
                <maml:para>Specifies the login of the owner of the endpoint. By default, this is the current login.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Certificate</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the certificate that the endpoint will use to authenticate connections. The far endpoint must have a certificate with the public key matching the private key of the certificate.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>IpAddress</maml:name>
            <maml:description>
                <maml:para>Specifies the IP address of the endpoint. The default is ALL, which indicates that the listener accepts a connection on any valid IP address.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">IPAddress</command:parameterValue>
            <dev:type>
                <maml:name>IPAddress</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AuthenticationOrder</maml:name>
            <maml:description>
                <maml:para>Specifies the order and type of authentication that is used by the endpoint. Valid values are: </maml:para>
                <maml:para>-- Certificate
-- CertificateKerberos
-- CertificateNegotiate
-- CertificateNtlm
-- Kerberos
-- KerberosCertificate
-- Negotiate
-- NegotiateCertificate
-- Ntlm
-- NtlmCertificate. </maml:para>
                <maml:para>If the specified option calls for a certificate, the Certificate parameter must be set.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">EndpointAuthenticationOrder</command:parameterValue>
            <dev:type>
                <maml:name>EndpointAuthenticationOrder</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Encryption</maml:name>
            <maml:description>
                <maml:para>Specifies the encryption option for the endpoint. Valid values are: </maml:para>
                <maml:para>-- Disabled
-- Supported
-- Required </maml:para>
                <maml:para>Required is the default value.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">EndpointEncryption</command:parameterValue>
            <dev:type>
                <maml:name>EndpointEncryption</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EncryptionAlgorithm</maml:name>
            <maml:description>
                <maml:para>Specifies the form of encryption used by the endpoint. Valid values are: </maml:para>
                <maml:para>-- Aes
-- AesRC4
-- None
-- RC4
-- RC4Aes </maml:para>
                <maml:para>By default the endpoint will use Aes encryption.</maml:para>
                <maml:para>NOTE: The RC4 algorithm is only supported for backward compatibility. New material can only be encrypted using RC4 or RC4_128 when the database is in compatibility level 90 or 100, but this is not recommended. For increased security, use a newer algorithm such as one of the AES algorithms instead.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">EndpointEncryptionAlgorithm</command:parameterValue>
            <dev:type>
                <maml:name>EndpointEncryptionAlgorithm</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the endpoint name. This parameter is required.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the SQL Server instance of the endpoint. This parameter is optional. If not specified, the current working location is used.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server object of the SQL Server instance where the endpoint is created.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>SMO.Server</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>SMO.Endpoint</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Create a database mirroring endpoint --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlHADREndpoint -Path &quot;SQLSERVER:\Sql\Computer\Instance&quot; -Name &quot;MainEndpoint&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a database mirroring endpoint named MainEndpoint on the server instance located at the specified path. This endpoint uses the default port, 5022.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Create a database mirroring endpoint that requires encryption --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlHADREndpoint -Path &quot;SQLSERVER:\Sql\Computer\Instance&quot; -Name &quot;MainEndpoint&quot; -Port 4022 -EncryptionAlgorithm Aes&apos; -Encryption Required</dev:code>
            <dev:remarks>
                <maml:para>This command creates a database mirroring endpoint named MainEndpoint on the server instance located at the specified path. This endpoint listens on port 4022. The endpoint uses the AES algorithm for encryption and requires that connections use encryption.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Create a database mirroring endpoint that is encrypted with a certificate --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlHADREndpoint -Path &quot;SQLSERVER:\Sql\Computer\Instance&quot; -Name &quot;MainEndpoint&quot; -AuthenticationOrder
Certificate -Certificate &quot;EncryptionCertificate&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command creates a database mirroring endpoint named MainEndpoint on the server instance located at the specified path. This endpoint uses the certificate named EncryptionCertificate to authenticate connections.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Create a database mirroring endpoint script --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;New-SqlHADREndpoint -Path &quot;SQLSERVER:\Sql\Computer\Instance&quot; -Name &quot;MainEndpoint&quot; -Script</dev:code>
            <dev:remarks>
                <maml:para>This command outputs the Transact-SQL script that creates a database mirroring endpoint named MainEndpoint on the server instance located at the specified path. The endpoint is not actually created by this command.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Set-SqlHADREndpoint</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Read-SqlTableData</command:name>
        <maml:description>
            <maml:para>Reads data from a table of a SQL database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Read</command:verb>
        <command:noun>SqlTableData</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Read-SqlTableData cmdlet reads data stored in a table of a SQL database. You can select which columns to read, limit the number of rows, and sort and order columns.</maml:para>
        <maml:para>You can use this cmdlet with the Windows PowerShell SQL provider. This cmdlet can infer information such as server, database, schema, and table from its current path. </maml:para>
        <maml:para>This cmdlet supports the follow output formats: </maml:para>
        <maml:para>-- DataSet. An object of type System.Data.DataSet that contains one table.
-- DataTable. An object of type System.Data.DataTable. The TableName property of this object is the same as the table that this cmdlet queries.
-- DataRows. A collection of System.Data.DateRow objects.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Read-SqlTableData</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TopN</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of rows of data that this cmdlet returns. If you do not specify this parameter, the cmdlet returns all the rows.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns that this cmdlet returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrder</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns by which this cmdlet sorts the columns that it returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrderType</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of order types for columns that this cmdlet returns. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- ASC. Ascending.
-- DESC. Descending. </maml:para>
                    <maml:para>The values that you specify for this parameter match the columns that you specify in the ColumnOrder parameter. This cmdlet ignores any extra values.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">OrderType[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputAs</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of output. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- DataSet
-- DataTable
-- DataRows</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">OutputTypeSingleTable</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the table of the view that this cmdlet reads.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Read-SqlTableData</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TableName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the table from which this cmdlet reads. </maml:para>
                    <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the TableName parameter anyway.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TopN</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of rows of data that this cmdlet returns. If you do not specify this parameter, the cmdlet returns all the rows.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns that this cmdlet returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrder</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns by which this cmdlet sorts the columns that it returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrderType</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of order types for columns that this cmdlet returns. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- ASC. Ascending.
-- DESC. Descending. </maml:para>
                    <maml:para>The values that you specify for this parameter match the columns that you specify in the ColumnOrder parameter. This cmdlet ignores any extra values.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">OrderType[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputAs</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of output. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- DataSet
-- DataTable
-- DataRows</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">OutputTypeSingleTable</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that contains the table. </maml:para>
                    <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the DatabaseName parameter anyway.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SchemaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the schema for the table. </maml:para>
                    <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the SchemaName parameter anyway.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>IgnoreProviderContext</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet does not use the current context to override the values of the ServerInstance, DatabaseName, SchemaName, and TableName parameters. If you do not specify this parameter, the cmdlet ignores the values of these parameters, if possible, in favor of the context in which you run the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SuppressProviderContextWarning</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet suppresses the warning message that states that the cmdlet uses the provider context.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
                    <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the ServerInstance parameter anyway.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Read-SqlTableData</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TopN</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of rows of data that this cmdlet returns. If you do not specify this parameter, the cmdlet returns all the rows.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns that this cmdlet returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrder</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns by which this cmdlet sorts the columns that it returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrderType</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of order types for columns that this cmdlet returns. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- ASC. Ascending.
-- DESC. Descending. </maml:para>
                    <maml:para>The values that you specify for this parameter match the columns that you specify in the ColumnOrder parameter. This cmdlet ignores any extra values.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">OrderType[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputAs</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of output. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- DataSet
-- DataTable
-- DataRows</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">OutputTypeSingleTable</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of SQL Server Management Objects (SMO) objects that represent the table that this cmdlet reads.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">ScriptSchemaObjectBase[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>TopN</maml:name>
            <maml:description>
                <maml:para>Specifies the number of rows of data that this cmdlet returns. If you do not specify this parameter, the cmdlet returns all the rows.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue>
            <dev:type>
                <maml:name>Int64</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ColumnName</maml:name>
            <maml:description>
                <maml:para>Specifies an array of names of columns that this cmdlet returns.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ColumnOrder</maml:name>
            <maml:description>
                <maml:para>Specifies an array of names of columns by which this cmdlet sorts the columns that it returns.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ColumnOrderType</maml:name>
            <maml:description>
                <maml:para>Specifies an array of order types for columns that this cmdlet returns. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- ASC. Ascending.
-- DESC. Descending. </maml:para>
                <maml:para>The values that you specify for this parameter match the columns that you specify in the ColumnOrder parameter. This cmdlet ignores any extra values.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">OrderType[]</command:parameterValue>
            <dev:type>
                <maml:name>OrderType[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>OutputAs</maml:name>
            <maml:description>
                <maml:para>Specifies the type of output. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- DataSet
-- DataTable
-- DataRows</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">OutputTypeSingleTable</command:parameterValue>
            <dev:type>
                <maml:name>OutputTypeSingleTable</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the table of the view that this cmdlet reads.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>TableName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the table from which this cmdlet reads. </maml:para>
                <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the TableName parameter anyway.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DatabaseName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the database that contains the table. </maml:para>
                <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the DatabaseName parameter anyway.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SchemaName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the schema for the table. </maml:para>
                <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the SchemaName parameter anyway.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>IgnoreProviderContext</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet does not use the current context to override the values of the ServerInstance, DatabaseName, SchemaName, and TableName parameters. If you do not specify this parameter, the cmdlet ignores the values of these parameters, if possible, in favor of the context in which you run the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SuppressProviderContextWarning</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet suppresses the warning message that states that the cmdlet uses the provider context.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
                <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the ServerInstance parameter anyway.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an array of SQL Server Management Objects (SMO) objects that represent the table that this cmdlet reads.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">ScriptSchemaObjectBase[]</command:parameterValue>
            <dev:type>
                <maml:name>ScriptSchemaObjectBase[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get three rows from a table --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Read-SqlTableData -ServerInstance &quot;MyServer\MyInstance&quot; -DatabaseName &quot;MyDatabase&quot; -SchemaName &quot;dbo&quot; -TableName &quot;MyTable&quot; -TopN 3
Id Name Amount
-- ---- ------
10 AAAAA -1.2
11 BBBBB 1.2
12 CCCCC -1.0</dev:code>
            <dev:remarks>
                <maml:para>This command gets the first three rows from table [MyDatabase].[dbo].[MyTable] on the MyServer\MyInstance instance. The TopN parameter specifies the number of rows.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Display a whole table --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLSERVER:\sql\MyServer\MyInstance\Databases\MyDatabase\Tables\dbo.CSVTable
PS SQLSERVER:\sql\MyServer\MyInstance\Databases\MyDatabase\Tables\dbo.CSVTable&gt; Read-SqlTableData
Id Name Amount
-- ---- ------
10 AAAA -1.2
11 BBBB 1.2
12 CCCC -1.0
 
13 DDDD -2.0</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the location to be a table in the SQLSERVER provider. The command prompt reflects the new location. For more information, type Get-Help about_Providers.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Display selected sorted columns --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLSERVER:\sql\MyServer\MyInstance\Databases\MyDatabase\Tables\dbo.CSVTable
PS SQLSERVER:\sql\MyServer\MyInstance\Databases\MyDatabase\Tables\dbo.CSVTable&gt; Read-SqlTableData -TopN 3 -ColumnName &quot;Id&quot;,&quot;Name&quot; -ColumnOrder &quot;Id&quot;,&quot;Name&quot; -ColumnOrderType DESC,ASC
Id Name
-- ----
12 CCCC
11 BBBB
10 AAAA</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the location to be a table in the SQLSERVER provider. The command prompt reflects the new location.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Read-SqlViewData</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Write-SqlTableData</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Read-SqlViewData</command:name>
        <maml:description>
            <maml:para>Reads data from the view of a SQL database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Read</command:verb>
        <command:noun>SqlViewData</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Read-SqlViewData cmdlet reads data stored in the view of a SQL database. You can select which columns to read, limit the number of rows, and sort and order columns. </maml:para>
        <maml:para>You can use this cmdlet with the Windows PowerShell SQL provider. This cmdlet can infer information such as server, database, schema, and table from its current path. </maml:para>
        <maml:para>This cmdlet supports the follow output formats: </maml:para>
        <maml:para>-- DataSet. An object of type System.Data.DataSet that contains one table.
-- DataTable. An object of type System.Data.DataTable. The TableName property of this object is the same as the table that this cmdlet queries.
-- DataRows. A collection of System.Data.DateRow objects.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Read-SqlViewData</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TopN</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of rows of data that this cmdlet returns. If you do not specify this parameter, the cmdlet returns all the rows.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns that this cmdlet returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrder</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns by which this cmdlet sorts the columns that it returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrderType</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of order types for columns that this cmdlet returns. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- ASC. Ascending.
-- DESC. Descending. </maml:para>
                    <maml:para>The values that you specify for this parameter match the columns that you specify in the ColumnOrder parameter. This cmdlet ignores any extra values.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">OrderType[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputAs</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of output. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- DataSet
-- DataTable
-- DataRows</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">OutputTypeSingleTable</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the view that this cmdlet reads.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Read-SqlViewData</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ViewName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the view from which this cmdlet reads. </maml:para>
                    <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the ViewName parameter anyway.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TopN</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of rows of data that this cmdlet returns. If you do not specify this parameter, the cmdlet returns all the rows.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns that this cmdlet returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrder</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns by which this cmdlet sorts the columns that it returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrderType</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of order types for columns that this cmdlet returns. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- ASC. Ascending.
-- DESC. Descending. </maml:para>
                    <maml:para>The values that you specify for this parameter match the columns that you specify in the ColumnOrder parameter. This cmdlet ignores any extra values.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">OrderType[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputAs</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of output. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- DataSet
-- DataTable
-- DataRows</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">OutputTypeSingleTable</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that contains the view. </maml:para>
                    <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the DatabaseName parameter anyway.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SchemaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the schema for the view. </maml:para>
                    <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the SchemaName parameter anyway.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>IgnoreProviderContext</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet does not use the current context to override the values of the ServerInstance, DatabaseName, SchemaName, and ViewName parameters. If you do not specify this parameter, the cmdlet ignores the values of these parameters, if possible, in favor of the context in which you run the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SuppressProviderContextWarning</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet suppresses the warning message that states that the cmdlet uses the provider context.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
                    <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the ServerInstance parameter anyway.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Read-SqlViewData</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TopN</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of rows of data that this cmdlet returns. If you do not specify this parameter, the cmdlet returns all the rows.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns that this cmdlet returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrder</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of columns by which this cmdlet sorts the columns that it returns.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnOrderType</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of order types for columns that this cmdlet returns. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- ASC. Ascending.
-- DESC. Descending. </maml:para>
                    <maml:para>The values that you specify for this parameter match the columns that you specify in the ColumnOrder parameter. This cmdlet ignores any extra values.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">OrderType[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>OutputAs</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of output. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- DataSet
-- DataTable
-- DataRows</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">OutputTypeSingleTable</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of SQL Server Management Objects (SMO) objects that represent the view that this cmdlet reads.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">ScriptSchemaObjectBase[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>TopN</maml:name>
            <maml:description>
                <maml:para>Specifies the number of rows of data that this cmdlet returns. If you do not specify this parameter, the cmdlet returns all the rows.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue>
            <dev:type>
                <maml:name>Int64</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ColumnName</maml:name>
            <maml:description>
                <maml:para>Specifies an array of names of columns that this cmdlet returns.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ColumnOrder</maml:name>
            <maml:description>
                <maml:para>Specifies an array of names of columns by which this cmdlet sorts the columns that it returns.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ColumnOrderType</maml:name>
            <maml:description>
                <maml:para>Specifies an array of order types for columns that this cmdlet returns. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- ASC. Ascending.
-- DESC. Descending. </maml:para>
                <maml:para>The values that you specify for this parameter match the columns that you specify in the ColumnOrder parameter. This cmdlet ignores any extra values.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">OrderType[]</command:parameterValue>
            <dev:type>
                <maml:name>OrderType[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>OutputAs</maml:name>
            <maml:description>
                <maml:para>Specifies the type of output. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- DataSet
-- DataTable
-- DataRows</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">OutputTypeSingleTable</command:parameterValue>
            <dev:type>
                <maml:name>OutputTypeSingleTable</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the view that this cmdlet reads.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ViewName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the view from which this cmdlet reads. </maml:para>
                <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the ViewName parameter anyway.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DatabaseName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the database that contains the view. </maml:para>
                <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the DatabaseName parameter anyway.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SchemaName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the schema for the view. </maml:para>
                <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the SchemaName parameter anyway.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>IgnoreProviderContext</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet does not use the current context to override the values of the ServerInstance, DatabaseName, SchemaName, and ViewName parameters. If you do not specify this parameter, the cmdlet ignores the values of these parameters, if possible, in favor of the context in which you run the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SuppressProviderContextWarning</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet suppresses the warning message that states that the cmdlet uses the provider context.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
                <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the ServerInstance parameter anyway.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an array of SQL Server Management Objects (SMO) objects that represent the view that this cmdlet reads.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">ScriptSchemaObjectBase[]</command:parameterValue>
            <dev:type>
                <maml:name>ScriptSchemaObjectBase[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Get two rows from a view --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Read-SqlViewData -ServerInstance &quot;MyServer\MyInstance&quot; -DatabaseName &quot;MyDatabase&quot; -SchemaName &quot;dbo&quot; -ViewName &quot;MyView&quot; -TopN 2
Id Name Amount
-- ---- ------
10 AAAAA -1.2
11 BBBBB 1.2</dev:code>
            <dev:remarks>
                <maml:para>This command gets the first two rows from the database view [MyDatabase].[dbo].[MyView] on the MyServer\MyInstance instance. The TopN parameter specifies the number of rows.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Display a whole table --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLSERVER:\sql\MyServer\MyInstance\Databases\MyDatabase\Views\dbo.MyView
PS SQLSERVER:\sql\MyServer\MyInstance\Databases\MyDatabase\Views\dbo.MyView&gt; Read-SqlViewData
Id Name Amount
-- ---- ------
10 AAAA -1.2
11 BBBB 1.2
12 CCCC -1.0
13 DDDD -2.0</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the location to be a view in the SQLSERVER provider. The command prompt reflects the new location. For more information, type Get-Help about_Providers.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Display selected sorted columns --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLSERVER:\sql\MyServer\MyInstance\Databases\MyDatabase\Views\dbo.MyView
PS SQLSERVER:\sql\MyServer\MyInstance\Databases\MyDatabase\Views\dbo.MyView&gt; Read-SqlViewData -TopN 3 -ColumnName &quot;Id&quot;,&quot;Name&quot; -ColumnOrder &quot;Id&quot;,&quot;Name&quot; -ColumnOrderType DESC,ASC
Id Name
-- ----
12 CCCC
11 BBBB
10 AAAA</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the location to be a view in the SQLSERVER provider. The command prompt reflects the new location.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Remove-SqlAvailabilityDatabase</command:name>
        <maml:description>
            <maml:para>Removes an availability database from its availability group.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Remove</command:verb>
        <command:noun>SqlAvailabilityDatabase</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Remove-SqlAvailabilityDatabase cmdlet removes availability database from its availability group. The InputObject or Path parameter specifies the availability database.</maml:para>
        <maml:para>If you run this cmdlet at the server instance that hosts the primary replica, the cmdlet removes the primary database and all corresponding secondary databases from the availability group. </maml:para>
        <maml:para>If you run this cmdlet at a server instance that hosts a secondary replica, the cmdlet removes only the local secondary database from the availability group. The secondary database is no longer joined to the availability group, but other copies of the database continue to be joined.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Remove-SqlAvailabilityDatabase</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of an availability database that cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Remove-SqlAvailabilityDatabase</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies availability database, as an AvailabilityDatabase object, that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityDatabase[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of an availability database that cmdlet removes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies availability database, as an AvailabilityDatabase object, that this cmdlet removes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityDatabase[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityDatabase[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityDatabase</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>You can pass an availability database to this cmdlet.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Remove a database from an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-SqlAvailabilityDatabase -Path &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MainAG\AvailabilityDatabases\Database16&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command removes the availability database named Database16 from the availability group named MainAG. This command runs on the server instance that hosts the primary replica. Therefore, it removes the primary database and all its corresponding secondary databases from the availability group. Data synchronization no longer occurs for this database on any secondary replica.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Remove all databases from an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MainAG\AvailabilityDatabases&quot; | Remove-SqlAvailabilityDatabase</dev:code>
            <dev:remarks>
                <maml:para>This command gets all the availability databases that belong to MainAG, and then passes them to the current cmdlet by using the pipeline operator. The current cmdlet removes each availability database.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Remove a secondary database from an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-SqlAvailabilityDatabase -Path &quot;SQLSERVER:\Sql\SecondaryServer\InstanceName\AvailabilityGroups\MainAG\AvailabilityDatabases\Database16&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command removes the secondary database named Database16 from the secondary replica hosted by the server instance named SecondaryServer\Instance. Data synchronization to the removed secondary databases stops. This command does not affect the primary database or any other secondary databases.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Create a script to remove a database from an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-SqlAvailabilityDatabase -Path &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MainAG\AvailabilityDatabases\Database16&quot; -Script</dev:code>
            <dev:remarks>
                <maml:para>This command creates a Transact-SQL script that removes the availability database named Database16 from the availability group named MainAG. The command does not perform this action.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Add-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Resume-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Suspend-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Remove-SqlAvailabilityGroup</command:name>
        <maml:description>
            <maml:para>Removes an availability group.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Remove</command:verb>
        <command:noun>SqlAvailabilityGroup</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Remove-SqlAvailabilityGroup cmdlet removes an availability group in AlwaysOn Availability Groups. You can run this cmdlet on any instance of SQL Server that has AlwaysOn Availability Groups enabled on a Windows Server Failover Clustering (WSFC) node that has security credentials for the availability group.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Remove-SqlAvailabilityGroup</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the availability group that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Remove-SqlAvailabilityGroup</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies availability group that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the availability group that this cmdlet removes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies availability group that this cmdlet removes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroup[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Remove an availabity group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-SqlAvailabilityGroup -Path &quot;SQLSERVER:\Sql\Server\InstanceName\AvailabilityGroups\MainAG&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command removes the availability group named MainAG. You can run this command on any server instance that hosts an availability replica for the availability group.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Remove all availability groups --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\Server\InstanceName\AvailabilityGroups&quot; | Remove-SqlAvailabilityGroup</dev:code>
            <dev:remarks>
                <maml:para>This command gets all availability groups that have availability replicas in the specified location in the SQLSERVER: provider. The command passes them to the current cmdlet by using the pipeline operator. That cmdlet deletes each availability group.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Create a script to remove an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-SqlAvailabilityGroup -Path &quot;SQLSERVER:\Sql\Server\InstanceName\AvailabilityGroups\MainAG&quot; -Script</dev:code>
            <dev:remarks>
                <maml:para>This command creates a Transact-SQL script that removes the availability group named MainAG. The command does not perform this action.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Join-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Switch-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Test-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Remove-SqlAvailabilityReplica</command:name>
        <maml:description>
            <maml:para>Removes a secondary availability replica.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Remove</command:verb>
        <command:noun>SqlAvailabilityReplica</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Remove-SqlAvailabilityReplica cmdlet removes the secondary replica that is specified by the InputObject or Path parameters. This cmdlet must be executed at the server instance that hosts the primary replica.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Remove-SqlAvailabilityReplica</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the availability replica. This parameter is required.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this command returns a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Remove-SqlAvailabilityReplica</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the AvailabilityReplica object for the replica to remove.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityReplica[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this command returns a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the availability replica. This parameter is required.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this command returns a Transact-SQL script that performs the task.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the AvailabilityReplica object for the replica to remove.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityReplica[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplica[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityReplica</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Specifies the availability replica to remove.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Remove an availability replica --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-SqlAvailabilityReplica -Path &quot;SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MainAg\AvailabilityReplicas\MainReplica&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command removes the availability replica named MainReplica from the availability group named MainAg. This command must be run on the server instance that hosts the primary replica of the availability group.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Generate a TransactSQL script that removes an availability replica --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-SqlAvailabilityReplica -Path &quot;SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MainAg\AvailabilityReplicas\MainReplica&quot; -Script</dev:code>
            <dev:remarks>
                <maml:para>This command outputs the Transact-SQL script that removes the availability replica named MainReplica from the availability group named MainAg. This command does not remove the replica.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Test-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Remove-SqlColumnEncryptionKey</command:name>
        <maml:description>
            <maml:para>Removes the column encryption key object from the database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Remove</command:verb>
        <command:noun>SqlColumnEncryptionKey</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Remove-SqlColumnEncryptionKey cmdlet removes the column encryption key object with the specified name from the database.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Remove-SqlColumnEncryptionKey</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column encryption key object that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL database object, for which this cmdlet runs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Remove-SqlColumnEncryptionKey</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column encryption key object that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, this cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column encryption key object that this cmdlet removes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL database object, for which this cmdlet runs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, this cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Remove a column encryption key by name --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-SqlColumnEncryptionKey -Name &quot;CEK1&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command removes the column encryption key named CEK1.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlColumnEncryptionKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlColumnEncryptionKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Remove-SqlColumnEncryptionKeyValue</command:name>
        <maml:description>
            <maml:para>Removes an encrypted value from an existing column encryption key object in the database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Remove</command:verb>
        <command:noun>SqlColumnEncryptionKeyValue</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Remove-SqlColumnEncryptionKeyValue cmdlet modifies a column encryption key object in the database, by removing an entry for an encrypted value produced using the specified column master key.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Remove-SqlColumnEncryptionKeyValue</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key that was used to produce the encrypted value that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column encryption key object that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL database object for which this cmdlet runs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Remove-SqlColumnEncryptionKeyValue</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnMasterKeyName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key that was used to produce the encrypted value that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column encryption key object that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL database for which this cmdlet runs the operation. If you do not specify a value for this parameter, this cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ColumnMasterKeyName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column master key that was used to produce the encrypted value that this cmdlet removes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column encryption key object that this cmdlet removes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL database object for which this cmdlet runs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL database for which this cmdlet runs the operation. If you do not specify a value for this parameter, this cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Remove a column encryption key value --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-SqlColumnEncryptionKeyValue -Name &quot;CEK1&quot; -ColumnMasterKey &quot;CMK1&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command removes the column encryption key value encrypted with a column master key named CMK1 from the column encryption key database object named CEK1.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Add-SqlColumnEncryptionKeyValue</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Remove-SqlColumnMasterKey</command:name>
        <maml:description>
            <maml:para>Removes the column master key object from the database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Remove</command:verb>
        <command:noun>SqlColumnMasterKey</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Remove-SqlColumnMasterKey cmdlet removes the column master key object with the specified name from the database.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Remove-SqlColumnMasterKey</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key object that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL database object, for which this cmdlet performs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Remove-SqlColumnMasterKey</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Name</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the column master key object that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Name</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the column master key object that this cmdlet removes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL database object, for which this cmdlet performs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Remove a column master key object from the database --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-SqlColumnMasterKey -Name &quot;CMK1&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command removes the column master key object named CMK1 from the database.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlColumnMasterKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlColumnMasterKey</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Remove-SqlCredential</command:name>
        <maml:description>
            <maml:para>Removes the SQL credential object.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Remove</command:verb>
        <command:noun>SqlCredential</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Remove-SqlCredential cmdlet removes a SQL Server credential object. This cmdlet supports the following two modes of operation:</maml:para>
        <maml:para>-- Specifies the path or location of the credential including the credential name using the Path parameter.</maml:para>
        <maml:para>-- Passes a Smo.Credential object to the object using the InputObject parameter.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Remove-SqlCredential</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the credential, as an array, on which this cmdlet performs this operation. For instance, SQLSERVER:\SQL\Computer\Instance\Credentials\Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Remove-SqlCredential</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an input credential object, as an array. You can use the Get-SqlCredential to get the object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Credential[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the credential, as an array, on which this cmdlet performs this operation. For instance, SQLSERVER:\SQL\Computer\Instance\Credentials\Credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an input credential object, as an array. You can use the Get-SqlCredential to get the object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Credential[]</command:parameterValue>
            <dev:type>
                <maml:name>Credential[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Remove a SQL credential --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-SqlCredential -Path &quot;SQLSERVER:\SQL\Computer\Instance\Credentials\MySqlCredential&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command removes the SQL credential named MySqlCredential using the path specified in the Path parameter.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Remove a SQL credential through input pipe --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$Cred = Get-SqlCredential -Name MySqlCredential $Cred | Remove-SqlCredential</dev:code>
            <dev:remarks>
                <maml:para>The command gets the credential object from the Get-Credential cmdlet and then uses the pipeline to pass it to the Remove-SqlCredential cmdlet to remove the SQL credential named MySqlCredential.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlCredential</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlCredential</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlCredential</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Remove-SqlFirewallRule</command:name>
        <maml:description>
            <maml:para>Disables the Windows Firewall rule that allows connections to a specific instance of SQL Server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Remove</command:verb>
        <command:noun>SqlFirewallRule</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Remove-SqlFirewallRule cmdlet disables the Windows Firewall rule that allows connections to a specific instance of SQL Server.</maml:para>
        <maml:para>SQL Server Cloud Adapter must be running and accessible on the computer that hosts the instance of SQL Server.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation:</maml:para>
        <maml:para>-- Specify the instance Windows PowerShell path.
-- Specify the server object.
-- Specify the ServerInstance object of the target instance of SQL Server.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Remove-SqlFirewallRule</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter should be used when the ports of the target computer are not directly accessible but are exposed through endpoints, which means that we need to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Remove-SqlFirewallRule</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the Server object, as an array, of the target instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter should be used when the ports of the target computer are not directly accessible but are exposed through endpoints, which means that we need to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Remove-SqlFirewallRule</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server, as an array, that becomes the target of the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter should be used when the ports of the target computer are not directly accessible but are exposed through endpoints, which means that we need to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ManagementPublicPort</maml:name>
            <maml:description>
                <maml:para>Specifies the public management port on the target computer. This parameter should be used when the ports of the target computer are not directly accessible but are exposed through endpoints, which means that we need to connect to a different port.</maml:para>
                <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>RetryTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the Server object, as an array, of the target instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            <dev:type>
                <maml:name>Server[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server, as an array, that becomes the target of the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Disable a Windows Firewall rule that blocks connections to a SQL Server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
PS SQLSERVER:\SQL\Computer\Instance&gt; Remove-SqlFirewallRule -Credential $Credential -AcceptSelfSignedCertificate</dev:code>
            <dev:remarks>
                <maml:para>This command disables the Windows Firewall rule on the computer to block connections to the SQL Server instance on this computer. The current working directory is used to determine the server instance where the operation should occur. The self-signed certificate of the target computer is automatically accepted without prompting the user.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Disable a Windows Firewall rule that blocks connections to all SQL Server instances --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlInstance -Credential $Credential -MachineName &quot;Computer002&quot; | Remove-SqlFirewallRule -Credential $Credential -AcceptSelfSignedCertificate</dev:code>
            <dev:remarks>
                <maml:para>This command gets all instances of SQL Server on the computer named Computer002 and disables the Windows Firewall rules to block connections to each one of them. The self-signed certificate of the target computer is automatically accepted without prompting the user.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Add-SqlFirewallRule</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Remove-SqlLogin</command:name>
        <maml:description>
            <maml:para>Removes Login objects from an instance of SQL Server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Remove</command:verb>
        <command:noun>SqlLogin</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Remove-SqlLogin cmdlet removes Login objects form an instance of SQL Server. If you specify the name of the Login object, the cmdlet removes that specific object.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Remove-SqlLogin</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of Login objects that this cmdlet removes. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RemoveAssociatedUsers</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet removes the users that are associated with the Login object.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Forces the command to run without asking for user confirmation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL Server on which this cmdlet runs the operation. The default value is the current working directory.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Remove-SqlLogin</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of Login objects that this cmdlet removes. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RemoveAssociatedUsers</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet removes the users that are associated with the Login object.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Forces the command to run without asking for user confirmation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an SQL Server Management Objects (SMO) object that represents the Login object that this cmdlet removes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Login</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Remove-SqlLogin</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>LoginName</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of names of Login objects that this cmdlet removes. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RemoveAssociatedUsers</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet removes the users that are associated with the Login object.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Forces the command to run without asking for user confirmation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>LoginName</maml:name>
            <maml:description>
                <maml:para>Specifies an array of names of Login objects that this cmdlet removes. The case sensitivity is the same as that of the instance of SQL Server.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>RemoveAssociatedUsers</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet removes the users that are associated with the Login object.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Force</maml:name>
            <maml:description>
                <maml:para>Forces the command to run without asking for user confirmation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL Server on which this cmdlet runs the operation. The default value is the current working directory.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an SQL Server Management Objects (SMO) object that represents the Login object that this cmdlet removes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Login</command:parameterValue>
            <dev:type>
                <maml:name>Login</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Remove a Login object by name --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlLogin -ServerInstance &quot;MyServerInstance&quot; -LoginName &quot;Login01&quot; | Remove-SqlLogin</dev:code>
            <dev:remarks>
                <maml:para>This command gets the Login object named Login01 on the specified instance by using the Get-SqlLogin cmdlet. The command passes it to the current cmdlet by using the pipeline operator. That cmdlet removes the Login object.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Remove objects that match a string --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlLogin -ServerInstance &quot;MyServerInstance&quot; -LoginName &apos;Login.*&apos; -Regex | Remove-SqlLogin -RemoveAssociatedUsers</dev:code>
            <dev:remarks>
                <maml:para>This command gets the Login objects that contain the string Login.* as a regular expression on the specified instance by using Get-SqlLogin. The command passes it to the current cmdlet. That cmdlet removes the Login objects. The command removes associated users.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Remove several Login objects --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Remove-Login -ServerInstance &quot;MyServerInstance&quot; -LoginName &quot;login01&quot;,&quot;login02&quot;,&quot;login03&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command removes the Login objects named login01, login02, and login03.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Add-SqlLogin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Get-SqlLogin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Restore-SqlDatabase</command:name>
        <maml:description>
            <maml:para>Restores a database from a backup or transaction log records.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Restore</command:verb>
        <command:noun>SqlDatabase</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Restore-SqlDatabase cmdlet performs restore operations on a SQL Server database. This includes full database restores, transaction log restores, and database file restores. </maml:para>
        <maml:para>This cmdlet is modeled after the Microsoft.SqlServer.Management.Smo.Restore class. The parameters on this cmdlet generally correspond to properties on the Smo.Restore object.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Restore-SqlDatabase</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ClearSuspectPageTable</maml:name>
                <maml:description>
                    <maml:para>Indicates that the suspect page table is deleted after the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>KeepReplication</maml:name>
                <maml:description>
                    <maml:para>Indicates that the replication configuration is preserved. If not set, the replication configuration is ignored by the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Partial</maml:name>
                <maml:description>
                    <maml:para>Indicates that the restore operation is a partial restore.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReplaceDatabase</maml:name>
                <maml:description>
                    <maml:para>Indicates that a new image of the database is created. This overwrites any existing database with the same name. If not set, the restore operation will fail when a database with that name already exists on the server.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RestrictedUser</maml:name>
                <maml:description>
                    <maml:para>Indicates that access to the restored database is restricted to the db_owner fixed database role, and the dbcreator and sysadmin fixed server roles.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Offset</maml:name>
                <maml:description>
                    <maml:para>Specifies the page addresses to be restored. This is only used when RestoreAction is set to OnlinePage.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Int64[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RelocateFile</maml:name>
                <maml:description>
                    <maml:para>Specifies a list of Smo.Relocate file objects. Each object consists of a logical backup file name and a physical file system location. The restore moves the restored database into the specified physical location on the target server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">RelocateFile[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FileNumber</maml:name>
                <maml:description>
                    <maml:para>Specifies the index number that is used to identify the targeted backup set on the backup medium.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RestoreAction</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of restore operation that is performed. Valid values are: </maml:para>
                    <maml:para>-- Database. The database is restored.
-- Files. One or more data files are restored. The DatabaseFile or DatabaseFileGroup parameter must be specified.
-- Log. The translaction log is restored.
-- OnlinePage. A data page is restored online so that the database remains available to users.
-- OnlineFiles. Data files are restored online so that the database remains available to users. The DatabaseFile or DatabaseFileGroup parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">RestoreActionType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StandbyFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an undo file that is used as part of the imaging strategy for a SQL Server instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopAtMarkAfterDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date to be used with the mark name specified by the StopAtMarkName parameter to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopAtMarkName</maml:name>
                <maml:description>
                    <maml:para>Specifies the marked transaction at which to stop the recovery operation. This is used with StopAtMarkAfterDate to determine the stopping point of the recovery operation. The recoverd data includes the transaction that contains the mark. If the StopAtMarkAfterDate value is not set, recovery stops at the first mark with the specified name.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopBeforeMarkAfterDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date to be used with StopBeforeMarkName to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopBeforeMarkName</maml:name>
                <maml:description>
                    <maml:para>Specifies the marked transaction before which to stop the recovery operation. This is used with StopBeforeMarkAfterDate to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ToPointInTime</maml:name>
                <maml:description>
                    <maml:para>Specifies the endpoint for database log restoration. This only applies when RestoreAction is set to Log.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database to restore. This cannot be used with the DatabaseObject parameter. When this parameter is used, the Path, InputObject, or ServerInstance parameters must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL Server instance on which to execute the restore operation. This parameter is optional. If not specified, the current working location is used.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>BackupFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the location or locations where the backup files are stored. This parameter is optional. If not specified, the default backup location of the server is searched for the name &lt;database name&gt;.trn for log restores, or &lt;database name&gt;.bak for all other types of restores. This parameter cannot be used with the BackupDevice parameter. If you are backing to the Windows Azure Blob Storage service (URL), this parameter or the BackupDevice parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies an SQL Server credential object that stores authentication information. If you are backing up to Blob storage service, you must specify this parameter. The authentication information stored includes the Storage account name and the associated access key values. Do not specify this parameter for disk or tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupDevice</maml:name>
                <maml:description>
                    <maml:para>Specifies the devices where the backups are be stored. This parameter cannot be used with the BackupFile parameter. Use this parameter if you are backing up to a tape device.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceItem[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PassThru</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs the Smo.Backup object used to perform the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Checksum</maml:name>
                <maml:description>
                    <maml:para>Indicates that a checksum value is calculated during the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ContinueAfterError</maml:name>
                <maml:description>
                    <maml:para>Indicates that the operation continues when a checksum error occurs. If not set, the operation will fail after a checksum error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRewind</maml:name>
                <maml:description>
                    <maml:para>Indicates that a tape drive is left open at the ending position when the restore is completed. If not set, the tape is rewound after the operation is completed. This does not apply to disk restores.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Restart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet resumes a partially completed restore operation. If not set, the cmdlet restarts an interrupted restore operation at the beginning of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UnloadTapeAfter</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape device is rewound and unloaded when the operation is completed. If not set, no attempt is made to rewind and unload the tape medium. This does not apply to disk backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRecovery</maml:name>
                <maml:description>
                    <maml:para>Indicates that the database is restored into the restoring state. A roll back operation does not occur and additional backups can be restored.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the database files targeted by the restore operation. This is only used when the RestoreAction parameter is set to Files. When the RestoreAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles paameter must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFileGroup</maml:name>
                <maml:description>
                    <maml:para>Specifies the database file groups targeted by the restore operation. This is only used when the RestoreAction parameter is set to File. When the RestoreAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BlockSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the physical block size, in bytes, for the backup. The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 for all other devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BufferCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the total number of I/O buffers to be used for the backup operation. You can specify any positive integer. If there is insufficient virtual address space in the Sqlservr.exe process for the buffers, you will receive an out of memory error.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxTransferSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of bytes to be transferred between the backup media and the SQL Server instance. The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name that identifies a media set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Restore-SqlDatabase</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ClearSuspectPageTable</maml:name>
                <maml:description>
                    <maml:para>Indicates that the suspect page table is deleted after the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>KeepReplication</maml:name>
                <maml:description>
                    <maml:para>Indicates that the replication configuration is preserved. If not set, the replication configuration is ignored by the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Partial</maml:name>
                <maml:description>
                    <maml:para>Indicates that the restore operation is a partial restore.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReplaceDatabase</maml:name>
                <maml:description>
                    <maml:para>Indicates that a new image of the database is created. This overwrites any existing database with the same name. If not set, the restore operation will fail when a database with that name already exists on the server.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RestrictedUser</maml:name>
                <maml:description>
                    <maml:para>Indicates that access to the restored database is restricted to the db_owner fixed database role, and the dbcreator and sysadmin fixed server roles.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Offset</maml:name>
                <maml:description>
                    <maml:para>Specifies the page addresses to be restored. This is only used when RestoreAction is set to OnlinePage.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Int64[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RelocateFile</maml:name>
                <maml:description>
                    <maml:para>Specifies a list of Smo.Relocate file objects. Each object consists of a logical backup file name and a physical file system location. The restore moves the restored database into the specified physical location on the target server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">RelocateFile[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FileNumber</maml:name>
                <maml:description>
                    <maml:para>Specifies the index number that is used to identify the targeted backup set on the backup medium.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RestoreAction</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of restore operation that is performed. Valid values are: </maml:para>
                    <maml:para>-- Database. The database is restored.
-- Files. One or more data files are restored. The DatabaseFile or DatabaseFileGroup parameter must be specified.
-- Log. The translaction log is restored.
-- OnlinePage. A data page is restored online so that the database remains available to users.
-- OnlineFiles. Data files are restored online so that the database remains available to users. The DatabaseFile or DatabaseFileGroup parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">RestoreActionType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StandbyFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an undo file that is used as part of the imaging strategy for a SQL Server instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopAtMarkAfterDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date to be used with the mark name specified by the StopAtMarkName parameter to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopAtMarkName</maml:name>
                <maml:description>
                    <maml:para>Specifies the marked transaction at which to stop the recovery operation. This is used with StopAtMarkAfterDate to determine the stopping point of the recovery operation. The recoverd data includes the transaction that contains the mark. If the StopAtMarkAfterDate value is not set, recovery stops at the first mark with the specified name.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopBeforeMarkAfterDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date to be used with StopBeforeMarkName to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopBeforeMarkName</maml:name>
                <maml:description>
                    <maml:para>Specifies the marked transaction before which to stop the recovery operation. This is used with StopBeforeMarkAfterDate to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ToPointInTime</maml:name>
                <maml:description>
                    <maml:para>Specifies the endpoint for database log restoration. This only applies when RestoreAction is set to Log.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database to restore. This cannot be used with the DatabaseObject parameter. When this parameter is used, the Path, InputObject, or ServerInstance parameters must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of a SQL Server instance. This server instance becomes the target of the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object that contains the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a timeout failure. The timeout value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not timeout.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>BackupFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the location or locations where the backup files are stored. This parameter is optional. If not specified, the default backup location of the server is searched for the name &lt;database name&gt;.trn for log restores, or &lt;database name&gt;.bak for all other types of restores. This parameter cannot be used with the BackupDevice parameter. If you are backing to the Windows Azure Blob Storage service (URL), this parameter or the BackupDevice parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies an SQL Server credential object that stores authentication information. If you are backing up to Blob storage service, you must specify this parameter. The authentication information stored includes the Storage account name and the associated access key values. Do not specify this parameter for disk or tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupDevice</maml:name>
                <maml:description>
                    <maml:para>Specifies the devices where the backups are be stored. This parameter cannot be used with the BackupFile parameter. Use this parameter if you are backing up to a tape device.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceItem[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PassThru</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs the Smo.Backup object used to perform the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Checksum</maml:name>
                <maml:description>
                    <maml:para>Indicates that a checksum value is calculated during the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ContinueAfterError</maml:name>
                <maml:description>
                    <maml:para>Indicates that the operation continues when a checksum error occurs. If not set, the operation will fail after a checksum error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRewind</maml:name>
                <maml:description>
                    <maml:para>Indicates that a tape drive is left open at the ending position when the restore is completed. If not set, the tape is rewound after the operation is completed. This does not apply to disk restores.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Restart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet resumes a partially completed restore operation. If not set, the cmdlet restarts an interrupted restore operation at the beginning of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UnloadTapeAfter</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape device is rewound and unloaded when the operation is completed. If not set, no attempt is made to rewind and unload the tape medium. This does not apply to disk backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRecovery</maml:name>
                <maml:description>
                    <maml:para>Indicates that the database is restored into the restoring state. A roll back operation does not occur and additional backups can be restored.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the database files targeted by the restore operation. This is only used when the RestoreAction parameter is set to Files. When the RestoreAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles paameter must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFileGroup</maml:name>
                <maml:description>
                    <maml:para>Specifies the database file groups targeted by the restore operation. This is only used when the RestoreAction parameter is set to File. When the RestoreAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BlockSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the physical block size, in bytes, for the backup. The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 for all other devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BufferCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the total number of I/O buffers to be used for the backup operation. You can specify any positive integer. If there is insufficient virtual address space in the Sqlservr.exe process for the buffers, you will receive an out of memory error.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxTransferSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of bytes to be transferred between the backup media and the SQL Server instance. The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name that identifies a media set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Restore-SqlDatabase</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ClearSuspectPageTable</maml:name>
                <maml:description>
                    <maml:para>Indicates that the suspect page table is deleted after the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>KeepReplication</maml:name>
                <maml:description>
                    <maml:para>Indicates that the replication configuration is preserved. If not set, the replication configuration is ignored by the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Partial</maml:name>
                <maml:description>
                    <maml:para>Indicates that the restore operation is a partial restore.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReplaceDatabase</maml:name>
                <maml:description>
                    <maml:para>Indicates that a new image of the database is created. This overwrites any existing database with the same name. If not set, the restore operation will fail when a database with that name already exists on the server.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RestrictedUser</maml:name>
                <maml:description>
                    <maml:para>Indicates that access to the restored database is restricted to the db_owner fixed database role, and the dbcreator and sysadmin fixed server roles.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Offset</maml:name>
                <maml:description>
                    <maml:para>Specifies the page addresses to be restored. This is only used when RestoreAction is set to OnlinePage.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Int64[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RelocateFile</maml:name>
                <maml:description>
                    <maml:para>Specifies a list of Smo.Relocate file objects. Each object consists of a logical backup file name and a physical file system location. The restore moves the restored database into the specified physical location on the target server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">RelocateFile[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FileNumber</maml:name>
                <maml:description>
                    <maml:para>Specifies the index number that is used to identify the targeted backup set on the backup medium.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RestoreAction</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of restore operation that is performed. Valid values are: </maml:para>
                    <maml:para>-- Database. The database is restored.
-- Files. One or more data files are restored. The DatabaseFile or DatabaseFileGroup parameter must be specified.
-- Log. The translaction log is restored.
-- OnlinePage. A data page is restored online so that the database remains available to users.
-- OnlineFiles. Data files are restored online so that the database remains available to users. The DatabaseFile or DatabaseFileGroup parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">RestoreActionType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StandbyFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an undo file that is used as part of the imaging strategy for a SQL Server instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopAtMarkAfterDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date to be used with the mark name specified by the StopAtMarkName parameter to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopAtMarkName</maml:name>
                <maml:description>
                    <maml:para>Specifies the marked transaction at which to stop the recovery operation. This is used with StopAtMarkAfterDate to determine the stopping point of the recovery operation. The recoverd data includes the transaction that contains the mark. If the StopAtMarkAfterDate value is not set, recovery stops at the first mark with the specified name.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopBeforeMarkAfterDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date to be used with StopBeforeMarkName to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopBeforeMarkName</maml:name>
                <maml:description>
                    <maml:para>Specifies the marked transaction before which to stop the recovery operation. This is used with StopBeforeMarkAfterDate to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ToPointInTime</maml:name>
                <maml:description>
                    <maml:para>Specifies the endpoint for database log restoration. This only applies when RestoreAction is set to Log.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database to restore. This cannot be used with the DatabaseObject parameter. When this parameter is used, the Path, InputObject, or ServerInstance parameters must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server object of the SQL Server instance where the restore occurs.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>BackupFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the location or locations where the backup files are stored. This parameter is optional. If not specified, the default backup location of the server is searched for the name &lt;database name&gt;.trn for log restores, or &lt;database name&gt;.bak for all other types of restores. This parameter cannot be used with the BackupDevice parameter. If you are backing to the Windows Azure Blob Storage service (URL), this parameter or the BackupDevice parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies an SQL Server credential object that stores authentication information. If you are backing up to Blob storage service, you must specify this parameter. The authentication information stored includes the Storage account name and the associated access key values. Do not specify this parameter for disk or tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupDevice</maml:name>
                <maml:description>
                    <maml:para>Specifies the devices where the backups are be stored. This parameter cannot be used with the BackupFile parameter. Use this parameter if you are backing up to a tape device.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceItem[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PassThru</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs the Smo.Backup object used to perform the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Checksum</maml:name>
                <maml:description>
                    <maml:para>Indicates that a checksum value is calculated during the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ContinueAfterError</maml:name>
                <maml:description>
                    <maml:para>Indicates that the operation continues when a checksum error occurs. If not set, the operation will fail after a checksum error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRewind</maml:name>
                <maml:description>
                    <maml:para>Indicates that a tape drive is left open at the ending position when the restore is completed. If not set, the tape is rewound after the operation is completed. This does not apply to disk restores.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Restart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet resumes a partially completed restore operation. If not set, the cmdlet restarts an interrupted restore operation at the beginning of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UnloadTapeAfter</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape device is rewound and unloaded when the operation is completed. If not set, no attempt is made to rewind and unload the tape medium. This does not apply to disk backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRecovery</maml:name>
                <maml:description>
                    <maml:para>Indicates that the database is restored into the restoring state. A roll back operation does not occur and additional backups can be restored.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the database files targeted by the restore operation. This is only used when the RestoreAction parameter is set to Files. When the RestoreAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles paameter must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFileGroup</maml:name>
                <maml:description>
                    <maml:para>Specifies the database file groups targeted by the restore operation. This is only used when the RestoreAction parameter is set to File. When the RestoreAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BlockSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the physical block size, in bytes, for the backup. The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 for all other devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BufferCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the total number of I/O buffers to be used for the backup operation. You can specify any positive integer. If there is insufficient virtual address space in the Sqlservr.exe process for the buffers, you will receive an out of memory error.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxTransferSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of bytes to be transferred between the backup media and the SQL Server instance. The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name that identifies a media set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Restore-SqlDatabase</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ClearSuspectPageTable</maml:name>
                <maml:description>
                    <maml:para>Indicates that the suspect page table is deleted after the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>KeepReplication</maml:name>
                <maml:description>
                    <maml:para>Indicates that the replication configuration is preserved. If not set, the replication configuration is ignored by the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Partial</maml:name>
                <maml:description>
                    <maml:para>Indicates that the restore operation is a partial restore.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReplaceDatabase</maml:name>
                <maml:description>
                    <maml:para>Indicates that a new image of the database is created. This overwrites any existing database with the same name. If not set, the restore operation will fail when a database with that name already exists on the server.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RestrictedUser</maml:name>
                <maml:description>
                    <maml:para>Indicates that access to the restored database is restricted to the db_owner fixed database role, and the dbcreator and sysadmin fixed server roles.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Offset</maml:name>
                <maml:description>
                    <maml:para>Specifies the page addresses to be restored. This is only used when RestoreAction is set to OnlinePage.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Int64[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RelocateFile</maml:name>
                <maml:description>
                    <maml:para>Specifies a list of Smo.Relocate file objects. Each object consists of a logical backup file name and a physical file system location. The restore moves the restored database into the specified physical location on the target server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">RelocateFile[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FileNumber</maml:name>
                <maml:description>
                    <maml:para>Specifies the index number that is used to identify the targeted backup set on the backup medium.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RestoreAction</maml:name>
                <maml:description>
                    <maml:para>Specifies the type of restore operation that is performed. Valid values are: </maml:para>
                    <maml:para>-- Database. The database is restored.
-- Files. One or more data files are restored. The DatabaseFile or DatabaseFileGroup parameter must be specified.
-- Log. The translaction log is restored.
-- OnlinePage. A data page is restored online so that the database remains available to users.
-- OnlineFiles. Data files are restored online so that the database remains available to users. The DatabaseFile or DatabaseFileGroup parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">RestoreActionType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StandbyFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an undo file that is used as part of the imaging strategy for a SQL Server instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopAtMarkAfterDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date to be used with the mark name specified by the StopAtMarkName parameter to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopAtMarkName</maml:name>
                <maml:description>
                    <maml:para>Specifies the marked transaction at which to stop the recovery operation. This is used with StopAtMarkAfterDate to determine the stopping point of the recovery operation. The recoverd data includes the transaction that contains the mark. If the StopAtMarkAfterDate value is not set, recovery stops at the first mark with the specified name.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopBeforeMarkAfterDate</maml:name>
                <maml:description>
                    <maml:para>Specifies the date to be used with StopBeforeMarkName to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>StopBeforeMarkName</maml:name>
                <maml:description>
                    <maml:para>Specifies the marked transaction before which to stop the recovery operation. This is used with StopBeforeMarkAfterDate to determine the stopping point of the recovery operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ToPointInTime</maml:name>
                <maml:description>
                    <maml:para>Specifies the endpoint for database log restoration. This only applies when RestoreAction is set to Log.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>DatabaseObject</maml:name>
                <maml:description>
                    <maml:para>Specifies a database object for the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>BackupFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the location or locations where the backup files are stored. This parameter is optional. If not specified, the default backup location of the server is searched for the name &lt;database name&gt;.trn for log restores, or &lt;database name&gt;.bak for all other types of restores. This parameter cannot be used with the BackupDevice parameter. If you are backing to the Windows Azure Blob Storage service (URL), this parameter or the BackupDevice parameter must be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies an SQL Server credential object that stores authentication information. If you are backing up to Blob storage service, you must specify this parameter. The authentication information stored includes the Storage account name and the associated access key values. Do not specify this parameter for disk or tape.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupDevice</maml:name>
                <maml:description>
                    <maml:para>Specifies the devices where the backups are be stored. This parameter cannot be used with the BackupFile parameter. Use this parameter if you are backing up to a tape device.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">BackupDeviceItem[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>PassThru</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs the Smo.Backup object used to perform the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Checksum</maml:name>
                <maml:description>
                    <maml:para>Indicates that a checksum value is calculated during the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ContinueAfterError</maml:name>
                <maml:description>
                    <maml:para>Indicates that the operation continues when a checksum error occurs. If not set, the operation will fail after a checksum error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRewind</maml:name>
                <maml:description>
                    <maml:para>Indicates that a tape drive is left open at the ending position when the restore is completed. If not set, the tape is rewound after the operation is completed. This does not apply to disk restores.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Restart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet resumes a partially completed restore operation. If not set, the cmdlet restarts an interrupted restore operation at the beginning of the backup set.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UnloadTapeAfter</maml:name>
                <maml:description>
                    <maml:para>Indicates that the tape device is rewound and unloaded when the operation is completed. If not set, no attempt is made to rewind and unload the tape medium. This does not apply to disk backups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRecovery</maml:name>
                <maml:description>
                    <maml:para>Indicates that the database is restored into the restoring state. A roll back operation does not occur and additional backups can be restored.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFile</maml:name>
                <maml:description>
                    <maml:para>Specifies the database files targeted by the restore operation. This is only used when the RestoreAction parameter is set to Files. When the RestoreAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles paameter must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseFileGroup</maml:name>
                <maml:description>
                    <maml:para>Specifies the database file groups targeted by the restore operation. This is only used when the RestoreAction parameter is set to File. When the RestoreAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must also be specified.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BlockSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the physical block size, in bytes, for the backup. The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 for all other devices.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BufferCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the total number of I/O buffers to be used for the backup operation. You can specify any positive integer. If there is insufficient virtual address space in the Sqlservr.exe process for the buffers, you will receive an out of memory error.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxTransferSize</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of bytes to be transferred between the backup media and the SQL Server instance. The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MediaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name that identifies a media set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the restore operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ClearSuspectPageTable</maml:name>
            <maml:description>
                <maml:para>Indicates that the suspect page table is deleted after the restore operation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>KeepReplication</maml:name>
            <maml:description>
                <maml:para>Indicates that the replication configuration is preserved. If not set, the replication configuration is ignored by the restore operation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Partial</maml:name>
            <maml:description>
                <maml:para>Indicates that the restore operation is a partial restore.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ReplaceDatabase</maml:name>
            <maml:description>
                <maml:para>Indicates that a new image of the database is created. This overwrites any existing database with the same name. If not set, the restore operation will fail when a database with that name already exists on the server.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>RestrictedUser</maml:name>
            <maml:description>
                <maml:para>Indicates that access to the restored database is restricted to the db_owner fixed database role, and the dbcreator and sysadmin fixed server roles.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>Offset</maml:name>
            <maml:description>
                <maml:para>Specifies the page addresses to be restored. This is only used when RestoreAction is set to OnlinePage.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Int64[]</command:parameterValue>
            <dev:type>
                <maml:name>Int64[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>RelocateFile</maml:name>
            <maml:description>
                <maml:para>Specifies a list of Smo.Relocate file objects. Each object consists of a logical backup file name and a physical file system location. The restore moves the restored database into the specified physical location on the target server.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">RelocateFile[]</command:parameterValue>
            <dev:type>
                <maml:name>RelocateFile[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>FileNumber</maml:name>
            <maml:description>
                <maml:para>Specifies the index number that is used to identify the targeted backup set on the backup medium.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>RestoreAction</maml:name>
            <maml:description>
                <maml:para>Specifies the type of restore operation that is performed. Valid values are: </maml:para>
                <maml:para>-- Database. The database is restored.
-- Files. One or more data files are restored. The DatabaseFile or DatabaseFileGroup parameter must be specified.
-- Log. The translaction log is restored.
-- OnlinePage. A data page is restored online so that the database remains available to users.
-- OnlineFiles. Data files are restored online so that the database remains available to users. The DatabaseFile or DatabaseFileGroup parameter must be specified.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">RestoreActionType</command:parameterValue>
            <dev:type>
                <maml:name>RestoreActionType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>StandbyFile</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an undo file that is used as part of the imaging strategy for a SQL Server instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>StopAtMarkAfterDate</maml:name>
            <maml:description>
                <maml:para>Specifies the date to be used with the mark name specified by the StopAtMarkName parameter to determine the stopping point of the recovery operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>StopAtMarkName</maml:name>
            <maml:description>
                <maml:para>Specifies the marked transaction at which to stop the recovery operation. This is used with StopAtMarkAfterDate to determine the stopping point of the recovery operation. The recoverd data includes the transaction that contains the mark. If the StopAtMarkAfterDate value is not set, recovery stops at the first mark with the specified name.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>StopBeforeMarkAfterDate</maml:name>
            <maml:description>
                <maml:para>Specifies the date to be used with StopBeforeMarkName to determine the stopping point of the recovery operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>StopBeforeMarkName</maml:name>
            <maml:description>
                <maml:para>Specifies the marked transaction before which to stop the recovery operation. This is used with StopBeforeMarkAfterDate to determine the stopping point of the recovery operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ToPointInTime</maml:name>
            <maml:description>
                <maml:para>Specifies the endpoint for database log restoration. This only applies when RestoreAction is set to Log.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Database</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the database to restore. This cannot be used with the DatabaseObject parameter. When this parameter is used, the Path, InputObject, or ServerInstance parameters must also be specified.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL Server instance on which to execute the restore operation. This parameter is optional. If not specified, the current working location is used.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
            <maml:name>BackupFile</maml:name>
            <maml:description>
                <maml:para>Specifies the location or locations where the backup files are stored. This parameter is optional. If not specified, the default backup location of the server is searched for the name &lt;database name&gt;.trn for log restores, or &lt;database name&gt;.bak for all other types of restores. This parameter cannot be used with the BackupDevice parameter. If you are backing to the Windows Azure Blob Storage service (URL), this parameter or the BackupDevice parameter must be specified.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SqlCredential</maml:name>
            <maml:description>
                <maml:para>Specifies an SQL Server credential object that stores authentication information. If you are backing up to Blob storage service, you must specify this parameter. The authentication information stored includes the Storage account name and the associated access key values. Do not specify this parameter for disk or tape.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            <dev:type>
                <maml:name>PSObject</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>BackupDevice</maml:name>
            <maml:description>
                <maml:para>Specifies the devices where the backups are be stored. This parameter cannot be used with the BackupFile parameter. Use this parameter if you are backing up to a tape device.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">BackupDeviceItem[]</command:parameterValue>
            <dev:type>
                <maml:name>BackupDeviceItem[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>PassThru</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet outputs the Smo.Backup object used to perform the restore operation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Checksum</maml:name>
            <maml:description>
                <maml:para>Indicates that a checksum value is calculated during the restore operation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ContinueAfterError</maml:name>
            <maml:description>
                <maml:para>Indicates that the operation continues when a checksum error occurs. If not set, the operation will fail after a checksum error.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoRewind</maml:name>
            <maml:description>
                <maml:para>Indicates that a tape drive is left open at the ending position when the restore is completed. If not set, the tape is rewound after the operation is completed. This does not apply to disk restores.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Restart</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet resumes a partially completed restore operation. If not set, the cmdlet restarts an interrupted restore operation at the beginning of the backup set.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>UnloadTapeAfter</maml:name>
            <maml:description>
                <maml:para>Indicates that the tape device is rewound and unloaded when the operation is completed. If not set, no attempt is made to rewind and unload the tape medium. This does not apply to disk backups.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoRecovery</maml:name>
            <maml:description>
                <maml:para>Indicates that the database is restored into the restoring state. A roll back operation does not occur and additional backups can be restored.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>DatabaseFile</maml:name>
            <maml:description>
                <maml:para>Specifies the database files targeted by the restore operation. This is only used when the RestoreAction parameter is set to Files. When the RestoreAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles paameter must also be specified.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>DatabaseFileGroup</maml:name>
            <maml:description>
                <maml:para>Specifies the database file groups targeted by the restore operation. This is only used when the RestoreAction parameter is set to File. When the RestoreAction parameter is set to Files, either the DatabaseFileGroups or DatabaseFiles parameter must also be specified.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BlockSize</maml:name>
            <maml:description>
                <maml:para>Specifies the physical block size, in bytes, for the backup. The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 for all other devices.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BufferCount</maml:name>
            <maml:description>
                <maml:para>Specifies the total number of I/O buffers to be used for the backup operation. You can specify any positive integer. If there is insufficient virtual address space in the Sqlservr.exe process for the buffers, you will receive an out of memory error.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MaxTransferSize</maml:name>
            <maml:description>
                <maml:para>Specifies the maximum number of bytes to be transferred between the backup media and the SQL Server instance. The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MediaName</maml:name>
            <maml:description>
                <maml:para>Specifies the name that identifies a media set.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the restore operation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of a SQL Server instance. This server instance becomes the target of the restore operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object that contains the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a timeout failure. The timeout value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not timeout.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server object of the SQL Server instance where the restore occurs.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            <dev:type>
                <maml:name>Server[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>DatabaseObject</maml:name>
            <maml:description>
                <maml:para>Specifies a database object for the restore operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Smo.Server</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>Specifies an SMO.Server object that describes the SQL Server instance on which the restore operation occurs.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Restore a database from a backup file on a network share --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Restore-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupFile &quot;\\mainserver\databasebackup\MainDB.bak&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command restores the full database MainDB from the file \mainserver\databasebackup\MainDB.bak to the server instance Computer\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Restore a database transaction log --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Restore-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupFile &quot;\\mainserver\databasebackup\MainDB.trn&quot; -RestoreAction Log</dev:code>
            <dev:remarks>
                <maml:para>This command restores the transaction log for the database MainDB from the file \mainserver\databasebackup\MainDB.trn to the server instance Computer\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Restore a database and prompt for a password --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Restore-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupFile &quot;\\mainserver\databasebackup\MainDB.bak&quot; -Credential (Get-Credential &quot;sa&quot;)</dev:code>
            <dev:remarks>
                <maml:para>This command restores the full database MainDB from the file \mainserver\databasebackup\MainDB.trn to the server instance Computer\Instance, using the sa SQL login. This command will prompt you for a password to complete the authentication.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Restore a transaction log with the NORECOVERY option --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Restore-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupFile &quot;\\mainserver\databasebackup\MainDB.trn&quot; -RestoreAction Log -NoRecovery</dev:code>
            <dev:remarks>
                <maml:para>This command restores the transaction log of the database MainDB with the NORECOVERY option from the file \mainserver\databasebackup\MainDB.trn to the server instance &#39;Computer\Instance&#39;.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 5: Restore transaction log records up to a point in time --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Restore-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupFile &quot;\\mainserver\databasebackup\MainDB.trn&quot; -RestoreAction Log -ToPointInTime &quot;Nov 11, 2011 11:11 AM&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command restores the transaction log of the database MainDB up to the date passed to the ToPointInTime parameter, Nov 11, 2011 11:11 AM.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 6: Restore a database and relocate the data and log files --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$RelocateData = New-Object Microsoft.SqlServer.Management.Smo.RelocateFile(&quot;MainDB_Data&quot;, &quot;c:\MySQLServer\MainDB.mdf&quot;)
PS C:\&gt;$RelocateLog = New-Object Microsoft.SqlServer.Management.Smo.RelocateFile(&quot;MainDB_Log&quot;, &quot;c:\MySQLServer\MainDB.ldf&quot;)
PS C:\&gt;Restore-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupFile &quot;\\mainserver\databasebackup\MainDB.trn&quot; -RelocateFile @($RelocateData,$RelocateLog)</dev:code>
            <dev:remarks>
                <maml:para>This example restores the full database MainDB to the server instance Computer\Instance, and relocates the data and log files. For each file that is moved, the example constructs an instance of the Microsoft.SqlServer.Management.Smo.RelocateFile class. Each constructor takes two arguments, the logical name of the file and the physical location where the file will be placed on the target server. The RelocateFile objects are passed to the RelocateFile parameter of the Restore-SqlDatabase cmdlet.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 7: Restore a database from tape --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$TapeDevice = New-Object Microsoft.Sqlserver.Management.Smo.BackupDeviceItem(&quot;\\.\tape0&quot;, &quot;Tape&quot;)
PS C:\&gt;Restore-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupDevice $TapeDevice</dev:code>
            <dev:remarks>
                <maml:para>This example restores the database MainDB from the tape device named \.\tape0 to the server instance Computer\Instance. To represent this device, the example constructs an instance of the Microsoft.Sqlserver.Management.Smo.BackupDeviceItem class. The constructor takes two arguments, the name of the backup device and the type of the backup device. This BackupDeviceItem object is then passed to the -BackupDevice parameter of the Restore-SqlDatabase cmdlet.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 8: Restore a database from the Azure Blob Storage service --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Restore-SqlDatabase -ServerInstance &quot;Computer\Instance&quot; -Database &quot;MainDB&quot; -BackupFile &quot;https://mystorageaccountname.blob.core.windows.net/container/MyDB.bak&quot; -SqlCredential &quot;mySqlCredential&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command restores the full database MainDB from the file on the Windows Azure Blob Storage service to the server instance Computer\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Backup-SqlDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Resume-SqlAvailabilityDatabase</command:name>
        <maml:description>
            <maml:para>Resumes data movement on an availability database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Resume</command:verb>
        <command:noun>SqlAvailabilityDatabase</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Resume-SqlAvailabilityDatabase cmdlet resumes data movement on an availability database. If you resume synchronization for a primary database, data movement resumes on the corresponding secondary databases. If you resume a particular secondary database, only that database is affected.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Resume-SqlAvailabilityDatabase</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of an availability database that cmdlet resumes. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Resume-SqlAvailabilityDatabase</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies availability database, as an AvailabilityDatabase object, that this cmdlet resumes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityDatabase[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of an availability database that cmdlet resumes. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies availability database, as an AvailabilityDatabase object, that this cmdlet resumes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityDatabase[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityDatabase[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityDatabase</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>You can pass an availability database to this cmdlet.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Resume synchronization for a database --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Resume-SqlAvailabilityDatabase -Path &quot;SQLSERVER:\Sql\Server\Instance\AvailabilityGroups\MainAG\AvailabilityDatabases\Database16&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command resumes data synchronization for the availability database named Database16 in the availability group named MainAG.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Resume synchronization for all databases --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\Server\Instance\AvailabilityGroups\MainAG\AvailabilityDatabases&quot; | Resume-SqlAvailabilityDatabase</dev:code>
            <dev:remarks>
                <maml:para>This command gets all the availability databases that belong to MainAG, and then passes them to the current cmdlet by using the pipeline operator. The current cmdlet resumes synchronization for each availability database.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Create a script to resume a database --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Resume-SqlAvailabilityDatabase -Path &quot;SQLSERVER:\Sql\Server\Instance\AvailabilityGroups\MainAG\AvailabilityDatabases\Database16&quot; -Script</dev:code>
            <dev:remarks>
                <maml:para>This command creates a Transact-SQL script that resumes database synchronization for the availability database named Database16 in the availability group named MainAG. The command does not perform this action.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Add-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Suspend-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Revoke-SqlAvailabilityGroupCreateAnyDatabase</command:name>
        <maml:description>
            <maml:para>Revokes the CREATE ANY DATABASE permission on an Always On Availability Group.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Revoke</command:verb>
        <command:noun>SqlAvailabilityGroupCreateAnyDatabase</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>Revokes the CREATE ANY DATABASE permission on an Always On Availability Group.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Revoke-SqlAvailabilityGroupCreateAnyDatabase</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the Availability Group on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet. Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Revoke-SqlAvailabilityGroupCreateAnyDatabase</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the target Availability Group object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet. Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the Availability Group on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet. Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the target Availability Group object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroup[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
<maml:para />
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
<maml:para />
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: How to revoke the privilege --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; Revoke-SqlAvailabilityGroupCreateAnyDatabase -Path &apos;SQLSERVER:\SQL\MYSERVER\MYINSTANCE\AvailabilityGroupS\AG1&apos;</dev:code>
            <dev:remarks>
                <maml:para>This example shows how to use the cmdlet to revoke CREATE ANY DATABASE permission for the Availability Group &#39;AG1&#39; on SQL Server &#39;MYSERVER&#39; (instance name &#39;MYINSTANCE&#39;)</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Save-SqlMigrationReport</command:name>
        <maml:description>
            <maml:para />
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Save</command:verb>
        <command:noun>SqlMigrationReport</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para />
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Save-SqlMigrationReport</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Server</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Database</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Schema</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Username</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Password</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Object</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SqlSmoObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MigrationType</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">MigrationType</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FolderPath</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Server</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Database</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Schema</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Username</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Password</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Object</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SqlSmoObject</command:parameterValue>
            <dev:type>
                <maml:name>SqlSmoObject</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MigrationType</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">MigrationType</command:parameterValue>
            <dev:type>
                <maml:name>MigrationType</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>FolderPath</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- 1: --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code></dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Set-SqlAuthenticationMode</command:name>
        <maml:description>
            <maml:para>Configures the authentication mode of the target instance of SQL Server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Set</command:verb>
        <command:noun>SqlAuthenticationMode</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Set-SqlAuthenticationMode cmdlet configures the authentication mode of the target instance of SQL Server.</maml:para>
        <maml:para>SQL ServerCloud Adapter must be running and accessible on the computer that hosts the instance of SQL Server.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation:</maml:para>
        <maml:para>-- Specify the instance Windows PowerShell path.
-- Specify the server object.
-- Specify the ServerInstance object of the target instance of SQL Server.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Set-SqlAuthenticationMode</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Mode</maml:name>
                <maml:description>
                    <maml:para>Specifies the authentication mode that will be configured on the target instance of SQL Server.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Normal
-- Integrated
-- Mixed
-- Unknown</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ServerLoginMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies the administrator credentials that is created in the target instance of SQL Server if Mixed mode authentication is enabled.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ForceServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet forces the SQL Server service to restart, if necessary, without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet prevents a restart of the SQL Server service without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of SQL Server, as an array, on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet defaults to the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter should be used when the ports of the target computer are not directly accessible but are exposed through endpoints, which means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlAuthenticationMode</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Mode</maml:name>
                <maml:description>
                    <maml:para>Specifies the authentication mode that will be configured on the target instance of SQL Server.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Normal
-- Integrated
-- Mixed
-- Unknown</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ServerLoginMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies the administrator credentials that is created in the target instance of SQL Server if Mixed mode authentication is enabled.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ForceServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet forces the SQL Server service to restart, if necessary, without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet prevents a restart of the SQL Server service without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server object, as an array, of the target instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter should be used when the ports of the target computer are not directly accessible but are exposed through endpoints, which means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlAuthenticationMode</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Mode</maml:name>
                <maml:description>
                    <maml:para>Specifies the authentication mode that will be configured on the target instance of SQL Server.</maml:para>
                    <maml:para>The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Normal
-- Integrated
-- Mixed
-- Unknown</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ServerLoginMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies the administrator credentials that is created in the target instance of SQL Server if Mixed mode authentication is enabled.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ForceServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet forces the SQL Server service to restart, if necessary, without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet prevents a restart of the SQL Server service without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies, as a string array, the name of an instance of SQL Server that becomes the target of the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter should be used when the ports of the target computer are not directly accessible but are exposed through endpoints, which means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Mode</maml:name>
            <maml:description>
                <maml:para>Specifies the authentication mode that will be configured on the target instance of SQL Server.</maml:para>
                <maml:para>The acceptable values for this parameter are:</maml:para>
                <maml:para>-- Normal
-- Integrated
-- Mixed
-- Unknown</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ServerLoginMode</command:parameterValue>
            <dev:type>
                <maml:name>ServerLoginMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>SqlCredential</maml:name>
            <maml:description>
                <maml:para>Specifies the administrator credentials that is created in the target instance of SQL Server if Mixed mode authentication is enabled.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ForceServiceRestart</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet forces the SQL Server service to restart, if necessary, without prompting the user.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoServiceRestart</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet prevents a restart of the SQL Server service without prompting the user.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of SQL Server, as an array, on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet defaults to the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ManagementPublicPort</maml:name>
            <maml:description>
                <maml:para>Specifies the public management port on the target computer. This parameter should be used when the ports of the target computer are not directly accessible but are exposed through endpoints, which means that this cmdlet needs to connect to a different port.</maml:para>
                <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>RetryTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server object, as an array, of the target instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            <dev:type>
                <maml:name>Server[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies, as a string array, the name of an instance of SQL Server that becomes the target of the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Configure the SQL Server authentication mode --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
PS SQLSERVER:\SQL\Computer\Instance&gt;Set-SqlAuthenticationMode -Credential $Credential -Mode Integrated -ForceServiceRestart -AcceptSelfSignedCertificate</dev:code>
            <dev:remarks>
                <maml:para>The first command changes directory to the SQL Server instance SQLSERVER:\SQL\Computer\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Configure the SQL Server authentication mode on all SQL Server instances --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlInstance -Credential $Credential -MachineName &quot;Computer005&quot; | Set-SqlAuthenticationMode -Credential $Credential -Mode Mixed -SqlCredential $sqlCredential -NoServiceRestart -AcceptSelfSignedCertificate</dev:code>
            <dev:remarks>
                <maml:para>This command gets all instances of SQL Server on the computer named Computer005 and configures the authentication mode to Mixed, with the provided SQL credentials for each one of them. The SQL Server service is not restarted automatically. The self-signed certificate of the target machine is automatically accepted without prompting the user.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SQLServer_Cmdlets</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Set-SqlAvailabilityGroup</command:name>
        <maml:description>
            <maml:para>Sets settings on an availability group.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Set</command:verb>
        <command:noun>SqlAvailabilityGroup</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Set-SqlAvailabilityGroup cmdlet modifies settings on an existing availability group in AlwaysOn Availability Groups. You can modify the automated backup preference, the failure condition level, and the health check timeout. You must run this cmdlet on the server instance that hosts the primary replica.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Set-SqlAvailabilityGroup</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomatedBackupPreference</maml:name>
                <maml:description>
                    <maml:para>Specifies the automated backup preference for the availability group. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Primary. Specifies that the backups always occur on the primary replica. This option supports the use of features not available when backup runs on a secondary replica, such as differential backups.
-- SecondaryOnly. Specifies that backups are never performed on primary replicas. If the primary replica is the only replica online, the backup does not occur.
-- Secondary. Specifies that backups occur on secondary replicas, unless the primary replica is the only replica online. Then the backup occurs on the primary replica.
-- None. Specifies that the primary or secondary status is not taken into account when deciding which replica performs backups. Instead, backup priority and online status determine which replica performs backups.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupAutomatedBackupPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FailureConditionLevel</maml:name>
                <maml:description>
                    <maml:para>Specifies the automatic failover behavior of the availability group. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- OnServerDown. Failover or restart if the SQL Server service stops.
-- OnServerUnresponsive. Failover or restart if any condition of lower value is satisfied, plus when the SQL Server service is connected to the cluster and the HealthCheckTimeout threshold is exceeded, or if the availability replica currently in primary role is in a failed state.
-- OnCriticalServerError. Failover or restart if any condition of lower value is satisfied, plus when an internal critical server error occurs, which include out of memory condition, serious write-access violation, or too much dumping.
-- OnModerateServerError. Failover or restart if any condition of lower value is satisfied, plus if a moderate Server error occurs, wich includes persistent out of memory condition.
-- OnAnyQualifiedFailureConditions. Failover or restart if any condition of lower value is satisfied, plus if a qualifying failure condition occurs, which includes engine worker thread exhaustion and unsolvable deadlock detected.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupFailureConditionLevel</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>HealthCheckTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the length of time, in milliseconds, after which AlwaysOn Availability Groups declares an unresponsive server to be unhealthy.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseHealthTrigger</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RequiredCopiesToCommit</maml:name>
                <maml:description>
                    <maml:para>The number of synchronous commit secondaries that must be available to be able to commit on the primary.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the availability database that cmdlet modifies. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlAvailabilityGroup</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomatedBackupPreference</maml:name>
                <maml:description>
                    <maml:para>Specifies the automated backup preference for the availability group. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Primary. Specifies that the backups always occur on the primary replica. This option supports the use of features not available when backup runs on a secondary replica, such as differential backups.
-- SecondaryOnly. Specifies that backups are never performed on primary replicas. If the primary replica is the only replica online, the backup does not occur.
-- Secondary. Specifies that backups occur on secondary replicas, unless the primary replica is the only replica online. Then the backup occurs on the primary replica.
-- None. Specifies that the primary or secondary status is not taken into account when deciding which replica performs backups. Instead, backup priority and online status determine which replica performs backups.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupAutomatedBackupPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FailureConditionLevel</maml:name>
                <maml:description>
                    <maml:para>Specifies the automatic failover behavior of the availability group. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- OnServerDown. Failover or restart if the SQL Server service stops.
-- OnServerUnresponsive. Failover or restart if any condition of lower value is satisfied, plus when the SQL Server service is connected to the cluster and the HealthCheckTimeout threshold is exceeded, or if the availability replica currently in primary role is in a failed state.
-- OnCriticalServerError. Failover or restart if any condition of lower value is satisfied, plus when an internal critical server error occurs, which include out of memory condition, serious write-access violation, or too much dumping.
-- OnModerateServerError. Failover or restart if any condition of lower value is satisfied, plus if a moderate Server error occurs, wich includes persistent out of memory condition.
-- OnAnyQualifiedFailureConditions. Failover or restart if any condition of lower value is satisfied, plus if a qualifying failure condition occurs, which includes engine worker thread exhaustion and unsolvable deadlock detected.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupFailureConditionLevel</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>HealthCheckTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the length of time, in milliseconds, after which AlwaysOn Availability Groups declares an unresponsive server to be unhealthy.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseHealthTrigger</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>RequiredCopiesToCommit</maml:name>
                <maml:description>
                    <maml:para>The number of synchronous commit secondaries that must be available to be able to commit on the primary.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the availability group, as an AvailabilityGroup object, that this cmdlet modifies.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroup</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AutomatedBackupPreference</maml:name>
            <maml:description>
                <maml:para>Specifies the automated backup preference for the availability group. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- Primary. Specifies that the backups always occur on the primary replica. This option supports the use of features not available when backup runs on a secondary replica, such as differential backups.
-- SecondaryOnly. Specifies that backups are never performed on primary replicas. If the primary replica is the only replica online, the backup does not occur.
-- Secondary. Specifies that backups occur on secondary replicas, unless the primary replica is the only replica online. Then the backup occurs on the primary replica.
-- None. Specifies that the primary or secondary status is not taken into account when deciding which replica performs backups. Instead, backup priority and online status determine which replica performs backups.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityGroupAutomatedBackupPreference</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroupAutomatedBackupPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>FailureConditionLevel</maml:name>
            <maml:description>
                <maml:para>Specifies the automatic failover behavior of the availability group. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- OnServerDown. Failover or restart if the SQL Server service stops.
-- OnServerUnresponsive. Failover or restart if any condition of lower value is satisfied, plus when the SQL Server service is connected to the cluster and the HealthCheckTimeout threshold is exceeded, or if the availability replica currently in primary role is in a failed state.
-- OnCriticalServerError. Failover or restart if any condition of lower value is satisfied, plus when an internal critical server error occurs, which include out of memory condition, serious write-access violation, or too much dumping.
-- OnModerateServerError. Failover or restart if any condition of lower value is satisfied, plus if a moderate Server error occurs, wich includes persistent out of memory condition.
-- OnAnyQualifiedFailureConditions. Failover or restart if any condition of lower value is satisfied, plus if a qualifying failure condition occurs, which includes engine worker thread exhaustion and unsolvable deadlock detected.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityGroupFailureConditionLevel</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroupFailureConditionLevel</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>HealthCheckTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the length of time, in milliseconds, after which AlwaysOn Availability Groups declares an unresponsive server to be unhealthy.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DatabaseHealthTrigger</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            <dev:type>
                <maml:name>Boolean</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>RequiredCopiesToCommit</maml:name>
            <maml:description>
                <maml:para>The number of synchronous commit secondaries that must be available to be able to commit on the primary.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>0</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the availability database that cmdlet modifies. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the availability group, as an AvailabilityGroup object, that this cmdlet modifies.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityGroup</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroup</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Change the health check timeout period --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlAvailabilityGroup -Path &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MAinAG&quot; -HealthCheckTimeout 120000</dev:code>
            <dev:remarks>
                <maml:para>This command changes the health check timeout property on the availability group named MainAG to 120,000 milliseconds, or two minutes. If automatic failover is enabled, after this length of time, AlwaysOn Availability Groups initiates an automatic failover will be initiated.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Change automated backup preference --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlAvailabilityGroup -Path &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MainAG&quot; -AutomatedBackupPreference SecondaryOnly</dev:code>
            <dev:remarks>
                <maml:para>This command changes the automated backup preference on the availability group named MainAG to be SecondaryOnly. Automated backups of databases in this availability group do not occur on the primary replica. Instead, automated backups occur on the secondary replica that has the highest backup priority.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Change the failure condition level --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlAvailabilityGroup -Path &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MainAG&quot; -FailureConditionLevel OnServerDown</dev:code>
            <dev:remarks>
                <maml:para>This command changes the failure condition level on the availability group named MainAG to be OnServerDown. If the server instance that hosts the primary replica goes offline and if automatic failover is enabled, AlwaysOn Availability Groups starts an automatic failover.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Join-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Switch-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Test-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Set-SqlAvailabilityGroupListener</command:name>
        <maml:description>
            <maml:para>Sets the port setting on an availability group listener.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Set</command:verb>
        <command:noun>SqlAvailabilityGroupListener</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Set-SqlAvailabilityGroupListener cmdlet modifies the port setting on an existing availability group listener. Run this cmdlet on the server instance that hosts the primary replica.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Set-SqlAvailabilityGroupListener</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Port</maml:name>
                <maml:description>
                    <maml:para>Specifies the port on which the listener listens for connections. The default port is TCP port 1433.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the availability group listener that this cmdlet modifies. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlAvailabilityGroupListener</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Port</maml:name>
                <maml:description>
                    <maml:para>Specifies the port on which the listener listens for connections. The default port is TCP port 1433.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the listener, as an AvailabilityGroupListener object, that this cmdlet modifies.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityGroupListener</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Port</maml:name>
            <maml:description>
                <maml:para>Specifies the port on which the listener listens for connections. The default port is TCP port 1433.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the availability group listener that this cmdlet modifies. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the listener, as an AvailabilityGroupListener object, that this cmdlet modifies.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityGroupListener</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroupListener</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Modify a listener for an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlAvailabilityGroupListener -Port 1535 -Path &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MainAG\AvailabilityGroupListeners\MainListener&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command sets the port number for the availability group listener named MainListener to be 1535. This port is used to listen for connections to the listener.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Create a script that modifies a listener --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlAvailabilityGroupListener -Port 1535 -Script -Path &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MainAG\AvailabilityGroupListeners\MainListener&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command generates the Transact-SQL script that sets the port number for the availability group listener named MainListener to 1535. This command does not make that change.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Add-SqlAvailabilityGroupListenerStaticIp</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityGroupListener</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Set-SqlAvailabilityReplica</command:name>
        <maml:description>
            <maml:para>Sets the settings on an availability replica.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Set</command:verb>
        <command:noun>SqlAvailabilityReplica</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Set-SqlAvailabilityReplica cmdlet sets or modifies a variety of properties for an availability replica. Run this cmdlet on the server instance that hosts the primary replica.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Set-SqlAvailabilityReplica</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AvailabilityMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the replica availability mode. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- SynchronousCommit
-- AsynchronousCommit</maml:para>
                    <maml:para>You can specify a value of $Null.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaAvailabilityMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FailoverMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the failover mode. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Automatic
-- Manual. You can specify a value of $Null.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaFailoverMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EndpointUrl</maml:name>
                <maml:description>
                    <maml:para>Specifies the URL of the database mirroring endpoint. This URL is a TCP address in the following form: </maml:para>
                    <maml:para>TCP://system-address:port</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SessionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the amount of time, in seconds, to wait for a response between the primary replica and this replica before the connection fails.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionModeInPrimaryRole</maml:name>
                <maml:description>
                    <maml:para>Specifies how the availability replica handles connections when in the primary role. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AllowReadWriteConnections. Allow read/write connections.
-- AllowAllConnections. Allow all connections.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInPrimaryRole</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionModeInSecondaryRole</maml:name>
                <maml:description>
                    <maml:para>Specifies how the availability replica handles connections when in the secondary role. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AllowNoConnections. Disallow connections.
-- AllowReadIntentConnectionsOnly. Allow only read-intent connections.
-- AllowAllConnections. Allow all connections.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInSecondaryRole</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SeedingMode</maml:name>
                <maml:description>
                    <maml:para>Specifies how the secondary replica will be initially seeded.
         
Allowed values:
- Automatic: Enables direct seeding. This method will seed the secondary replica over the network. This method does not require you to backup and restore a copy of the primary database on the replica.
- Manual: Specifies manual seeding. This method requires you to create a backup of the database on the primary replica and manually restore that backup on the secondary replica.
</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaSeedingMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupPriority</maml:name>
                <maml:description>
                    <maml:para>Specifies the desired priority of the replicas in performing backups. The acceptable values for this parameter are: integers from 0 through 100. Of the set of replicas which are online and available, the replica that has the highest priority performs the backup.</maml:para>
                    <maml:para>A value of zero (0) indicates that the replica is not a candidate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReadOnlyRoutingList</maml:name>
                <maml:description>
                    <maml:para>Specifies an ordered list of replica server names that represent the probe sequence for connection director to use when redirecting read-only connections through this availability replica. This parameter applies if the availability replica is the current primary replica of the availability group.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReadonlyRoutingConnectionUrl</maml:name>
                <maml:description>
                    <maml:para>Specifies the fully-qualified domain name (FQDN) and port to use when routing to the replica for read only connections, as in the following example: </maml:para>
                    <maml:para>TCP://DBSERVER8.manufacturing.Contoso.com:7024</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the availability group to which the replica belongs. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlAvailabilityReplica</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AvailabilityMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the replica availability mode. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- SynchronousCommit
-- AsynchronousCommit</maml:para>
                    <maml:para>You can specify a value of $Null.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaAvailabilityMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>FailoverMode</maml:name>
                <maml:description>
                    <maml:para>Specifies the failover mode. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Automatic
-- Manual. You can specify a value of $Null.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaFailoverMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EndpointUrl</maml:name>
                <maml:description>
                    <maml:para>Specifies the URL of the database mirroring endpoint. This URL is a TCP address in the following form: </maml:para>
                    <maml:para>TCP://system-address:port</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SessionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the amount of time, in seconds, to wait for a response between the primary replica and this replica before the connection fails.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionModeInPrimaryRole</maml:name>
                <maml:description>
                    <maml:para>Specifies how the availability replica handles connections when in the primary role. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AllowReadWriteConnections. Allow read/write connections.
-- AllowAllConnections. Allow all connections.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInPrimaryRole</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionModeInSecondaryRole</maml:name>
                <maml:description>
                    <maml:para>Specifies how the availability replica handles connections when in the secondary role. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- AllowNoConnections. Disallow connections.
-- AllowReadIntentConnectionsOnly. Allow only read-intent connections.
-- AllowAllConnections. Allow all connections.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInSecondaryRole</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SeedingMode</maml:name>
                <maml:description>
                    <maml:para>Specifies how the secondary replica will be initially seeded.
         
Allowed values:
- Automatic: Enables direct seeding. This method will seed the secondary replica over the network. This method does not require you to backup and restore a copy of the primary database on the replica.
- Manual: Specifies manual seeding. This method requires you to create a backup of the database on the primary replica and manually restore that backup on the secondary replica.
</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplicaSeedingMode</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupPriority</maml:name>
                <maml:description>
                    <maml:para>Specifies the desired priority of the replicas in performing backups. The acceptable values for this parameter are: integers from 0 through 100. Of the set of replicas which are online and available, the replica that has the highest priority performs the backup.</maml:para>
                    <maml:para>A value of zero (0) indicates that the replica is not a candidate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReadOnlyRoutingList</maml:name>
                <maml:description>
                    <maml:para>Specifies an ordered list of replica server names that represent the probe sequence for connection director to use when redirecting read-only connections through this availability replica. This parameter applies if the availability replica is the current primary replica of the availability group.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ReadonlyRoutingConnectionUrl</maml:name>
                <maml:description>
                    <maml:para>Specifies the fully-qualified domain name (FQDN) and port to use when routing to the replica for read only connections, as in the following example: </maml:para>
                    <maml:para>TCP://DBSERVER8.manufacturing.Contoso.com:7024</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the availability group, as an AvailabilityGroup object, to which the replica belongs.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">AvailabilityReplica</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AvailabilityMode</maml:name>
            <maml:description>
                <maml:para>Specifies the replica availability mode. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- SynchronousCommit
-- AsynchronousCommit</maml:para>
                <maml:para>You can specify a value of $Null.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityReplicaAvailabilityMode</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplicaAvailabilityMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>FailoverMode</maml:name>
            <maml:description>
                <maml:para>Specifies the failover mode. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- Automatic
-- Manual. You can specify a value of $Null.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityReplicaFailoverMode</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplicaFailoverMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EndpointUrl</maml:name>
            <maml:description>
                <maml:para>Specifies the URL of the database mirroring endpoint. This URL is a TCP address in the following form: </maml:para>
                <maml:para>TCP://system-address:port</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SessionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the amount of time, in seconds, to wait for a response between the primary replica and this replica before the connection fails.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionModeInPrimaryRole</maml:name>
            <maml:description>
                <maml:para>Specifies how the availability replica handles connections when in the primary role. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- AllowReadWriteConnections. Allow read/write connections.
-- AllowAllConnections. Allow all connections.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInPrimaryRole</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplicaConnectionModeInPrimaryRole</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionModeInSecondaryRole</maml:name>
            <maml:description>
                <maml:para>Specifies how the availability replica handles connections when in the secondary role. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- AllowNoConnections. Disallow connections.
-- AllowReadIntentConnectionsOnly. Allow only read-intent connections.
-- AllowAllConnections. Allow all connections.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityReplicaConnectionModeInSecondaryRole</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplicaConnectionModeInSecondaryRole</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SeedingMode</maml:name>
            <maml:description>
                <maml:para>Specifies how the secondary replica will be initially seeded.
         
Allowed values:
- Automatic: Enables direct seeding. This method will seed the secondary replica over the network. This method does not require you to backup and restore a copy of the primary database on the replica.
- Manual: Specifies manual seeding. This method requires you to create a backup of the database on the primary replica and manually restore that backup on the secondary replica.
</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityReplicaSeedingMode</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplicaSeedingMode</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BackupPriority</maml:name>
            <maml:description>
                <maml:para>Specifies the desired priority of the replicas in performing backups. The acceptable values for this parameter are: integers from 0 through 100. Of the set of replicas which are online and available, the replica that has the highest priority performs the backup.</maml:para>
                <maml:para>A value of zero (0) indicates that the replica is not a candidate.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ReadOnlyRoutingList</maml:name>
            <maml:description>
                <maml:para>Specifies an ordered list of replica server names that represent the probe sequence for connection director to use when redirecting read-only connections through this availability replica. This parameter applies if the availability replica is the current primary replica of the availability group.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ReadonlyRoutingConnectionUrl</maml:name>
            <maml:description>
                <maml:para>Specifies the fully-qualified domain name (FQDN) and port to use when routing to the replica for read only connections, as in the following example: </maml:para>
                <maml:para>TCP://DBSERVER8.manufacturing.Contoso.com:7024</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the availability group to which the replica belongs. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the availability group, as an AvailabilityGroup object, to which the replica belongs.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">AvailabilityReplica</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplica</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityReplica</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Modify a replica availability mode and automatic failover --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlAvailabilityReplica -AvailabilityMode &quot;SynchronousCommit&quot; -FailoverMode Automatic -Path &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MainAG\AvailabilityReplicas\Replica02&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command modifies the replica named Replica02 in the availability group named MainAG to use synchronous-commit availability mode and to support automatic failover.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Modify a replica to support forced manual failover --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlAvailabilityReplica -AvailabilityMode AsynchronousCommit -FailoverMode Manual -Path &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MainAG\AvailabilityReplicas\Replica02&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command modifies the replica named Replica02 in the availability group named MainAG to use asynchronous-commit availability mode and to support only forced manual failover, which could incur data loss.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Allow all connections in the secondary role --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlAvailabilityReplica -ConnectionModeInSecondaryRole AllowAllConnections -Path &quot;SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MainAG\AvailabilityReplicas\Replica02&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command modifies the replica &#39;Replica02&#39; in the availability group MainAG to allow all connections in the secondary role. This lets you offload read-only data processing workloads to secondary replicas.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Configure a primary replica and secondary replica for readonly routing --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-Location &quot;SQLSERVER:\SQL\PrimaryServer\default\AvailabilityGroups\MainAG&quot;
C:\PS&gt;$PrimaryReplica = Get-Item &quot;AvailabilityReplicas\PrimaryServer&quot;
C:\PS&gt;$SecondaryReplica = Get-Item &quot;AvailabilityReplicas\SecondaryServer&quot;
C:\PS&gt;Set-SqlAvailabilityReplica -ReadOnlyRoutingConnectionUrl &quot;TCP://PrimaryServer.domain.com:5022&quot; -InputObject $PrimaryReplica
C:\PS&gt;Set-SqlAvailabilityReplica -ReadOnlyRoutingConnectionUrl &quot;TCP://SecondaryServer.domain.com:5022&quot; -InputObject $SecondaryReplica
C:\PS&gt;Set-SqlAvailabilityReplica -ReadOnlyRoutingList &quot;SecondaryServer&quot;,&quot;PrimaryServer&quot; -InputObject $PrimaryReplica</dev:code>
            <dev:remarks>
                <maml:para>The first command changes location to a location in the SQLSERVER: provider.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para>The fourth command assigns a read-only routing URL to the primary replica. Then it sets the read-only routing list on the primary replica.</maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 5: Modify backup priority --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlAvailabilityReplica -BackupPriority 60 -Path &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAG\AvailabilityReplicas\Replica02&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command sets the backup priority of the availability replica &#39;Replica02&#39; to 60. This priority is used by the server instance that hosts the primary replica to decide which replica should service an automated backup request on a database in the availability group. The replica that has the highest priority is chosen.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Test-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Set-SqlAvailabilityReplicaRoleToSecondary</command:name>
        <maml:description>
            <maml:para>Sets the Availability Group replica role to secondary.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Set</command:verb>
        <command:noun>SqlAvailabilityReplicaRoleToSecondary</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>On the SQL Server that hostes the primary replica for the primary availability group, sets the replica role to SECONDARY.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Set-SqlAvailabilityReplicaRoleToSecondary</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the Availability Group to which the replica belongs. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet. Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlAvailabilityReplicaRoleToSecondary</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the availability group, as an AvailabilityGroup object, that this cmdlet modifies.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet. Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the Availability Group to which the replica belongs. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet. Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the availability group, as an AvailabilityGroup object, that this cmdlet modifies.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroup[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
<maml:para />
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
<maml:para />
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- EXAMPLE 1: Shows how to set an availability group primary replica to SECONDARY role --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; CD &apos;SQLSERVER:\SQL\MYSERVER\MYINSTANCE\AvailabilityGroups\AG1&apos;
PS SQLSERVER:\SQL\MYSERVER\MYINSTANCE\AvailabilityGroups\AG1&gt; Set-SqlAvailabilityReplicaRoleToSecondary
     
     
     
</dev:code>
            <dev:remarks>
                <maml:para>This examples show how to set the primary replica of availability group &#39;AG1&#39; on server &#39;MYSERVER&#39; (instance = &#39;MYINSTANCE&#39;) to SECONDARY role. The name of the availability is inferred from the context, i.e. the current location.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Set-SqlColumnEncryption</command:name>
        <maml:description>
            <maml:para>Encrypts, decrypts, or re-encrypts specified columns in the database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Set</command:verb>
        <command:noun>SqlColumnEncryption</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Set-SqlColumnEncryption cmdlet encrypts, decrypts, or re-encrypts specified database columns using the Always Encrypted feature. The cmdlet accepts an array of SqlColumnEncryptionSettings objects, each of which specifies the target encryption configuration for one column in the database. The cmdlet will encrypt, decrypt, or re-encrypt each specified column, depending on what the current encryption configuration of the column is and the specified target encryption settings.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Set-SqlColumnEncryption</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnEncryptionSettings</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of SqlColumnEncryptionSettings objects, each of which specifies the target encryption configuration for one column in the database.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">SqlColumnEncryptionSettings[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UseOnlineApproach</maml:name>
                <maml:description>
                    <maml:para>If set, the cmdlet will use the online approach, to ensure the database is available to other applications for both reads and writes for most of the duration of the operation. </maml:para>
                    <maml:para>Otherwise, the cmdlet will lock the impacted tables, making them unavailable for updates for the entire operation. The tables will be available for reads.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>KeepCheckForeignKeyConstraints</maml:name>
                <maml:description>
                    <maml:para>If set, check semantics (CHECK or NOCHECK) of foreign key constraints are preserved.</maml:para>
                    <maml:para>Otherwise, if not set, and if UseOnlineApproach is not set, foreign key constraints are always recreated with the NOCHECK option to minimize the impact on applications.</maml:para>
                    <maml:para>KeepCheckForeignKeyConstraints is valid only when UseOnlineApproach is set. Note: with the offline approach, the semantics of foreign key constraints is always preserved.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxDowntimeInSeconds</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum time (in seconds), during which the source table will not be available for reads and writes. Valid only if UseOnlineApproach is set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxIterationDurationInDays</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum time (in days) of seeding or a single catch-up iteration. If seeding or any catch-up iteration takes more than the specified value, the cmdlet aborts the operation and re-creates the original state of the database. Valid only if UseOnlineApproach is set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxDivergingIterations</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of consecutive catch-up iterations, where the number of processed rows increases. When this limit is reached, the cmdlet assumes that it will not be able to catch up with the changes made in the source table, and it aborts the operation and re-creates the original state of the database. Valid only if UseOnlineApproach is set. Must be less than the value of MaxIterations.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxIterations</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of iterations in the catch-up phase. When this limit is reached, the cmdlet aborts the operation and recreates the original state of the database. Valid only if UseOnlineApproach is set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LogFileDirectory</maml:name>
                <maml:description>
                    <maml:para>If set, the cmdlet will create a log file in the specified directory.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the SQL database object, for which this cmdlet runs the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlColumnEncryption</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ColumnEncryptionSettings</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of SqlColumnEncryptionSettings objects, each of which specifies the target encryption configuration for one column in the database.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">SqlColumnEncryptionSettings[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>UseOnlineApproach</maml:name>
                <maml:description>
                    <maml:para>If set, the cmdlet will use the online approach, to ensure the database is available to other applications for both reads and writes for most of the duration of the operation. </maml:para>
                    <maml:para>Otherwise, the cmdlet will lock the impacted tables, making them unavailable for updates for the entire operation. The tables will be available for reads.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>KeepCheckForeignKeyConstraints</maml:name>
                <maml:description>
                    <maml:para>If set, check semantics (CHECK or NOCHECK) of foreign key constraints are preserved.</maml:para>
                    <maml:para>Otherwise, if not set, and if UseOnlineApproach is not set, foreign key constraints are always recreated with the NOCHECK option to minimize the impact on applications.</maml:para>
                    <maml:para>KeepCheckForeignKeyConstraints is valid only when UseOnlineApproach is set. Note: with the offline approach, the semantics of foreign key constraints is always preserved.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxDowntimeInSeconds</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum time (in seconds), during which the source table will not be available for reads and writes. Valid only if UseOnlineApproach is set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxIterationDurationInDays</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum time (in days) of seeding or a single catch-up iteration. If seeding or any catch-up iteration takes more than the specified value, the cmdlet aborts the operation and re-creates the original state of the database. Valid only if UseOnlineApproach is set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxDivergingIterations</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of consecutive catch-up iterations, where the number of processed rows increases. When this limit is reached, the cmdlet assumes that it will not be able to catch up with the changes made in the source table, and it aborts the operation and re-creates the original state of the database. Valid only if UseOnlineApproach is set. Must be less than the value of MaxIterations.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxIterations</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of iterations in the catch-up phase. When this limit is reached, the cmdlet aborts the operation and recreates the original state of the database. Valid only if UseOnlineApproach is set.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>LogFileDirectory</maml:name>
                <maml:description>
                    <maml:para>If set, the cmdlet will create a log file in the specified directory.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ColumnEncryptionSettings</maml:name>
            <maml:description>
                <maml:para>Specifies an array of SqlColumnEncryptionSettings objects, each of which specifies the target encryption configuration for one column in the database.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">SqlColumnEncryptionSettings[]</command:parameterValue>
            <dev:type>
                <maml:name>SqlColumnEncryptionSettings[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>UseOnlineApproach</maml:name>
            <maml:description>
                <maml:para>If set, the cmdlet will use the online approach, to ensure the database is available to other applications for both reads and writes for most of the duration of the operation. </maml:para>
                <maml:para>Otherwise, the cmdlet will lock the impacted tables, making them unavailable for updates for the entire operation. The tables will be available for reads.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>KeepCheckForeignKeyConstraints</maml:name>
            <maml:description>
                <maml:para>If set, check semantics (CHECK or NOCHECK) of foreign key constraints are preserved.</maml:para>
                <maml:para>Otherwise, if not set, and if UseOnlineApproach is not set, foreign key constraints are always recreated with the NOCHECK option to minimize the impact on applications.</maml:para>
                <maml:para>KeepCheckForeignKeyConstraints is valid only when UseOnlineApproach is set. Note: with the offline approach, the semantics of foreign key constraints is always preserved.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MaxDowntimeInSeconds</maml:name>
            <maml:description>
                <maml:para>Specifies the maximum time (in seconds), during which the source table will not be available for reads and writes. Valid only if UseOnlineApproach is set.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>1800</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MaxIterationDurationInDays</maml:name>
            <maml:description>
                <maml:para>Specifies the maximum time (in days) of seeding or a single catch-up iteration. If seeding or any catch-up iteration takes more than the specified value, the cmdlet aborts the operation and re-creates the original state of the database. Valid only if UseOnlineApproach is set.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>3</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MaxDivergingIterations</maml:name>
            <maml:description>
                <maml:para>Specifies the maximum number of consecutive catch-up iterations, where the number of processed rows increases. When this limit is reached, the cmdlet assumes that it will not be able to catch up with the changes made in the source table, and it aborts the operation and re-creates the original state of the database. Valid only if UseOnlineApproach is set. Must be less than the value of MaxIterations.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>5</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MaxIterations</maml:name>
            <maml:description>
                <maml:para>Specifies the maximum number of iterations in the catch-up phase. When this limit is reached, the cmdlet aborts the operation and recreates the original state of the database. Valid only if UseOnlineApproach is set.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>100</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>LogFileDirectory</maml:name>
            <maml:description>
                <maml:para>If set, the cmdlet will create a log file in the specified directory.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL database object, for which this cmdlet runs the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
            <dev:type>
                <maml:name>Database</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL database, for which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Apply target encryption settings to multiple columns using the offline approach. --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $Ces = @()
PS C:\&gt; $Ces += New-SqlColumnEncryptionSettings -ColumnName dbo.Student.Id -EncryptionType Deterministic -EncryptionKey MyCek
PS C:\&gt; $Ces += New-SqlColumnEncryptionSettings -ColumnName dbo.Student.LastName -EncryptionType Randomized -EncryptionKey MyCek
PS C:\&gt; $Ces += New-SqlColumnEncryptionSettings -ColumnName dbo.Student.FirstName -EncryptionType Plaintext
PS C:\&gt; Set-SqlColumnEncryption -ColumnEncryptionSettings $Ces -LogFileDirectory .</dev:code>
            <dev:remarks>
                <maml:para>This example applies the target encryption settings to three database columns. As a result, the dbo.Student.Id column is encrypted using deterministic encryption and the column encryption key, named MyCEK. The dbo.Student.LastName column is encrypted using randomized encryption and the column encryption key, named MyCEK. The dbo.StudentFirstName column is not encrypted (if the column is initially encrypted, it gets decrypted).
     
The example uses the offline approach, which means the Student table will remain unavailable for updates throughout the operation.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Apply target encryption settings to multiple columns using the online approach. --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt; $Ces = @()
PS C:\&gt; $Ces += New-SqlColumnEncryptionSettings -ColumnName dbo.Student.Id -EncryptionType Deterministic -EncryptionKey MyCek
PS C:\&gt; $Ces += New-SqlColumnEncryptionSettings -ColumnName dbo.Student.LastName -EncryptionType Randomized -EncryptionKey MyCek
PS C:\&gt; $Ces += New-SqlColumnEncryptionSettings -ColumnName dbo.Student.FirstName -EncryptionType Plaintext
PS C:\&gt; Set-SqlColumnEncryption -ColumnEncryptionSettings $Ces -UseOnlineApproach -MaxDowntimeInSeconds 30 -LogFileDirectory .</dev:code>
            <dev:remarks>
                <maml:para>This example applies the target encryption settings to three database columns using the online approach, which means the Student table will be unavailable for reads and writes for up to 30 seconds (the value specified using the MaxDowntimeInSeconds parameter.)</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SQLServer_Cmdlets</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Set-SqlCredential</command:name>
        <maml:description>
            <maml:para>Sets the properties for the SQL Credential object.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Set</command:verb>
        <command:noun>SqlCredential</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Set-SqlCredential cmdlet sets the Identity and password properties for a SQL Credential object using this cmdlet. This cmdlet supports the two following modes of operation:</maml:para>
        <maml:para>-- Specify the path or location of the credential including the credential name that uses the Path parameter.
-- Pass a Smo.Credential object to the object that uses the InputObject parameter.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Set-SqlCredential</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Identity</maml:name>
                <maml:description>
                    <maml:para>Specifies the user or account name for the resource SQL Server needs to authenticate to. For Windows Azure storage service, this is the name of the Windows Azure storage account.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
                <maml:name>Secret</maml:name>
                <maml:description>
                    <maml:para>Specifies the password for the user or account. For Windows Azure storage service, this is the access key value for the Windows Azure storage account.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the credential on which this cmdlet performs this operation. For instance, SQLSERVER:\SQL\Computer\Instance\Credentials\Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlCredential</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
                <maml:name>Identity</maml:name>
                <maml:description>
                    <maml:para>Specifies the user or account name for the resource SQL Server needs to authenticate to. For Windows Azure storage service, this is the name of the Windows Azure storage account.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
                <maml:name>Secret</maml:name>
                <maml:description>
                    <maml:para>Specifies the password for the user or account. For Windows Azure storage service, this is the access key value for the Windows Azure storage account.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an input Credential object. To get this object, use the Get-SqlCredential cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Credential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
            <maml:name>Identity</maml:name>
            <maml:description>
                <maml:para>Specifies the user or account name for the resource SQL Server needs to authenticate to. For Windows Azure storage service, this is the name of the Windows Azure storage account.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
            <maml:name>Secret</maml:name>
            <maml:description>
                <maml:para>Specifies the password for the user or account. For Windows Azure storage service, this is the access key value for the Windows Azure storage account.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
            <dev:type>
                <maml:name>SecureString</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the credential on which this cmdlet performs this operation. For instance, SQLSERVER:\SQL\Computer\Instance\Credentials\Credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an input Credential object. To get this object, use the Get-SqlCredential cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Credential</command:parameterValue>
            <dev:type>
                <maml:name>Credential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Set the identity of a SQL credential object --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlCredential -Path SQLSERVER:\SQL\Computer\Instance\Credentials\MySqlCredential -Identity &quot;MyStorageAccount&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command sets the identity of MySqlCredential to MyStorageAccount by specifying the path of the SQL Credential.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Set the identity of a SQL credential object using the pipeline --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$Cred = Get-SqlCredential -Name &quot;MySqlCredential&quot;
PS C:\&gt; $Cred | Set-SqlCredential -Identity &quot;MyStorageAccount&quot;</dev:code>
            <dev:remarks>
                <maml:para>The first command gets the credential object from the Get-Credential cmdlet and stores the result in the variable named $Cred.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Set the identity of a SQL credential object prompting the user --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$Secret = Read-Host &quot;Please enter the storage account access key&quot;
PS C:\&gt; Set-SqlCredential -Identity &quot;MyStorageAccount&quot; -Secret $Secret</dev:code>
            <dev:remarks>
                <maml:para>The first command prompts for the storage access key information and stores the result in the variable named $Secret.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlCredential</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Set-SqlErrorLog</command:name>
        <maml:description>
            <maml:para>Sets or resets the maximum number of error log files before they are recycled.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Set</command:verb>
        <command:noun>SqlErrorLog</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Set-SqlErrorLog cmdlet sets or resets the maximum number of error log files before they are recycled.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation to set logs:</maml:para>
        <maml:para>-- Pass the instance of the SQL Server.
-- Specify the Path parameter of the SQL Server instance.
-- Invoke the cmdlet in a valid context.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Set-SqlErrorLog</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxLogCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of error log files. If the value is not specified, the cmdlet resets the value to the default.</maml:para>
                    <maml:para>The allowed range of values are between 6 and 99.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">UInt16</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlErrorLog</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies, as a string array, the name of an instance of SQL Server. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxLogCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of error log files. If the value is not specified, the cmdlet resets the value to the default.</maml:para>
                    <maml:para>The allowed range of values are between 6 and 99.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">UInt16</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlErrorLog</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MaxLogCount</maml:name>
                <maml:description>
                    <maml:para>Specifies the maximum number of error log files. If the value is not specified, the cmdlet resets the value to the default.</maml:para>
                    <maml:para>The allowed range of values are between 6 and 99.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">UInt16</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the server object of the target instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MaxLogCount</maml:name>
            <maml:description>
                <maml:para>Specifies the maximum number of error log files. If the value is not specified, the cmdlet resets the value to the default.</maml:para>
                <maml:para>The allowed range of values are between 6 and 99.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">UInt16</command:parameterValue>
            <dev:type>
                <maml:name>UInt16</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies, as a string array, the name of an instance of SQL Server. For default instances, only specify the computer name: MyComputer. For named instances, use the format ComputerName\InstanceName.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object used to specify the credentials for a SQL Server login that has permission to perform this operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the server object of the target instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Server</command:parameterValue>
            <dev:type>
                <maml:name>Server</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>If the value on the server is already set to the value specified, this cmdlet does not do anything.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Set the maximum number or error logs --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlErrorLog -ServerInstance &quot;MyServer\MyInstance&quot; -MaxLogCount 11 | Out-Null</dev:code>
            <dev:remarks>
                <maml:para>This command sets the maximum number of error log files to 11.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Return the TSQL script code to set the maximum number or error logs --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlErrorLog -ServerInstance &quot;MyServer\MyInstance&quot; -MaxLogCount 11 -Script
USE [master]
GO
EXEC xp_instance_regwrite N&apos;HKEY_LOCAL_MACHINE&apos;, N&apos;Software\Microsoft\MSSQLServer\MSSQLServer&apos;, N&apos;NumErrorLogs&apos;, REG_DWORD, 10
GO</dev:code>
            <dev:remarks>
                <maml:para>This command returns the T-SQL script code, as a string array, that is needed to set the maximum number of error log files to 11.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlErrorLog</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Set-SqlHADREndpoint</command:name>
        <maml:description>
            <maml:para>Sets the properties of a database mirroring endpoint.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Set</command:verb>
        <command:noun>SqlHADREndpoint</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Set-SqlHADREndpoint cmdlet changes the properties of a database mirroring endpoint.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Set-SqlHADREndpoint</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Owner</maml:name>
                <maml:description>
                    <maml:para>Specifies the owner of the endpoint.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Certificate</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the certificate the endpoint will use to authenticate connections. The far endpoint must have a certificate with the public key matching the private key of the specified certificate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>IpAddress</maml:name>
                <maml:description>
                    <maml:para>Specifies the IP address on which the endpoint will listen.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">IPAddress</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AuthenticationOrder</maml:name>
                <maml:description>
                    <maml:para>Specifies the order and type of authentication that is used by the endpoint. . If the specified option calls for a certificate, the Certificate parameter must be set unless a certificate is already associated with the endpoint. Valid values are: </maml:para>
                    <maml:para>-- Certificate
-- CertificateKerberos
-- CertificateNegotiate
-- CertificateNtlm
-- Kerberos
-- KerberosCertificate
-- Negotiate
-- NegotiateCertificate
-- Ntlm
-- NtlmCertificate</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointAuthenticationOrder</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Encryption</maml:name>
                <maml:description>
                    <maml:para>Specifies the endpoint encryption setting. Valid values are: </maml:para>
                    <maml:para>-- Disabled
-- Supported
-- Required</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointEncryption</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptionAlgorithm</maml:name>
                <maml:description>
                    <maml:para>Specifies the form of encryption used by the endpoint. Valid values are: </maml:para>
                    <maml:para>-- Aes
-- AesRC4
-- None
-- RC4
-- RC4Aes</maml:para>
                    <maml:para>NOTE: The RC4 algorithm is only supported for backward compatibility. New material can only be encrypted using RC4 or RC4_128 when the database is in compatibility level 90 or 100, but this is not recommended. For improved security, use a newer algorithm such as one of the AES algorithms instead.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointEncryptionAlgorithm</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Port</maml:name>
                <maml:description>
                    <maml:para>Specifies the TCP port number used by the endpoint to listen for connections.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>State</maml:name>
                <maml:description>
                    <maml:para>Specifies the state of the endpoint. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Started
-- Stopped
-- Disabled</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointState</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the database mirroring endpoint. This is an optional parameter. If not specified, the current working location is used.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlHADREndpoint</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Owner</maml:name>
                <maml:description>
                    <maml:para>Specifies the owner of the endpoint.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Certificate</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the certificate the endpoint will use to authenticate connections. The far endpoint must have a certificate with the public key matching the private key of the specified certificate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>IpAddress</maml:name>
                <maml:description>
                    <maml:para>Specifies the IP address on which the endpoint will listen.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">IPAddress</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AuthenticationOrder</maml:name>
                <maml:description>
                    <maml:para>Specifies the order and type of authentication that is used by the endpoint. . If the specified option calls for a certificate, the Certificate parameter must be set unless a certificate is already associated with the endpoint. Valid values are: </maml:para>
                    <maml:para>-- Certificate
-- CertificateKerberos
-- CertificateNegotiate
-- CertificateNtlm
-- Kerberos
-- KerberosCertificate
-- Negotiate
-- NegotiateCertificate
-- Ntlm
-- NtlmCertificate</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointAuthenticationOrder</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Encryption</maml:name>
                <maml:description>
                    <maml:para>Specifies the endpoint encryption setting. Valid values are: </maml:para>
                    <maml:para>-- Disabled
-- Supported
-- Required</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointEncryption</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptionAlgorithm</maml:name>
                <maml:description>
                    <maml:para>Specifies the form of encryption used by the endpoint. Valid values are: </maml:para>
                    <maml:para>-- Aes
-- AesRC4
-- None
-- RC4
-- RC4Aes</maml:para>
                    <maml:para>NOTE: The RC4 algorithm is only supported for backward compatibility. New material can only be encrypted using RC4 or RC4_128 when the database is in compatibility level 90 or 100, but this is not recommended. For improved security, use a newer algorithm such as one of the AES algorithms instead.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointEncryptionAlgorithm</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Port</maml:name>
                <maml:description>
                    <maml:para>Specifies the TCP port number used by the endpoint to listen for connections.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>State</maml:name>
                <maml:description>
                    <maml:para>Specifies the state of the endpoint. The acceptable values for this parameter are:</maml:para>
                    <maml:para>-- Started
-- Stopped
-- Disabled</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">EndpointState</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the endpoint that to modify. This must be a database mirroring endpoint.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Endpoint</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the task.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Owner</maml:name>
            <maml:description>
                <maml:para>Specifies the owner of the endpoint.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Certificate</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the certificate the endpoint will use to authenticate connections. The far endpoint must have a certificate with the public key matching the private key of the specified certificate.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>IpAddress</maml:name>
            <maml:description>
                <maml:para>Specifies the IP address on which the endpoint will listen.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">IPAddress</command:parameterValue>
            <dev:type>
                <maml:name>IPAddress</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AuthenticationOrder</maml:name>
            <maml:description>
                <maml:para>Specifies the order and type of authentication that is used by the endpoint. . If the specified option calls for a certificate, the Certificate parameter must be set unless a certificate is already associated with the endpoint. Valid values are: </maml:para>
                <maml:para>-- Certificate
-- CertificateKerberos
-- CertificateNegotiate
-- CertificateNtlm
-- Kerberos
-- KerberosCertificate
-- Negotiate
-- NegotiateCertificate
-- Ntlm
-- NtlmCertificate</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">EndpointAuthenticationOrder</command:parameterValue>
            <dev:type>
                <maml:name>EndpointAuthenticationOrder</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Encryption</maml:name>
            <maml:description>
                <maml:para>Specifies the endpoint encryption setting. Valid values are: </maml:para>
                <maml:para>-- Disabled
-- Supported
-- Required</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">EndpointEncryption</command:parameterValue>
            <dev:type>
                <maml:name>EndpointEncryption</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EncryptionAlgorithm</maml:name>
            <maml:description>
                <maml:para>Specifies the form of encryption used by the endpoint. Valid values are: </maml:para>
                <maml:para>-- Aes
-- AesRC4
-- None
-- RC4
-- RC4Aes</maml:para>
                <maml:para>NOTE: The RC4 algorithm is only supported for backward compatibility. New material can only be encrypted using RC4 or RC4_128 when the database is in compatibility level 90 or 100, but this is not recommended. For improved security, use a newer algorithm such as one of the AES algorithms instead.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">EndpointEncryptionAlgorithm</command:parameterValue>
            <dev:type>
                <maml:name>EndpointEncryptionAlgorithm</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Port</maml:name>
            <maml:description>
                <maml:para>Specifies the TCP port number used by the endpoint to listen for connections.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>State</maml:name>
            <maml:description>
                <maml:para>Specifies the state of the endpoint. The acceptable values for this parameter are:</maml:para>
                <maml:para>-- Started
-- Stopped
-- Disabled</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">EndpointState</command:parameterValue>
            <dev:type>
                <maml:name>EndpointState</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the database mirroring endpoint. This is an optional parameter. If not specified, the current working location is used.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet outputs a Transact-SQL script that performs the task.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the endpoint that to modify. This must be a database mirroring endpoint.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Endpoint</command:parameterValue>
            <dev:type>
                <maml:name>Endpoint</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>SMO.Endpoint</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>SMO.Endpoint</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Set the port number of a database mirroring endpoint --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlHADREndpoint -Path &quot;SQLSERVER:\Sql\Computer\Instance\Endpoints\MainDbmEndpoint&quot; -Port 5050</dev:code>
            <dev:remarks>
                <maml:para>This command sets the port number of the database mirroring endpoint named MainDbmEndpoint to 5050 on the server instance named Computer\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Start a database mirroring endpoint --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Set-SqlHADREndpoint -Path &quot;SQLSERVER:\Sql\Computer\Instance\Endpoints\MainDbmEndpoint&quot; -State Started</dev:code>
            <dev:remarks>
                <maml:para>This command starts the database mirroring endpoint named MainDbmEndpoint on the server instance Computer\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlHADREndpoint</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Set-SqlNetworkConfiguration</command:name>
        <maml:description>
            <maml:para>Sets the network configuration of the target instance of SQL Server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Set</command:verb>
        <command:noun>SqlNetworkConfiguration</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Set-SqlNetworkConfiguration cmdlet sets the network configuration of the target instance of SQL Server.</maml:para>
        <maml:para>SQL Server Cloud Adapter must be running and accessible on the machine that hosts the instance of SQL Server.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation:</maml:para>
        <maml:para>-- Specify the instance of the Windows PowerShell path.
-- Specify the server object.
-- Specify the ServerInstance object of the target instance of SQL Server.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Set-SqlNetworkConfiguration</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Protocol</maml:name>
                <maml:description>
                    <maml:para>Specifies the network protocol that we want to configure on the target instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SetSqlNetworkConfigurationCommand+Protocols</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>Port</maml:name>
                <maml:description>
                    <maml:para>Specifies the port to accept TCP connections. To configure dynamic ports, this parameter should be set to zero.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Disable</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet disables the specified network protocol on the target instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ForceServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet forces the SQL Server service to restart, if necessary, without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet prevents a restart of the SQL Server service without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path, as an array, to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlNetworkConfiguration</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Protocol</maml:name>
                <maml:description>
                    <maml:para>Specifies the network protocol that we want to configure on the target instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SetSqlNetworkConfigurationCommand+Protocols</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>Port</maml:name>
                <maml:description>
                    <maml:para>Specifies the port to accept TCP connections. To configure dynamic ports, this parameter should be set to zero.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Disable</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet disables the specified network protocol on the target instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ForceServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet forces the SQL Server service to restart, if necessary, without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet prevents a restart of the SQL Server service without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of server objects of the target instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlNetworkConfiguration</maml:name>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Protocol</maml:name>
                <maml:description>
                    <maml:para>Specifies the network protocol that we want to configure on the target instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SetSqlNetworkConfigurationCommand+Protocols</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
                <maml:name>Port</maml:name>
                <maml:description>
                    <maml:para>Specifies the port to accept TCP connections. To configure dynamic ports, this parameter should be set to zero.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Disable</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet disables the specified network protocol on the target instance of SQL Server.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ForceServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet forces the SQL Server service to restart, if necessary, without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoServiceRestart</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet prevents a restart of the SQL Server service without prompting the user.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance, as an array, of SQL Server that becomes the target of the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Protocol</maml:name>
            <maml:description>
                <maml:para>Specifies the network protocol that we want to configure on the target instance of SQL Server.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SetSqlNetworkConfigurationCommand+Protocols</command:parameterValue>
            <dev:type>
                <maml:name>SetSqlNetworkConfigurationCommand+Protocols</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2">
            <maml:name>Port</maml:name>
            <maml:description>
                <maml:para>Specifies the port to accept TCP connections. To configure dynamic ports, this parameter should be set to zero.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Disable</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet disables the specified network protocol on the target instance of SQL Server.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ForceServiceRestart</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet forces the SQL Server service to restart, if necessary, without prompting the user.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoServiceRestart</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet prevents a restart of the SQL Server service without prompting the user.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path, as an array, to the instance of SQL Server on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ManagementPublicPort</maml:name>
            <maml:description>
                <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>RetryTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an array of server objects of the target instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            <dev:type>
                <maml:name>Server[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance, as an array, of SQL Server that becomes the target of the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Set the network configuration of the target SQL Server --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
PS SQLSERVER:\SQL\Computer\Instance&gt; Set-SqlNetworkConfiguration -Credential $credential -Protocol TCP -Port 1433-NoServiceRestart -AcceptSelfSignedCertificate;</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the directory to SQLSERVER:\SQL\Computer\Instance. The second command sets the network configuration to accept TCP connections at port 1433 for the server instance named Computer\Instance. The current working directory is used to determine the server instance where the operation occurs. The SQL Server service is not restarted automatically. The self-signed certificate of the target machine is automatically accepted without prompting the user.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Set the network configuration of the target SQL Server using the pipeline --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlInstance -Credential $Credential -MachineName &quot;Computer006&quot; | Set-SqlNetworkConfiguration -Credential $Credential -Protocol TCP -Disable -NoServiceRestart -AcceptSelfSignedCertificate;</dev:code>
            <dev:remarks>
                <maml:para>This command gets all instances of SQL Server on the computer named Computer006 and disables TCP connections for each one of them. The SQL Server service is not restarted automatically. The self-signed certificate of the target machine is automatically accepted without prompting the user.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>SQLServer_Cmdlets</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Set-SqlSmartAdmin</command:name>
        <maml:description>
            <maml:para>Configures or modifies backup retention and storage settings.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Set</command:verb>
        <command:noun>SqlSmartAdmin</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Set-SqlSmartAdmin cmdlet configures or modifies the BackupEnabled, BackupRetentionPeriodinDays, MasterSwitch, and SqlCredential parameter settings. This cmdlet can be run for only instance level configurations and not for a specific database.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation to return the object: </maml:para>
        <maml:para>-- Pass a Smo.Server object to the InputObject parameter, either directly or through the pipeline.
-- Pass the path of the instance of SQL Server to the Path parameter</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Set-SqlSmartAdmin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies the SqlCredential object that is used to authenticate to the Windows Azure storage account.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MasterSwitch</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet pauses or restarts all services under Smart Admin including SQL Server Managed Backup to Windows Azure.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupEnabled</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet enables SQL Server Managed Backup to Windows Azure.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupRetentionPeriodInDays</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of days the backup files should be retained. This determines the timeframe of the recoverability for the databases. For instance, if you set the value for 30 days, you can recover a database to a point in time in the last 30 days.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the encryption options.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupEncryptionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that this cmdlet modifies.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of SQL Server. If you do not specify a value for this parameter, the cmdlet uses the current working directory. This is useful when you create scripts to manage multiple instances.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Set-SqlSmartAdmin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SqlCredential</maml:name>
                <maml:description>
                    <maml:para>Specifies the SqlCredential object that is used to authenticate to the Windows Azure storage account.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>MasterSwitch</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet pauses or restarts all services under Smart Admin including SQL Server Managed Backup to Windows Azure.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupEnabled</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet enables SQL Server Managed Backup to Windows Azure.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>BackupRetentionPeriodInDays</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of days the backup files should be retained. This determines the timeframe of the recoverability for the databases. For instance, if you set the value for 30 days, you can recover a database to a point in time in the last 30 days.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>EncryptionOption</maml:name>
                <maml:description>
                    <maml:para>Specifies the encryption options.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">BackupEncryptionOptions</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that this cmdlet modifies.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies the Smo Smart Admin object. You can use the Get-SqlSmartAdmin cmdlet to get this object.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">SmartAdmin</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SqlCredential</maml:name>
            <maml:description>
                <maml:para>Specifies the SqlCredential object that is used to authenticate to the Windows Azure storage account.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            <dev:type>
                <maml:name>PSObject</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>MasterSwitch</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet pauses or restarts all services under Smart Admin including SQL Server Managed Backup to Windows Azure.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            <dev:type>
                <maml:name>Boolean</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BackupEnabled</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet enables SQL Server Managed Backup to Windows Azure.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue>
            <dev:type>
                <maml:name>Boolean</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>BackupRetentionPeriodInDays</maml:name>
            <maml:description>
                <maml:para>Specifies the number of days the backup files should be retained. This determines the timeframe of the recoverability for the databases. For instance, if you set the value for 30 days, you can recover a database to a point in time in the last 30 days.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>EncryptionOption</maml:name>
            <maml:description>
                <maml:para>Specifies the encryption options.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">BackupEncryptionOptions</command:parameterValue>
            <dev:type>
                <maml:name>BackupEncryptionOptions</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DatabaseName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the database that this cmdlet modifies.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of SQL Server. If you do not specify a value for this parameter, the cmdlet uses the current working directory. This is useful when you create scripts to manage multiple instances.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies the Smo Smart Admin object. You can use the Get-SqlSmartAdmin cmdlet to get this object.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">SmartAdmin</command:parameterValue>
            <dev:type>
                <maml:name>SmartAdmin</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Configure backup retention and storage settings --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$EncryptionOption = New-SqlBackupEncryptionOption -EncryptionAlgorithm Aes128 -EncryptorType ServerCertificate -EncryptorName &quot;MyBackupCert&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command configures backup retention for storage settings that uses the encryptor named MyBackupCert and stores the result in the variable named $EncryptionOption.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlSmartAdmin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Start-SqlInstance</command:name>
        <maml:description>
            <maml:para>Starts the specified instance of SQL Server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Start</command:verb>
        <command:noun>SqlInstance</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Start-SqlInstance cmdlet starts the specified instance of SQL Server.</maml:para>
        <maml:para>SQL Server Cloud Adapter must be running and accessible on the computer that hosts the instance of SQL Server.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation:</maml:para>
        <maml:para>-- Specify the instance to the Windows PowerShell path.
-- Specify the server object.
-- Specify the ServerInstance object of the target instance of SQL Server.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Start-SqlInstance</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of SQL Server, as a string array, on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Start-SqlInstance</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of server objects of the target instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Start-SqlInstance</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies, as a string array, the name of an instance of SQL Server that becomes the target of the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of SQL Server, as a string array, on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ManagementPublicPort</maml:name>
            <maml:description>
                <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>RetryTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the time period to retry the command on the target sever. After the timeout expires, no retry will be attempted.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an array of server objects of the target instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            <dev:type>
                <maml:name>Server[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies, as a string array, the name of an instance of SQL Server that becomes the target of the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Start an SQL Server instance --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
PS SQLSERVER:\SQL\Computer\Instance&gt; Start-SqlInstance -Credential $Credential -AcceptSelfSignedCertificate</dev:code>
            <dev:remarks>
                <maml:para>The first command changes directory to the path SQLSERVER:\SQL\Computer\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Start all instances of SQL Server on the target computer --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlInstance -Credential $Credential -MachineName &quot;Computer004&quot; | Start-SqlInstance -Credential $Credential -AcceptSelfSignedCertificate</dev:code>
            <dev:remarks>
                <maml:para>This command gets all instances of SQL Server on the computer named Computer004 and then starts all the instances. The self-signed certificate of the target machine is automatically accepted without prompting the user.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlInstance</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Stop-SqlInstance</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Stop-SqlInstance</command:name>
        <maml:description>
            <maml:para>Stops the specified instance of SQL Server.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Stop</command:verb>
        <command:noun>SqlInstance</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Stop-SqlInstance cmdlet stops the specified instance of SQL Server.</maml:para>
        <maml:para>SQL Server Cloud Adapter must be running and accessible on the computer that hosts the instance of SQL Server.</maml:para>
        <maml:para>This cmdlet supports the following modes of operation:</maml:para>
        <maml:para>-- Specify the instance Windows PowerShell path.</maml:para>
        <maml:para>-- Specify the server object.</maml:para>
        <maml:para>-- Specify the ServerInstance object of the target instance of SQL Server.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Stop-SqlInstance</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to the instance of SQL Server, as a string array, on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target server. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Stop-SqlInstance</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of server objects of the target instance.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target server. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Stop-SqlInstance</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server, as a string array, that becomes the target of the operation.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>ManagementPublicPort</maml:name>
                <maml:description>
                    <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                    <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
                <maml:name>RetryTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the time period to retry the command on the target server. After the timeout expires, no retry will be attempted.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to the instance of SQL Server, as a string array, on which this cmdlet runs the operation. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a user account with Windows Administrator credentials on the target computer.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AutomaticallyAcceptUntrustedCertificates</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet automatically accepts untrusted certificates.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>ManagementPublicPort</maml:name>
            <maml:description>
                <maml:para>Specifies the public management port on the target computer. This parameter is used when the ports of the target computer are not directly accessible but are exposed through endpoints. This means that this cmdlet needs to connect to a different port.</maml:para>
                <maml:para>SQL Server Cloud Adapter must be accessible by this port.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
            <maml:name>RetryTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the time period to retry the command on the target server. After the timeout expires, no retry will be attempted.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Nullable`1[Int32]</command:parameterValue>
            <dev:type>
                <maml:name>Nullable`1[Int32]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="named">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an array of server objects of the target instance.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Server[]</command:parameterValue>
            <dev:type>
                <maml:name>Server[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server, as a string array, that becomes the target of the operation.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Stop an instance of SQL Server --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
PS SQLSERVER:\SQL\Computer\Instance&gt; Stop-SqlInstance -Credential $Credential -AcceptSelfSignedCertificate;</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the working directory to SQLSERVER:\SQL\Computer\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Stop all instances of SQL Server on the specified computer --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-SqlInstance -Credential $Credential -MachineName &quot;Computer006&quot; | Stop-SqlInstance -Credential $Credential -AcceptSelfSignedCertificate;</dev:code>
            <dev:remarks>
                <maml:para>This command retrieves all instances of SQL Server on the machine named Computer006 and stops all the instances. The self-signed certificate of the target computer is automatically accepted without prompting the user.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlInstance</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Start-SqlInstance</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Suspend-SqlAvailabilityDatabase</command:name>
        <maml:description>
            <maml:para>Suspends data movement on an availability database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Suspend</command:verb>
        <command:noun>SqlAvailabilityDatabase</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Suspend-SqlAvailabilityDatabase cmdlet suspends data movement on an availability database. This cmdlet suspends a database on the replica that is hosted by the current server instance. If you suspend a secondary database, this cmdlet sets its state to SUSPENDED. It falls behind the corresponding primary database. If you suspend a primary database, data movement stops on every secondary replica.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Suspend-SqlAvailabilityDatabase</maml:name>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of an availability database that cmdlet suspends. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Suspend-SqlAvailabilityDatabase</maml:name>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies availability database, as an AvailabilityDatabase object, that this cmdlet suspends.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityDatabase[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of an availability database that cmdlet suspends. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies availability database, as an AvailabilityDatabase object, that this cmdlet suspends.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityDatabase[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityDatabase[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityDatabase</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>You can pass an availability database to this cmdlet.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para>The instance on which you run this command must be enabled for high availability.</maml:para>
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Suspend synchronization for a database --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Suspend-SqlAvailabilityDatabase -Path &quot;SQLSERVER:\Sql\Server\Instance\AvailabilityGroups\MainAG\AvailabilityDatabases\Database16&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command suspends data synchronization for the availability database Database16 in the availability group named MainAG on the server instance named Server\Instance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Suspend synchronization for all databases --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\Server\Instance\AvailabilityGroups\MainAG\AvailabilityDatabases&quot; | Suspend-SqlAvailabilityDatabase</dev:code>
            <dev:remarks>
                <maml:para>This command gets all the availability databases that belong to MainAG, and then passes them to the current cmdlet by using the pipeline operator. The current cmdlet suspends each availability database.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Create a script to suspend a database --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Suspend-SqlAvailabilityDatabase -Path &quot;SQLSERVER:\Sql\Server\Instance\AvailabilityGroups\MainAG\AvailabilityDatabases\Database16&quot; -Script</dev:code>
            <dev:remarks>
                <maml:para>This command creates a Transact-SQL script that suspends the availability database named Database16 in the availability group named MainAG. The command does not perform this action.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Add-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Resume-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Switch-SqlAvailabilityGroup</command:name>
        <maml:description>
            <maml:para>Starts a failover of an availability group to a secondary replica.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Switch</command:verb>
        <command:noun>SqlAvailabilityGroup</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Switch-SqlAvailabilityGroup cmdlet starts a failover of an availability group to a specified secondary replica. Run this cmdlet on the target secondary replica. After the failover, the secondary replica becomes the primary replica.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Switch-SqlAvailabilityGroup</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AllowDataLoss</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet starts a forced failover to the target secondary replica. Data loss is possible. Unless you specify the Force or Script parameter, the cmdlet prompts you for confirmation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Forces the command to run without asking for user confirmation. This cmdlet prompts you for confirmation only if you specify the AllowDataLoss parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the availability group that this cmdlet fails over. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Switch-SqlAvailabilityGroup</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AllowDataLoss</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet starts a forced failover to the target secondary replica. Data loss is possible. Unless you specify the Force or Script parameter, the cmdlet prompts you for confirmation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Forces the command to run without asking for user confirmation. This cmdlet prompts you for confirmation only if you specify the AllowDataLoss parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies availability group that this cmdlet fails over.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Script</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AllowDataLoss</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet starts a forced failover to the target secondary replica. Data loss is possible. Unless you specify the Force or Script parameter, the cmdlet prompts you for confirmation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Force</maml:name>
            <maml:description>
                <maml:para>Forces the command to run without asking for user confirmation. This cmdlet prompts you for confirmation only if you specify the AllowDataLoss parameter.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the availability group that this cmdlet fails over. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Script</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns a Transact-SQL script that performs the task that this cmdlet performs.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies availability group that this cmdlet fails over.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroup[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>You can pass an availability group to this cmdlet.</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Fail over an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Switch-SqlAvailabilityGroup -Path &quot;SQLSERVER:\Sql\SecondaryServer\InstanceName\AvailabilityGroups\MainAG&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command performs a manual failover of the availability group MainAG to the server instance named SecondaryServer\InstanceName. This command does not allow data loss. Run this command on the server instance that hosts the secondary replica to which to fail over.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Force an availability group to fail over --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Switch-SqlAvailabilityGroup -Path &quot;SQLSERVER:\Sql\SecondaryServer\InstanceName\AvailabilityGroups\MainAG&quot; -AllowDataLoss</dev:code>
            <dev:remarks>
                <maml:para>This command performs a manual failover of the availability group MainAG to the server instance named SecondaryServer\InstanceName. The command specifies the AllowDataLoss parameter. Therefore, the failover has the potential of data loss, and the command prompts you for confirmation. Specify the Force parameter to skip the confirmation.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Create a script to fail over an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Switch-SqlAvailabilityGroup -Path &quot;SQLSERVER:\Sql\SecondaryServer\InstanceName\AvailabilityGroups\MainAG&quot; -Script</dev:code>
            <dev:remarks>
                <maml:para>This command creates a Transact-SQL script that performs a manual failover of the availability group MainAG to the server instance named SecondaryServer\InstanceName. The script does not allow data loss. The command does not cause failover.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Join-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Test-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Test-SqlAvailabilityGroup</command:name>
        <maml:description>
            <maml:para>Evaluates the health of an availability group.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Test</command:verb>
        <command:noun>SqlAvailabilityGroup</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Test-SqlAvailabilityGroup cmdlet evaluates the health of an availability group. This cmdlet evaluates SQL Server policy-based management policies. To run this cmdlet, you must have CONNECT, VIEW SERVER STATE, and VIEW ANY DEFINITION user rights.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Test-SqlAvailabilityGroup</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ShowPolicyDetails</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet displays the result of each policy evaluation that it performs. The cmdlet returns one object per policy evaluation. Each policy object includes the results of evaluation. This information includes whether the policy passed or not, the policy name, and policy category.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AllowUserPolicies</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet tests user policies found in the policy categories of AlwaysOn Availability Groups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRefresh</maml:name>
                <maml:description>
                    <maml:para>Indicates that will not refresh the objects specified by the Path or InputObject parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the availability group that this cmdlet evaluates. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Test-SqlAvailabilityGroup</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ShowPolicyDetails</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet displays the result of each policy evaluation that it performs. The cmdlet returns one object per policy evaluation. Each policy object includes the results of evaluation. This information includes whether the policy passed or not, the policy name, and policy category.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AllowUserPolicies</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet tests user policies found in the policy categories of AlwaysOn Availability Groups.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRefresh</maml:name>
                <maml:description>
                    <maml:para>Indicates that will not refresh the objects specified by the Path or InputObject parameter.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of availability group, as AvailabilityGroup objects. This cmdlet evaluates the health of the availability groups that this parameter specifies.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ShowPolicyDetails</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet displays the result of each policy evaluation that it performs. The cmdlet returns one object per policy evaluation. Each policy object includes the results of evaluation. This information includes whether the policy passed or not, the policy name, and policy category.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AllowUserPolicies</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet tests user policies found in the policy categories of AlwaysOn Availability Groups.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoRefresh</maml:name>
            <maml:description>
                <maml:para>Indicates that will not refresh the objects specified by the Path or InputObject parameter.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the availability group that this cmdlet evaluates. If you do not specify this parameter, this cmdlet uses current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an array of availability group, as AvailabilityGroup objects. This cmdlet evaluates the health of the availability groups that this parameter specifies.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityGroup[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityGroup[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Evaluate the health of an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Test-SqlAvailabilityGroup -Path &quot;SQLSERVER:\Sql\Server\InstanceName\AvailabilityGroups\MainAG&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates the health of the availability group named MainAG. The command returns a summary.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Evaluate the health of all availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\Server\InstanceName\AvailabilityGroups&quot; | Test-SqlAvailabilityGroup</dev:code>
            <dev:remarks>
                <maml:para>This command gets all availability groups that have availability replicas in the specified location in the SQLSERVER: provider. The command passes them to the current cmdlet by using the pipeline operator. That cmdlet evaluates the health of each availability group.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Display results for each policy of an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Test-SqlAvailabilityGroup -Path &quot;SQLSERVER:\Sql\Server\InstanceName\AvailabilityGroups\MainAG&quot; -ShowPolicyDetails</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates the health of the availability group named MainAG. This command specifies the ShowPolicyDetails parameter. Therefore, it displays the evaluation results for each policy-based management policy that ran.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Display results for userdefined policies of an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Test-SqlAvailabilityGroup -Path &quot;SQLSERVER:\Sql\Server\InstanceName\AvailabilityGroups\MainAG&quot; -AllowUserPolicies</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates the health of the availability group named MainAG. The command includes user-defined policies in this evaluation.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 5: Get groups that have an error state --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\Server\InstanceName\AvailabilityGroups&quot; | Test-SqlAvailabilityGroup | Where-Object { $_.HealthState -eq &quot;Error&quot; }</dev:code>
            <dev:remarks>
                <maml:para>This command gets all availability groups that have availability replicas in the specified location in the SQLSERVER: provider. The command passes them to the current cmdlet by using the pipeline operator. That cmdlet evaluates the health of each availability group. The command passes those results to the Where-Object cmdlet, which returns results based on the HealthState property.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Join-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Switch-SqlAvailabilityGroup</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Test-SqlAvailabilityReplica</command:name>
        <maml:description>
            <maml:para>Evaluates the health of availability replicas.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Test</command:verb>
        <command:noun>SqlAvailabilityReplica</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Test-SqlAvailabilityReplica cmdlet assesses the health of availability replicas by evaluating SQL Server policy based management (PBM) policies. You must have CONNECT, VIEW SERVER STATE, and VIEW ANY DEFINITION permissions to execute this cmdlet.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Test-SqlAvailabilityReplica</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ShowPolicyDetails</maml:name>
                <maml:description>
                    <maml:para>Indicates that the result of each policy evaluation performed by this cmdlet is shown. The cmdlet outputs one object per policy evaluation. This object contains fields that describe the results of the evaluation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AllowUserPolicies</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs user policies found in the AlwaysOn policy categories.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRefresh</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet will not manually refresh the objects specified by the Path or InputObject parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to one or more availability replicas. This parameter is optional. If not specified, the current working location is used.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Test-SqlAvailabilityReplica</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ShowPolicyDetails</maml:name>
                <maml:description>
                    <maml:para>Indicates that the result of each policy evaluation performed by this cmdlet is shown. The cmdlet outputs one object per policy evaluation. This object contains fields that describe the results of the evaluation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AllowUserPolicies</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs user policies found in the AlwaysOn policy categories.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRefresh</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet will not manually refresh the objects specified by the Path or InputObject parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of availability replicas to evaluate.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">AvailabilityReplica[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ShowPolicyDetails</maml:name>
            <maml:description>
                <maml:para>Indicates that the result of each policy evaluation performed by this cmdlet is shown. The cmdlet outputs one object per policy evaluation. This object contains fields that describe the results of the evaluation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AllowUserPolicies</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet runs user policies found in the AlwaysOn policy categories.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoRefresh</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet will not manually refresh the objects specified by the Path or InputObject parameters.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to one or more availability replicas. This parameter is optional. If not specified, the current working location is used.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an array of availability replicas to evaluate.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">AvailabilityReplica[]</command:parameterValue>
            <dev:type>
                <maml:name>AvailabilityReplica[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.AvailabilityReplica</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Evaluate the health of an availability replica --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Test-SqlAvailabilityReplica -Path &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAg\AvailabilityReplicas\MainReplica&quot;</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates the health of the availability replica named MainReplica in the MainAg availability group and outputs a brief summary.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Evaluate the health of all availability replicas in an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAg\AvailabilityReplicas&quot; | Test-SqlAvailabilityReplica</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates the health of all availability replicas in the availability group named MainAg and outputs a brief summary for each replica.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Evaluate the health of an availability replica for each PBM policy --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Test-SqlAvailabilityReplica -Path &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAg\AvailabilityReplicas\MainReplica&quot; -ShowPolicyDetails</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates the health of the availability replica named MainReplica in the MainAg availability group and outputs the evaluation results for each PBM policy that was executed.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Evaluate the health of an availability replica and include userdefined policies --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Test-SqlAvailabilityReplica -Path &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAg\AvailabilityReplicas\MainReplica&quot; -AllowUserPolicies</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates the health of the availability replica named MainReplica in the MainAg availability group. User-defined policies are included in this evaluation.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 5: Show all availability replicas that are in an error state --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAg\AvailabilityReplicas&quot; | Test-SqlAvailabilityReplica | Where-Object { $_.HealthState -eq &quot;Error&quot; }</dev:code>
            <dev:remarks>
                <maml:para>This command shows all availability replicas with a health state of &quot;Error&quot; in the MainAg availability group.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>New-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlAvailabilityReplica</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Test-SqlDatabaseReplicaState</command:name>
        <maml:description>
            <maml:para>Evaluates the health of an availability database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Test</command:verb>
        <command:noun>SqlDatabaseReplicaState</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Test-SqlDatabaseReplicaState cmdlet assesses the health of an availability database on all joined availability replicas by evaluating SQL Server policy based management (PBM) policies. You must have CONNECT, VIEW SERVER STATE, and VIEW ANY DEFINITION permissions to execute this cmdlet.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Test-SqlDatabaseReplicaState</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ShowPolicyDetails</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet shows the result of each policy evaluation performed. The cmdlet outputs one object per policy evaluation and the results of evaluation are available in the fields of the object.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AllowUserPolicies</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs user policies found in the AlwaysOn policy categories.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRefresh</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet will not manually refresh the objects specified by the Path or InputObject parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path to one or more database replica cluster states of the availability database. This is an optional parameter. If not specified, the value of the current working location is used.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Test-SqlDatabaseReplicaState</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ShowPolicyDetails</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet shows the result of each policy evaluation performed. The cmdlet outputs one object per policy evaluation and the results of evaluation are available in the fields of the object.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AllowUserPolicies</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs user policies found in the AlwaysOn policy categories.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRefresh</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet will not manually refresh the objects specified by the Path or InputObject parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of availability database state objects. This cmdlet computes the health of these availability databases.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">DatabaseReplicaState[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ShowPolicyDetails</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet shows the result of each policy evaluation performed. The cmdlet outputs one object per policy evaluation and the results of evaluation are available in the fields of the object.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AllowUserPolicies</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet runs user policies found in the AlwaysOn policy categories.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoRefresh</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet will not manually refresh the objects specified by the Path or InputObject parameters.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path to one or more database replica cluster states of the availability database. This is an optional parameter. If not specified, the value of the current working location is used.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an array of availability database state objects. This cmdlet computes the health of these availability databases.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">DatabaseReplicaState[]</command:parameterValue>
            <dev:type>
                <maml:name>DatabaseReplicaState[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.DatabaseReplicaState</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Evaluate the health of an availability database --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;$Path = &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAg\DatabaseReplicaStates\MainReplica.MainDatabase&quot;
PS C:&gt;Test-SqlDatabaseReplicaState -Path $Path</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates the health of the availability database named MainDatabase on the availability replica MainReplica in the availability group MainAg and outputs a brief summary.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Evaluate the health of all availability databases in an availability group --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAg\DatabaseReplicaStates&quot; | Test-SqlDatabaseReplicaState</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates the health of all availability databases in the MainAg availability group and outputs a brief summary for each database.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Evaluate the health of all availability databases in an availability group showing PBM evaluation results --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAg\DatabaseReplicaStates&quot; | Test-SqlDatabaseReplicaState -ShowPolicyDetails</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates the health of all availability databases in the MainAg availability group and outputs the evaluation results for each PBM policy that was executed.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 4: Evaluate the health of all availability databases in an availability group and include userdefined policies --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAg\DatabaseReplicaStates&quot; | Test-SqlDatabaseReplicaState -AllowUserPolicies</dev:code>
            <dev:remarks>
                <maml:para>This command evaluates the health of all availability databases in the MainAg availability group. User-defined policies are included in this evaluation.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 5: Show all availability databases in an error health state --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Get-ChildItem &quot;SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MainAg\DatabaseReplicaStates&quot; | Test-SqlDatabaseReplicaState | Where-Object { $_.HealthState -eq &quot;Error&quot; }</dev:code>
            <dev:remarks>
                <maml:para>This command shows all availability databases with a health state of &quot;Error&quot; in the MainAg availability group.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Add-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Remove-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Resume-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Suspend-SqlAvailabilityDatabase</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Test-SqlSmartAdmin</command:name>
        <maml:description>
            <maml:para>Tests the health of Smart Admin by evaluating SQL Server policy based management (PBM) policies.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Test</command:verb>
        <command:noun>SqlSmartAdmin</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Test-SqlSmartAdmin cmdlet tests the health of Smart Admin for the SQL Server instance by evaluating SQL Server policy based management (PBM) policies. </maml:para>
        <maml:para>This cmdlet supports the following modes of operation to return the object: </maml:para>
        <maml:para>-- Pass the path of the instance of SQL Server to the Path parameter.</maml:para>
        <maml:para>-- Pass a Smo.Server object to the InputObject parameter, either directly or through the pipeline.</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Test-SqlSmartAdmin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ShowPolicyDetails</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet shows the result of the policy. The cmdlet outputs one object per policy assessment. The output includes the results of the assessment: such as, the name of the policy, category, and health.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AllowUserPolicies</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs user policies found in the Smart Admin warning and error policy categories.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRefresh</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet will not manually refresh the object specified by the Path or InputObject parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the path of the SQL Server instance, as a string array. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Test-SqlSmartAdmin</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ShowPolicyDetails</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet shows the result of the policy. The cmdlet outputs one object per policy assessment. The output includes the results of the assessment: such as, the name of the policy, category, and health.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>AllowUserPolicies</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet runs user policies found in the Smart Admin warning and error policy categories.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>NoRefresh</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet will not manually refresh the object specified by the Path or InputObject parameters.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of SmartAdmin objects. To get this object, use the Get-SqlSmartAdmin cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">SmartAdmin[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>WhatIf</maml:name>
                <maml:description>
                    <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Confirm</maml:name>
                <maml:description>
                    <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ShowPolicyDetails</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet shows the result of the policy. The cmdlet outputs one object per policy assessment. The output includes the results of the assessment: such as, the name of the policy, category, and health.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>AllowUserPolicies</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet runs user policies found in the Smart Admin warning and error policy categories.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>NoRefresh</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet will not manually refresh the object specified by the Path or InputObject parameters.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the path of the SQL Server instance, as a string array. If you do not specify a value for this parameter, the cmdlet uses the current working location.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>WhatIf</maml:name>
            <maml:description>
                <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Confirm</maml:name>
            <maml:description>
                <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>false</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an array of SmartAdmin objects. To get this object, use the Get-SqlSmartAdmin cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">SmartAdmin[]</command:parameterValue>
            <dev:type>
                <maml:name>SmartAdmin[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>Microsoft.SqlServer.Management.Smo.SmartAdmin</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>This cmdlet outputs the results from the evaluation of the policies.</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Test the status of the SQL Server Smart Admin --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLSERVER:\SQL\Computer\MyInstance
PS SQLSERVER:\SQL\Computer\MyInstance&gt; Get-SqlSmartAdmin | Test-SqlSmartAdmin</dev:code>
            <dev:remarks>
                <maml:para>The first command changes directory to the SQL instance Computer\MyInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Evaluate the test results of the SQL Server Smart Admin --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLSERVER:\SQL\Computer\MyInstance
PS SQLSERVER:\SQL\Computer\MyInstance&gt; $PolicyResults = Get-SqlSmartAdmin | Test-SqlSmartAdmin
PS SQLSERVER:\SQL\Computer\MyInstance&gt; $PolicyResults.PolicyEvaluationDetails | select Name, Category, Result, Expression|f1</dev:code>
            <dev:remarks>
                <maml:para>The first command changes directory to the SQL instance Computer\MyInstance.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Output the status of the SQL Server Smart Admin --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;PS SQLSERVER:\SQL\COMPUTER\DEFAULT&gt; (Get-SqlSmartAdmin ).EnumHealthStatus()
number_of_storage_connectivity_errors: 0
number_of_sql_errors: 2
number_of_invalid_credential_errors: 0
number_of_other_errors : 0
number_of_corrupted_or_deleted_backups: 0
number_of_backup_loops: 2
number_of_retention_loops: 2</dev:code>
            <dev:remarks>
                <maml:para>This command outputs the status of the local SQL Server Smart Admin.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Get-SqlSmartAdmin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
        <maml:navigationLink>
            <maml:linkText>Set-SqlSmartAdmin</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Write-SqlTableData</command:name>
        <maml:description>
            <maml:para>Writes data to a table of a SQL database.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb>Write</command:verb>
        <command:noun>SqlTableData</command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Write-SqlTableData cmdlet inserts data into a table of a SQL database. This cmdlet accepts the following input types the follow output formats: </maml:para>
        <maml:para>-- System.Data.DataSet
-- System.Data.DataTable
-- System.Data.DateRow objects
-- Collection of objects</maml:para>
        <maml:para>If you provide a DataSet, only the first table in the dataset is written to the database.</maml:para>
        <maml:para>You can use this cmdlet with the Windows PowerShell SQL provider. This cmdlet can infer information such as server, database, schema, and table from its current path. </maml:para>
        <maml:para>This cmdlet expects the table to exist. By default, the cmdlet appends data to that table. If you specify the Force parameter, the cmdlet generate missing objects, which include the database, the table schema, and the table itself. This usage enables quick transfer of data into a database. The cmdlet infers the schema of the table from the data. The result may not be optimal. For example, strings are mapped to NVARCHAR(MAX).</maml:para>
    </maml:description>
    <command:syntax>
        <command:syntaxItem>
            <maml:name>Write-SqlTableData</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet creates missing SQL Server objects. These include the database, schema, and table. You must have appropriate credentials to create these objects. </maml:para>
                    <maml:para>If you do not specify this parameter for missing objects, the cmdlet returns an error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>InputData</maml:name>
                <maml:description>
                    <maml:para>Specifies the data to write to the database. </maml:para>
                    <maml:para>Typical input data is a System.Data.DataTable, but you can specify System.Data.DataSet or System.Data.DateRow objects.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Passthru</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns an SMO.Table object. This object represents the table that includes the added data. You can operate on the table after the write operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Timeout</maml:name>
                <maml:description>
                    <maml:para>Specifies a time-out value, in seconds, for the write operation. If you do not specify a value, the cmdlet uses a default value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
                <maml:name>Path</maml:name>
                <maml:description>
                    <maml:para>Specifies the full path in the context of the SQL Provider of the table where this cmdlet writes data.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Write-SqlTableData</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>DatabaseName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the database that contains the table. </maml:para>
                    <maml:para>The cmdlet supports quoting the value. You do not have to quote or escape special characters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SchemaName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the schema for the table. </maml:para>
                    <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the SchemaName parameter anyway. </maml:para>
                    <maml:para>The cmdlet supports quoting the value. You do not have to quote or escape special characters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>TableName</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of the table from which this cmdlet reads. </maml:para>
                    <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the TableName parameter anyway. </maml:para>
                    <maml:para>The cmdlet supports quoting the value. You do not have to quote or escape special characters.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>IgnoreProviderContext</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet does not use the current context to override the values of the ServerInstance, DatabaseName, SchemaName, and TableName parameters. If you do not specify this parameter, the cmdlet ignores the values of these parameters, if possible, in favor of the context in which you run the cmdlet.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>SuppressProviderContextWarning</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet suppresses the warning message that states that the cmdlet uses the provider context.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet creates missing SQL Server objects. These include the database, schema, and table. You must have appropriate credentials to create these objects. </maml:para>
                    <maml:para>If you do not specify this parameter for missing objects, the cmdlet returns an error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>InputData</maml:name>
                <maml:description>
                    <maml:para>Specifies the data to write to the database. </maml:para>
                    <maml:para>Typical input data is a System.Data.DataTable, but you can specify System.Data.DataSet or System.Data.DateRow objects.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Passthru</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns an SMO.Table object. This object represents the table that includes the added data. You can operate on the table after the write operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Timeout</maml:name>
                <maml:description>
                    <maml:para>Specifies a time-out value, in seconds, for the write operation. If you do not specify a value, the cmdlet uses a default value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>ServerInstance</maml:name>
                <maml:description>
                    <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
                    <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the ServerInstance parameter anyway.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Credential</maml:name>
                <maml:description>
                    <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>ConnectionTimeout</maml:name>
                <maml:description>
                    <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
        <command:syntaxItem>
            <maml:name>Write-SqlTableData</maml:name>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Force</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet creates missing SQL Server objects. These include the database, schema, and table. You must have appropriate credentials to create these objects. </maml:para>
                    <maml:para>If you do not specify this parameter for missing objects, the cmdlet returns an error.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
                <maml:name>InputData</maml:name>
                <maml:description>
                    <maml:para>Specifies the data to write to the database. </maml:para>
                    <maml:para>Typical input data is a System.Data.DataTable, but you can specify System.Data.DataSet or System.Data.DateRow objects.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Passthru</maml:name>
                <maml:description>
                    <maml:para>Indicates that this cmdlet returns an SMO.Table object. This object represents the table that includes the added data. You can operate on the table after the write operation.</maml:para>
                </maml:description>
                <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>Timeout</maml:name>
                <maml:description>
                    <maml:para>Specifies a time-out value, in seconds, for the write operation. If you do not specify a value, the cmdlet uses a default value.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            </command:parameter>
            <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
                <maml:name>InputObject</maml:name>
                <maml:description>
                    <maml:para>Specifies an array of SQL Server Management Objects (SMO) objects that represent the table to which this cmdlet writes.</maml:para>
                </maml:description>
                <command:parameterValue required="true" variableLength="true">Table[]</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationAction</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            </command:parameter>
            <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
                <maml:name>InformationVariable</maml:name>
                <maml:description>
                    <maml:para />
                </maml:description>
                <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            </command:parameter>
        </command:syntaxItem>
    </command:syntax>
    <command:parameters>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Force</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet creates missing SQL Server objects. These include the database, schema, and table. You must have appropriate credentials to create these objects. </maml:para>
                <maml:para>If you do not specify this parameter for missing objects, the cmdlet returns an error.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
            <maml:name>InputData</maml:name>
            <maml:description>
                <maml:para>Specifies the data to write to the database. </maml:para>
                <maml:para>Typical input data is a System.Data.DataTable, but you can specify System.Data.DataSet or System.Data.DateRow objects.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue>
            <dev:type>
                <maml:name>PSObject</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Passthru</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet returns an SMO.Table object. This object represents the table that includes the added data. You can operate on the table after the write operation.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Timeout</maml:name>
            <maml:description>
                <maml:para>Specifies a time-out value, in seconds, for the write operation. If you do not specify a value, the cmdlet uses a default value.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="1">
            <maml:name>Path</maml:name>
            <maml:description>
                <maml:para>Specifies the full path in the context of the SQL Provider of the table where this cmdlet writes data.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationAction</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
            <dev:type>
                <maml:name>ActionPreference</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>InformationVariable</maml:name>
            <maml:description>
                <maml:para />
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>DatabaseName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the database that contains the table. </maml:para>
                <maml:para>The cmdlet supports quoting the value. You do not have to quote or escape special characters.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SchemaName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the schema for the table. </maml:para>
                <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the SchemaName parameter anyway. </maml:para>
                <maml:para>The cmdlet supports quoting the value. You do not have to quote or escape special characters.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>TableName</maml:name>
            <maml:description>
                <maml:para>Specifies the name of the table from which this cmdlet reads. </maml:para>
                <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the TableName parameter anyway. </maml:para>
                <maml:para>The cmdlet supports quoting the value. You do not have to quote or escape special characters.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>IgnoreProviderContext</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet does not use the current context to override the values of the ServerInstance, DatabaseName, SchemaName, and TableName parameters. If you do not specify this parameter, the cmdlet ignores the values of these parameters, if possible, in favor of the context in which you run the cmdlet.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>SuppressProviderContextWarning</maml:name>
            <maml:description>
                <maml:para>Indicates that this cmdlet suppresses the warning message that states that the cmdlet uses the provider context.</maml:para>
            </maml:description>
            <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
            <dev:type>
                <maml:name>SwitchParameter</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>ServerInstance</maml:name>
            <maml:description>
                <maml:para>Specifies the name of an instance of SQL Server. For the default instance, specify the computer name. For named instances, use the format ComputerName\InstanceName.</maml:para>
                <maml:para>If you run this cmdlet in the context of a database or a child item of a database, the cmdlet ignores this parameter value. Specify the IgnoreProviderContext parameter for the cmdlet to use the value of the ServerInstance parameter anyway.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
            <dev:type>
                <maml:name>String[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>Credential</maml:name>
            <maml:description>
                <maml:para>Specifies a PSCredential object for the connection to SQL Server. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
            <dev:type>
                <maml:name>PSCredential</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
            <maml:name>ConnectionTimeout</maml:name>
            <maml:description>
                <maml:para>Specifies the number of seconds to wait for a server connection before a time-out failure. The time-out value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
            <dev:type>
                <maml:name>Int32</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByValue)" position="1">
            <maml:name>InputObject</maml:name>
            <maml:description>
                <maml:para>Specifies an array of SQL Server Management Objects (SMO) objects that represent the table to which this cmdlet writes.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="true">Table[]</command:parameterValue>
            <dev:type>
                <maml:name>Table[]</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name></maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Write information about processes to a table --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;(Get-Process | Select-Object -Property Id,ProcessName,StartTime,UserProcessorTime,WorkingSet,Description) | Write-SqlTableData -ServerInstance &quot;MyServer\MyInstance&quot; -DatabaseName &quot;MyDatabase&quot; -SchemaName &quot;dbo&quot; -TableName &quot;TaskManagerDump&quot; -Force</dev:code>
            <dev:remarks>
                <maml:para>This example gets information about processes that run on a system and writes it to a table.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para>The current cmdlet writes the data to [MyDatabase].[dbo].[TaskManagerDump] on MyServer\MyInstance. Because you specify the Force parameter, if the database, schema, and table do not exist, this cmdlet creates them.</maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 2: Write data to a table --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;cd SQLSERVER:\SQL\MyServer\MyInstance\Databases\MyDatabase\Tables
PS SQLSERVER:\SQL\MyServer\MyInstance\Databases\MyDatabase\Tables&gt; $Table = Write-SqlTableData -TableName &quot;KeyValuePairs&quot; -SchemaName &quot;dbo&quot; -InputData @{ cca=10; cac=&apos;Hello&apos;; aac=1.2 } -PassThru
PS SQLSERVER:\SQL\MyServer\MyInstance\Databases\MyDatabase\Tables&gt; Read-SqlTableData -InputObject $Table
WARNING: Using provider context. Server = MyServer\MyInstance, Database = [MyDatabase].
 
Key Value
--- -----
aac 1.2
cac Hello
cca 10</dev:code>
            <dev:remarks>
                <maml:para>The first command changes the location to be a location in the SQLSERVER provider. The command prompt reflects the new location. For more information, type Get-Help about_Providers.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para>The final command displays the contents of the $Table variable by using the Read-SqlTableData cmdlet.</maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
        <command:example>
            <maml:title>-------------------------- Example 3: Import data from a file to a table --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;,(Import-Csv -Path &quot;.\a.csv&quot; -Header &quot;Id&quot;,&quot;Name&quot;,&quot;Amount&quot;) | Write-SqlTableData -ServerInstance &quot;MyServer\MyInstance&quot; -DatabaseName &quot;MyDatabase&quot; -SchemaName &quot;dbo&quot; -TableName &quot;CSVTable&quot; -Force
PS C:\&gt; Read-SqlTableData -ServerInstance &quot;MyServer\MyInstance&quot; -DatabaseName &quot;MyDatabase&quot; -SchemaName &quot;dbo&quot; -TableName &quot;CSVTable&quot;
Id Name Amount
-- ---- ------
10 AAAA -1.2
11 BBBB 1.2
12 CCCC -1.0
 
The first command imports the contents of a file by using the Import-Csv cmdlet. The file contains the following content:
     
10,AAAA,-1.2
11,BBBB,1.2
12,CCCC,-1.0
     
This example runs completely from the file prompt. It cannot use context information. Therefore, you must specify all relevant parameters.
 
Note the use of the &quot;,&quot; in front of the line: this is to force PowerShell to pass the entire content of the file directly to the Write-SqlTableData cmdlet, which in turn can do a bulk-insert (which is way more performant than a row by row insert)</dev:code>
            <dev:remarks>
                <maml:para />
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
        <maml:navigationLink>
            <maml:linkText>Read-SqlTableData</maml:linkText>
            <maml:uri></maml:uri>
        </maml:navigationLink>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Decode-SqlName</command:name>
        <maml:description>
            <maml:para>Decodes an encoded SQL Server identifier name.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb></command:verb>
        <command:noun></command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Decode-SqlName cmdlet decodes an encoded SQL Server identifier. SQL Server delimited identifiers can contain special characters that are not normally supported in PowerShell object names. These extended characters must be either encoded to their hexadecimal representation or escaped using the ` character. Certain characters cannot be escaped. The hexadecimal encoding is in the format %nn. This cmdlet converts the following encodings to the corresponding characters: </maml:para>
        <maml:para>-- %5C becomes \
-- %3A becomes :
-- %2E becomes .
-- %2F becomes /
-- %25 becomes %
-- %3C becomes &lt;
-- %3E becomes &gt;
-- %2A becomes *
-- %3F becomes ?
-- %5B becomes [
-- %5D becomes ]
-- %7C becomes |</maml:para>
    </maml:description>
    <command:syntax>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="2">
            <maml:name>SqlName</maml:name>
            <maml:description>
                <maml:para>Specifies the SQL Server identifier to decode.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">string</command:parameterValue>
            <dev:type>
                <maml:name>string</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Decode a SQL Server identifier that is encoded in a hexadecimal representation --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Decode-SqlName -SqlName &quot;My%3ATable`/&quot;
My:Table/</dev:code>
            <dev:remarks>
                <maml:para>This command decodes a SQL Server identifier that has been encoded in hexadecimal representation for the &#39;:&#39; character. PowerShell also removes the escaping back-tick character (`) from an escaped &#39;/&#39; character.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
    </maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
    <command:details>
        <command:name>Encode-SqlName</command:name>
        <maml:description>
            <maml:para>Encodes special characters in SQL Server names to characters that can be used in PowerShell paths.</maml:para>
        </maml:description>
        <maml:copyright>
            <maml:para />
        </maml:copyright>
        <command:verb></command:verb>
        <command:noun></command:noun>
        <dev:version />
    </command:details>
    <maml:description>
        <maml:para>The Encode-SqlName cmdlet encodes special characters in SQL Server identifier names to characters that can be used in PowerShell paths. SQL Server delimited identifiers can contain characters that are not normally supported in PowerShell object names. When using delimited identifiers in SQL Server provider paths, these extended characters must be either encoded to their hexadecimal representation or escaped using the ` character. Certain characters cannot be escaped. The hexadecimal encoding for the characters is in the format %nn. The characters encoded by this cmdlet are: \:./%&lt;&gt;*?[]|.</maml:para>
    </maml:description>
    <command:syntax>
    </command:syntax>
    <command:parameters>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="2">
            <maml:name>SqlName</maml:name>
            <maml:description>
                <maml:para>Specified the SQL Server identifier name to be encoded.</maml:para>
            </maml:description>
            <command:parameterValue required="true" variableLength="false">string</command:parameterValue>
            <dev:type>
                <maml:name>string</maml:name>
                <maml:uri/>
            </dev:type>
            <dev:defaultValue>none</dev:defaultValue>
        </command:parameter>
    </command:parameters>
    <command:inputTypes>
        <command:inputType>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:inputType>
    </command:inputTypes>
    <command:returnValues>
        <command:returnValue>
            <dev:type>
                <maml:name>String</maml:name>
                <maml:uri></maml:uri>
                <maml:description/>
            </dev:type>
            <maml:description>
                <maml:para>
</maml:para>
            </maml:description>
        </command:returnValue>
    </command:returnValues>
    <command:terminatingErrors></command:terminatingErrors>
    <command:nonTerminatingErrors></command:nonTerminatingErrors>
    <maml:alertSet>
        <maml:title></maml:title>
        <maml:alert>
            <maml:para />
        </maml:alert>
    </maml:alertSet>
    <command:examples>
        <command:example>
            <maml:title>-------------------------- Example 1: Encode a SQL Server table name --------------------------</maml:title>
            <maml:introduction>
                <maml:paragraph>PS C:\&gt;</maml:paragraph>
            </maml:introduction>
            <dev:code>PS C:\&gt;Encode-SqlName -SqlName &quot;My:Table/&quot;
My%3ATable%2F</dev:code>
            <dev:remarks>
                <maml:para>This command encodes a SQL Server table name that contains the colon (:) and forward-slash (/) characters.</maml:para>
                <maml:para />
                <maml:para />
                <maml:para></maml:para>
            </dev:remarks>
            <command:commandLines>
                <command:commandLine>
                    <command:commandText>
                        <maml:para />
                    </command:commandText>
                </command:commandLine>
            </command:commandLines>
        </command:example>
    </command:examples>
    <maml:relatedLinks>
    </maml:relatedLinks>
</command:command>
</helpItems>