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

<?xml version="1.0" encoding="utf-8"?>
 
<helpItems xmlns="http://msh" 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"><command:details><command:name>Add-SqlAvailabilityDatabase</command:name><maml:description><maml:para>Agrega una o varias bases de datos principales o une una o varias bases de datos secundarias al grupo de disponibilidad especificado en el parámetro InputObject o Path.</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>El cmdlet Add-SqlAvailabilityDatabase agrega una o varias bases de datos principales o une una o varias bases de datos secundarias al grupo de disponibilidad especificado en el parámetro InputObject o Path.
</maml:para><maml:para>Para agregar una o varias bases de datos a un grupo de disponibilidad, ejecute este cmdlet en la instancia de servidor que hospeda la réplica principal y especifique una o varias bases de datos de usuario locales.
</maml:para><maml:para>Para unir una base de datos secundaria al grupo de disponibilidad, prepare manualmente la base de datos secundaria en la instancia de servidor que la hospeda y después ejecute este cmdlet en dicha instancia de servidor.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Add-SqlAvailabilityDatabase</maml:name><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="named" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Especifica una matriz de una o varias bases de datos de usuario para agregarse o unirse al grupo de disponibilidad especificado en el parámetro Path o InputObject. Es preciso que estas bases de datos residan en la instancia local de SQL Server. Observe que una base de datos determinada puede pertenecer solo a un grupo de disponibilidad.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Add-SqlAvailabilityDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup del grupo de disponibilidad al que la va a agregar o unir las bases de datos.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="named" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Especifica una matriz de una o varias bases de datos de usuario para agregarse o unirse al grupo de disponibilidad especificado en el parámetro Path o InputObject. Es preciso que estas bases de datos residan en la instancia local de SQL Server. Observe que una base de datos determinada puede pertenecer solo a un grupo de disponibilidad.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="named" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Especifica una matriz de una o varias bases de datos de usuario para agregarse o unirse al grupo de disponibilidad especificado en el parámetro Path o InputObject. Es preciso que estas bases de datos residan en la instancia local de SQL Server. Observe que una base de datos determinada puede pertenecer solo a un grupo de disponibilidad.
</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="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup del grupo de disponibilidad al que la va a agregar o unir las bases de datos.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
-------------------------- EXAMPLE 1 --------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Add-SqlAvailabilityDatabase -Path SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MyAG -Database "MyDatabase"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando agrega la base de datos 'MyDatabase' al grupo de disponibilidad 'MyAG'. Este comando, que debe ejecutarse en la instancia de servidor principal del grupo de disponibilidad, no prepara las bases de datos secundarias para la sincronización de datos.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
-------------------------- EXAMPLE 2 --------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Add-SqlAvailabilityDatabase -Path SQLSERVER:\SQL\SecondaryServer\InstanceName\AvailabilityGroups\MyAG -Database "MyDatabase"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando une una base de datos secundaria, 'MyDatabase', al grupo de disponibilidad 'MyAG' en una de las instancias de servidor que hospeda una réplica secundaria.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
-------------------------- EXAMPLE 3 --------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$DatabaseBackupFile = "\\share\backups\MyDatabase.bak"
$LogBackupFile = "\\share\backups\MyDatabase.trn"
$MyAgPrimaryPath = "SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MyAg"
$MyAgSecondaryPath = "SQLSERVER:\SQL\SecondaryServer\InstanceName\AvailabilityGroups\MyAg"
 
Backup-SqlDatabase -Database "MyDatabase" -BackupFile $DatabaseBackupFile -ServerInstance "PrimaryServer\InstanceName"
Backup-SqlDatabase -Database "MyDatabase" -BackupFile $LogBackupFile -ServerInstance "PrimaryServer\InstanceName" -BackupAction 'Log'
Restore-SqlDatabase -Database "MyDatabase" -BackupFile $DatabaseBackupFile -ServerInstance "SecondaryServer\InstanceName" -NoRecovery
Restore-SqlDatabase -Database "MyDatabase" -BackupFile $LogBackupFile -ServerInstance "SecondaryServer\InstanceName" -RestoreAction 'Log' -NoRecovery
 
Add-SqlAvailabilityDatabase -Path $MyAgPrimaryPath -Database "MyDatabase"
Add-SqlAvailabilityDatabase -Path $MyAgSecondaryPath -Database "MyDatabase"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se muestra el proceso completo para preparar una base de datos secundaria de una base de datos en la instancia del servidor que hospeda la réplica principal de un grupo de disponibilidad, agregando la base de datos a un grupo de disponibilidad (como una base de datos principal) y uniendo después la base de datos secundaria al grupo de disponibilidad. Primero, en el ejemplo se realiza una copia de seguridad de la base de datos y del registro de transacciones. En el ejemplo se restauran las copias de seguridad de la base de datos y de registros a las instancias de servidor que hospeda una réplica secundaria. En el ejemplo se llama dos veces a Add-SqlAvailabilityDatabase: la primera, en la réplica principal para agregar la base de datos al grupo de disponibilidad y después en la réplica secundaria para unir la base de datos secundaria de esa réplica al grupo de disponibilidad. Si tiene más de una réplica secundaria, restaure y una la base de datos secundaria en cada una de ellas.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
-------------------------- EXAMPLE 4 --------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Add-SqlAvailabilityDatabase -Path SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MyAG -Database "MyDatabase" -Script
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando da como resultado el script de Transact-SQL que agrega la base de datos 'MyDatabase' al grupo de disponibilidad 'MyAG'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText>SQL Server Books Online: Adding a Database to an Availability Group (SQL Server)</maml:linkText><maml:uri /></maml:navigationLink><maml:navigationLink><maml:linkText>SQL Server Books Online: Joining a Secondary Replica to an Availability Group (SQL Server)</maml:linkText><maml:uri /></maml:navigationLink><maml:navigationLink><maml:linkText>SQL Server Books Online: Specifying the Endpoint URL for an Availability Replica (SQL Server)</maml:linkText><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"><command:details><command:name>Add-SqlAvailabilityGroupListenerStaticIp</command:name><maml:description><maml:para>Agrega una dirección IP estática a una configuración de agente de escucha del grupo de disponibilidad existente.</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>El cmdlet Add-SqlAvailabilityGroupListenerStaticIp agrega una dirección IP estática a una configuración del agente de escucha del grupo de disponibilidad existente. Como parámetros, acepta el AvailabilityGroupListener, la ruta de acceso y la dirección IP estática. La dirección IP estática puede ser una dirección IPv4 con subred o una dirección IPv6. Este cmdlet se puede ejecutar únicamente en la instancia del servidor que hospeda la réplica principal.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Add-SqlAvailabilityGroupListenerStaticIp</maml:name><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al agente de escucha del grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StaticIp</maml:name><maml:description><maml:para>Direcciones IP estáticas que se van a agregar al agente de escucha del grupo de disponibilidad. Este argumento debería ser una lista de cadenas. Cada cadena puede ser una dirección IPv4 y una máscara de subred en notación de barra diagonal (por ejemplo, 192.168.1.1/255.255.255.0) o una dirección IPv6.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Add-SqlAvailabilityGroupListenerStaticIp</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroupListener del agente de escucha al que va a agregar las direcciones IP.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StaticIp</maml:name><maml:description><maml:para>Direcciones IP estáticas que se van a agregar al agente de escucha del grupo de disponibilidad. Este argumento debería ser una lista de cadenas. Cada cadena puede ser una dirección IPv4 y una máscara de subred en notación de barra diagonal (por ejemplo, 192.168.1.1/255.255.255.0) o una dirección IPv6.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroupListener del agente de escucha al que va a agregar las direcciones IP.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al agente de escucha del grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" position="named" aliases=""><maml:name>StaticIp</maml:name><maml:description><maml:para>Direcciones IP estáticas que se van a agregar al agente de escucha del grupo de disponibilidad. Este argumento debería ser una lista de cadenas. Cada cadena puede ser una dirección IPv4 y una máscara de subred en notación de barra diagonal (por ejemplo, 192.168.1.1/255.255.255.0) o una dirección IPv6.
</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 1 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$path = "SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MyAg\AvailabilityGroupListeners\MyListener"
Add-SqlAvailabilityGroupListenerStaticIp -Path $path -StaticIp "2001:0db8:85a3:0000:0000:8a2e:0370:7334"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se agrega una dirección IPv4 estática al agente de escucha del grupo de disponibilidad 'MyListener' en el grupo de disponibilidad 'MyAg'. Esta dirección IPv4actúa como dirección IP virtual del agente de escucha en la subred 255.255.252.0. Si el grupo de disponibilidad abarca varias subredes, debe agregar una dirección IP estática para cada subred al agente de escucha. Los comandos de Add-SqlAvailabilityGroupListenerStaticIp deben ejecutarse en la instancia de servidor que hospeda la réplica principal.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 2 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$path = "SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MyAg\AvailabilityGroupListeners\MyListener"
Add-SqlAvailabilityGroupListenerStaticIp -Path $path -StaticIp "2001:0db8:85a3:0000:0000:8a2e:0370:7334"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando agrega una dirección IPv6 estática al agente de escucha 'MyListener' en el grupo de disponibilidad 'MyAg'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 3 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$path = "SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MyAg\AvailabilityGroupListeners\MyListener"
Add-SqlAvailabilityGroupListenerStaticIp -Path $path -StaticIp "192.168.0.1/255.255.255.0" -Script
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando da como resultado un script de Transact-SQL que agrega una dirección IPv4 estática al agente de escucha 'MyListener' en el grupo de disponibilidad 'MyAg'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Add-SqlFirewallRule</command:name><maml:description><maml:para>Agrega una regla de Firewall de Windows para permitir conexiones con una instancia específica de 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>Agrega una regla de Firewall de Windows para permitir conexiones para la instancia especificada de SQL Server. </maml:para><maml:para>El Adaptador para la nube de SQL Server debe estar en ejecución y ser accessible en el equipo que hospeda la instancia de SQL Server.</maml:para><maml:para>Este cmdlet admite los modos de funcionamiento siguientes:</maml:para><maml:para>1. Especificando la ruta de acceso de PowerShell de la instancia.</maml:para><maml:para>2. Especificando el objeto de servidor.</maml:para><maml:para>3. Especificando el valor de ServerInstance de la instancia de destino de SQL Server.</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Add-SqlFirewallRule</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Add-SqlFirewallRule</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino de SQL Server.</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="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Add-SqlFirewallRule</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</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="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino de 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
Add-SqlFirewallRule  -Credential $credential -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para>Este comando agrega una regla de Firewall de Windows en el equipo ‘Computer’ para permitir conexiones con la instancia ‘Instance’ de SQL Server en este equipo. El directorio de trabajo actual se usa para determinar la instancia de servidor donde se debe realizar la operación. El certificado autofirmado del equipo de destino se aceptará automáticamente sin preguntar al usuario.</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>This command retrieves all instances of SQL Server on the machine ‘MachineName’ and adds Windows Firewall rules to allow connections for each one of them. The self-signed certificate of the target machine will be automatically accepted without prompting the user.
PS C:\&gt;Get-SqlInstance -Credential $credential -MachineName "MachineName" | Add-SqlFirewallRule  -Credential $credential -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para></maml:para></dev:remarks><command:commandLines><command:commandLine><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: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"><command:details><command:name>Backup-SqlDatabase</command:name><maml:description><maml:para>El cmdlet Backup-SqlDatabase realiza operaciones de copia de seguridad en una base de datos de SQL Server.</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>El cmdlet Backup-SqlDatabase realiza operaciones de copia de seguridad en una base de datos de SQL Server. Esto incluye copias de seguridad completa de base de datos, copias de seguridad del registro de transacciones y copias de seguridad del archivo de base de datos. Este cmdlet se modela después de la clase Microsoft.SqlServer.Management.Smo.Backup. El parámetro de esta clase generalmente se corresponde con las propiedades en ese objeto Smo.
</maml:para><maml:para>Este cmdlet admite cuatro modos de funcionamiento para realizar la copia de seguridad de la base de datos con el nombre especificado en una instancia de servidor.
</maml:para><maml:para>1. Pase la ruta de acceso de una instancia de servidor al parámetro -Path y un nombre de base de datos al parámetro -Database.
</maml:para><maml:para>2. Pase un objeto Smo.Server al parámetro -InputObject, ya sea directamente o a través de la canalización, y un nombre de base de datos al parámetro -Database.
</maml:para><maml:para>3. Pase el nombre de una instancia de servidor al parámetro -ServerInstance y un nombre de base de datos al parámetro -Database.
</maml:para><maml:para>4. Pase un objeto Smo.Database al parámetro -DatabaseObject, ya sea directamente o a través de la canalización.
</maml:para><maml:para>De forma predeterminada, el cmdlet realiza una copia de seguridad completa de la base de datos. Puede establecer el tipo de copia de seguridad especificando el parámetro -BackupAction.
</maml:para><maml:para>De forma predeterminada, el archivo de copia de seguridad se almacena en la ubicación predeterminada de copia de seguridad del servidor con el nombre "basededatos.bak" para las copias de seguridad de archivos y/o completas y con el nombre "basededatos.trn" para las copias de seguridad de registros.
</maml:para><maml:para>Puede establecer la ubicación y el nombre del archivo de copia de seguridad si especifica el parámetro -BackupFile. Use el parámetro BackupFile para especificar un nombre de archivo de copia de seguridad completo que incluya tanto la ubicación como el nombre del archivo.
</maml:para><maml:para>El parámetro BackupContainer se emplea para establecer la ubicación del archivo de copia de seguridad. En este caso, el nombre del archivo de copia de seguridad se genera automáticamente. BackupContainer Use el parámetro BackupContainer para especificar solamente la ubicación del archivo de copia de seguridad. Para obtener más información, vea la descripción del parámetro BackupContainer.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Backup-SqlDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Nombre de la base de datos de la que se realiza una copia de seguridad. -Database no se puede usar con el parámetro -DatabaseObject. Cuando
</maml:para><maml:para>se especifica el parámetro -Database, también debe especificarse el parámetro -Path, -InputObject o -ServerInstance.
</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="3" aliases=""><maml:name>BackupFile</maml:name><maml:description><maml:para>Ubicación y nombre de archivo de la copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, las copias de seguridad se almacenan en la ubicación de copia de seguridad predeterminada del servidor con el nombre "basededatos.bak" para las copias de seguridad de archivos y/o completas o con el nombre "basededatos.trn" para las copias de seguridad de registros. Este parámetro no se puede usar con el parámetro BackupDevice o BackupContainer.
</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" aliases=""><maml:name>BackupAction</maml:name><maml:description><maml:para>Tipo de operación de copia de seguridad que se va a realizar. Las opciones válidas son Database, Files o Log, según se indica a continuación:
</maml:para><maml:para>Database: realiza una copia de seguridad de todos los archivos de datos de la base de datos.
</maml:para><maml:para>Files: realiza una copia de seguridad de los archivos de datos especificados. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</maml:para><maml:para>Log: realiza una copia de seguridad del registro de transacciones.
</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" aliases=""><maml:name>BackupContainer</maml:name><maml:description><maml:para>Carpeta o ubicación donde se almacenan las copias de seguridad. Puede ser una carpeta de un disco o una dirección URL de un contenedor de blobs de Windows Azure. Este parámetro puede ser útil cuando se hace copia de seguridad de varias bases de datos en una instancia determinada. Este parámetro no se puede usar con un parámetro BackupDevice. El parámetro BackupContainer no se puede usar con el parámetro BackupFile.
</maml:para><maml:para>Nota: la ruta de acceso empleada para especificar la ubicación debe terminar con un carácter de barra diagonal (/).
</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" aliases=""><maml:name>BackupDevice</maml:name><maml:description><maml:para>Dispositivos donde se almacenan las copias de seguridad. Este parámetro no se puede usar con el parámetro BackupFile. Use este parámetro si va a realizar la copia de seguridad en una cinta.
</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" aliases=""><maml:name>BackupSetDescription</maml:name><maml:description><maml:para>Descripción opcional del conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupSetName</maml:name><maml:description><maml:para>Nombre del conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BlockSize</maml:name><maml:description><maml:para>Tamaño de bloque físico de la copia de seguridad, en bytes. Los tamaños admitidos son 512, 1024, 2048, 4096, 8192, 16384, 32768 y 65536 (64 KB) bytes. El valor predeterminado es 65536 para dispositivos de cinta y 512 para otros dispositivos.
</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" aliases=""><maml:name>BufferCount</maml:name><maml:description><maml:para>Número total de búferes de E/S que se van a utilizar para la operación de copia de seguridad. Puede especificar cualquier entero positivo. Si se usan muchos búferes pueden producirse errores de "memoria insuficiente" causados por un espacio de direcciones virtuales insuficiente en el proceso Sqlservr.exe.
</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" aliases=""><maml:name>Checksum</maml:name><maml:description><maml:para>Calcula el valor de la suma de comprobación durante una operación de copia de seguridad. Si no se establece, no se calcula el valor de la suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>CompressionOption</maml:name><maml:description><maml:para>Opciones de compresión para la operación de copia de seguridad. Las opciones son Default, On y 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" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>La operación continúa cuando se produce un error de suma de comprobación. Si no se establece, la operación dará error cuando se produzca un error de suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>CopyOnly</maml:name><maml:description><maml:para>La copia de seguridad es de solo copia. Una copia de seguridad de solo copia no afecta a la secuencia normal de las copias de seguridad convencionales programadas regularmente.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DatabaseFile</maml:name><maml:description><maml:para>Una o varios archivos de base de datos de los que se va a hacer una copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>DatabaseFileGroup</maml:name><maml:description><maml:para>Grupos de archivos de copia de seguridad que constituyen el destino de la operación de copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>EncryptionOption</maml:name><maml:description><maml:para>Opciones de cifrado para la operación de copia de seguridad.
</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" aliases=""><maml:name>ExpirationDate</maml:name><maml:description><maml:para>Fecha y hora en que expira el conjunto de copia de seguridad y los datos de copia de seguridad dejan de ser válidos. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta. Los conjuntos de copia de seguridad anteriores a la fecha en la que expira la copia de seguridad se pueden sobrescribir con una copia de seguridad posterior.
</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" aliases=""><maml:name>FormatMedia</maml:name><maml:description><maml:para>Da formato a la cinta como primer paso de la operación de copia de seguridad. No se aplica a una copia de seguridad de disco.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Incremental</maml:name><maml:description><maml:para>Realiza una copia de seguridad diferencial.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Initialize</maml:name><maml:description><maml:para>Los dispositivos asociados a la operación de copia de seguridad se inicializan. Sobrescribe los conjuntos de copia de seguridad existentes en el medio y esta copia de seguridad se convierte en el primer conjunto de copia de seguridad del medio.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>LogTruncationType</maml:name><maml:description><maml:para>Comportamiento del truncamiento de las copias de seguridad de registros. Las opciones son TruncateOnly, NoTruncate o Truncate. De forma predeterminada, esta opción se establece en 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" aliases=""><maml:name>MaxTransferSize</maml:name><maml:description><maml:para>Número máximo de bytes que se van a transferir entre el medio de copia de seguridad y la instancia de SQL Server. Los valores posibles son múltiplos de 65536 bytes (64 KB), hasta un máximo de 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" aliases=""><maml:name>MediaDescription</maml:name><maml:description><maml:para>Descripción opcional del medio que contiene el conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MediaName</maml:name><maml:description><maml:para>Nombre usado para identificar el conjunto de medios.
</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" aliases=""><maml:name>MirrorDevices</maml:name><maml:description><maml:para>Especifica una matriz de objetos BackupDeviceList que se usa en la copia de seguridad reflejada.
</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" aliases=""><maml:name>NoRecovery</maml:name><maml:description><maml:para>No realiza la copia de seguridad del final del registro. Cuando se restaura, la base de datos está en el estado de restauración. Cuando no se establece, se hace la copia de seguridad del final del registro. Solo se aplica cuando el parámetro -BackupAction se establece en Log.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRewind</maml:name><maml:description><maml:para>Deja una unidad de cinta abierta en la posición final cuando la copia de seguridad se completa. Cuando no se establece, la cinta se rebobina una vez que se completa la operación. No se aplica a las copias de seguridad de disco o de direcciones URL.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>PassThru</maml:name><maml:description><maml:para>Cuando se establece, da como resultado el objeto Smo Backup que realizó la copia de seguridad.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en el que desea ejecutar la operación de copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>Continúa procesando una operación de copia de seguridad completada parcialmente. Si no se establece (valor predeterminado), el cmdlet reinicia desde el principio del conjunto de copia de seguridad una operación de copia de seguridad interrumpida.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetainDays</maml:name><maml:description><maml:para>Número de días que deben transcurrir para que se pueda sobrescribir un conjunto de copia de seguridad. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SkipTapeHeader</maml:name><maml:description><maml:para>Salta la lectura del encabezado de cinta.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>El objeto Credential de SQL Server almacena información de autenticación. Es un parámetro obligatorio cuando se realiza la copia de seguridad en un servicio de almacenamiento Blob (dirección URL) de Windows Azure. La información de autenticación almacenada incluye el nombre de la cuenta de almacenamiento de Windows Azure y los valores de clave de acceso asociados. Este parámetro no se usa cuando la copia de seguridad se realiza en un disco o en una cinta. Puede proporcionar el nombre del objeto Credential de SQL Server o pasar el objeto a través de una canalización.
</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" aliases=""><maml:name>UndoFileName</maml:name><maml:description><maml:para>Nombre del archivo para deshacer usado para almacenar las transacciones no confirmadas que se revierten durante la recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>UnloadTapeAfter</maml:name><maml:description><maml:para>El dispositivo de cinta se rebobina y se descarga cuando la operación finaliza. Si no se establece, no se intenta rebobinar ni descargar el medio de cinta. No se aplica a las copias de seguridad de disco o de direcciones URL.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Backup-SqlDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>DatabaseObject</maml:name><maml:description><maml:para>Objeto Database. La operación de copia de seguridad se realizará en esta base de datos.
</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="3" aliases=""><maml:name>BackupFile</maml:name><maml:description><maml:para>Ubicación y nombre de archivo de la copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, las copias de seguridad se almacenan en la ubicación de copia de seguridad predeterminada del servidor con el nombre "basededatos.bak" para las copias de seguridad de archivos y/o completas o con el nombre "basededatos.trn" para las copias de seguridad de registros. Este parámetro no se puede usar con el parámetro BackupDevice o BackupContainer.
</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" aliases=""><maml:name>BackupAction</maml:name><maml:description><maml:para>Tipo de operación de copia de seguridad que se va a realizar. Las opciones válidas son Database, Files o Log, según se indica a continuación:
</maml:para><maml:para>Database: realiza una copia de seguridad de todos los archivos de datos de la base de datos.
</maml:para><maml:para>Files: realiza una copia de seguridad de los archivos de datos especificados. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</maml:para><maml:para>Log: realiza una copia de seguridad del registro de transacciones.
</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" aliases=""><maml:name>BackupContainer</maml:name><maml:description><maml:para>Carpeta o ubicación donde se almacenan las copias de seguridad. Puede ser una carpeta de un disco o una dirección URL de un contenedor de blobs de Windows Azure. Este parámetro puede ser útil cuando se hace copia de seguridad de varias bases de datos en una instancia determinada. Este parámetro no se puede usar con un parámetro BackupDevice. El parámetro BackupContainer no se puede usar con el parámetro BackupFile.
</maml:para><maml:para>Nota: la ruta de acceso empleada para especificar la ubicación debe terminar con un carácter de barra diagonal (/).
</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" aliases=""><maml:name>BackupDevice</maml:name><maml:description><maml:para>Dispositivos donde se almacenan las copias de seguridad. Este parámetro no se puede usar con el parámetro BackupFile. Use este parámetro si va a realizar la copia de seguridad en una cinta.
</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" aliases=""><maml:name>BackupSetDescription</maml:name><maml:description><maml:para>Descripción opcional del conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupSetName</maml:name><maml:description><maml:para>Nombre del conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BlockSize</maml:name><maml:description><maml:para>Tamaño de bloque físico de la copia de seguridad, en bytes. Los tamaños admitidos son 512, 1024, 2048, 4096, 8192, 16384, 32768 y 65536 (64 KB) bytes. El valor predeterminado es 65536 para dispositivos de cinta y 512 para otros dispositivos.
</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" aliases=""><maml:name>BufferCount</maml:name><maml:description><maml:para>Número total de búferes de E/S que se van a utilizar para la operación de copia de seguridad. Puede especificar cualquier entero positivo. Si se usan muchos búferes pueden producirse errores de "memoria insuficiente" causados por un espacio de direcciones virtuales insuficiente en el proceso Sqlservr.exe.
</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" aliases=""><maml:name>Checksum</maml:name><maml:description><maml:para>Calcula el valor de la suma de comprobación durante una operación de copia de seguridad. Si no se establece, no se calcula el valor de la suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>CompressionOption</maml:name><maml:description><maml:para>Opciones de compresión para la operación de copia de seguridad. Las opciones son Default, On y 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" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>La operación continúa cuando se produce un error de suma de comprobación. Si no se establece, la operación dará error cuando se produzca un error de suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>CopyOnly</maml:name><maml:description><maml:para>La copia de seguridad es de solo copia. Una copia de seguridad de solo copia no afecta a la secuencia normal de las copias de seguridad convencionales programadas regularmente.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DatabaseFile</maml:name><maml:description><maml:para>Una o varios archivos de base de datos de los que se va a hacer una copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>DatabaseFileGroup</maml:name><maml:description><maml:para>Grupos de archivos de copia de seguridad que constituyen el destino de la operación de copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>EncryptionOption</maml:name><maml:description><maml:para>Opciones de cifrado para la operación de copia de seguridad.
</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" aliases=""><maml:name>ExpirationDate</maml:name><maml:description><maml:para>Fecha y hora en que expira el conjunto de copia de seguridad y los datos de copia de seguridad dejan de ser válidos. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta. Los conjuntos de copia de seguridad anteriores a la fecha en la que expira la copia de seguridad se pueden sobrescribir con una copia de seguridad posterior.
</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" aliases=""><maml:name>FormatMedia</maml:name><maml:description><maml:para>Da formato a la cinta como primer paso de la operación de copia de seguridad. No se aplica a una copia de seguridad de disco.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Incremental</maml:name><maml:description><maml:para>Realiza una copia de seguridad diferencial.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Initialize</maml:name><maml:description><maml:para>Los dispositivos asociados a la operación de copia de seguridad se inicializan. Sobrescribe los conjuntos de copia de seguridad existentes en el medio y esta copia de seguridad se convierte en el primer conjunto de copia de seguridad del medio.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>LogTruncationType</maml:name><maml:description><maml:para>Comportamiento del truncamiento de las copias de seguridad de registros. Las opciones son TruncateOnly, NoTruncate o Truncate. De forma predeterminada, esta opción se establece en 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" aliases=""><maml:name>MaxTransferSize</maml:name><maml:description><maml:para>Número máximo de bytes que se van a transferir entre el medio de copia de seguridad y la instancia de SQL Server. Los valores posibles son múltiplos de 65536 bytes (64 KB), hasta un máximo de 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" aliases=""><maml:name>MediaDescription</maml:name><maml:description><maml:para>Descripción opcional del medio que contiene el conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MediaName</maml:name><maml:description><maml:para>Nombre usado para identificar el conjunto de medios.
</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" aliases=""><maml:name>MirrorDevices</maml:name><maml:description><maml:para>Especifica una matriz de objetos BackupDeviceList que se usa en la copia de seguridad reflejada.
</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" aliases=""><maml:name>NoRecovery</maml:name><maml:description><maml:para>No realiza la copia de seguridad del final del registro. Cuando se restaura, la base de datos está en el estado de restauración. Cuando no se establece, se hace la copia de seguridad del final del registro. Solo se aplica cuando el parámetro -BackupAction se establece en Log.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRewind</maml:name><maml:description><maml:para>Deja una unidad de cinta abierta en la posición final cuando la copia de seguridad se completa. Cuando no se establece, la cinta se rebobina una vez que se completa la operación. No se aplica a las copias de seguridad de disco o de direcciones URL.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>PassThru</maml:name><maml:description><maml:para>Cuando se establece, da como resultado el objeto Smo Backup que realizó la copia de seguridad.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>Continúa procesando una operación de copia de seguridad completada parcialmente. Si no se establece (valor predeterminado), el cmdlet reinicia desde el principio del conjunto de copia de seguridad una operación de copia de seguridad interrumpida.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetainDays</maml:name><maml:description><maml:para>Número de días que deben transcurrir para que se pueda sobrescribir un conjunto de copia de seguridad. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SkipTapeHeader</maml:name><maml:description><maml:para>Salta la lectura del encabezado de cinta.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>El objeto Credential de SQL Server almacena información de autenticación. Es un parámetro obligatorio cuando se realiza la copia de seguridad en un servicio de almacenamiento Blob (dirección URL) de Windows Azure. La información de autenticación almacenada incluye el nombre de la cuenta de almacenamiento de Windows Azure y los valores de clave de acceso asociados. Este parámetro no se usa cuando la copia de seguridad se realiza en un disco o en una cinta. Puede proporcionar el nombre del objeto Credential de SQL Server o pasar el objeto a través de una canalización.
</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" aliases=""><maml:name>UndoFileName</maml:name><maml:description><maml:para>Nombre del archivo para deshacer usado para almacenar las transacciones no confirmadas que se revierten durante la recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>UnloadTapeAfter</maml:name><maml:description><maml:para>El dispositivo de cinta se rebobina y se descarga cuando la operación finaliza. Si no se establece, no se intenta rebobinar ni descargar el medio de cinta. No se aplica a las copias de seguridad de disco o de direcciones URL.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Backup-SqlDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Nombre de la base de datos de la que se realiza una copia de seguridad. -Database no se puede usar con el parámetro -DatabaseObject. Cuando
</maml:para><maml:para>se especifica el parámetro -Database, también debe especificarse el parámetro -Path, -InputObject o -ServerInstance.
</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="3" aliases=""><maml:name>BackupFile</maml:name><maml:description><maml:para>Ubicación y nombre de archivo de la copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, las copias de seguridad se almacenan en la ubicación de copia de seguridad predeterminada del servidor con el nombre "basededatos.bak" para las copias de seguridad de archivos y/o completas o con el nombre "basededatos.trn" para las copias de seguridad de registros. Este parámetro no se puede usar con el parámetro BackupDevice o BackupContainer.
</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" aliases=""><maml:name>BackupAction</maml:name><maml:description><maml:para>Tipo de operación de copia de seguridad que se va a realizar. Las opciones válidas son Database, Files o Log, según se indica a continuación:
</maml:para><maml:para>Database: realiza una copia de seguridad de todos los archivos de datos de la base de datos.
</maml:para><maml:para>Files: realiza una copia de seguridad de los archivos de datos especificados. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</maml:para><maml:para>Log: realiza una copia de seguridad del registro de transacciones.
</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" aliases=""><maml:name>BackupContainer</maml:name><maml:description><maml:para>Carpeta o ubicación donde se almacenan las copias de seguridad. Puede ser una carpeta de un disco o una dirección URL de un contenedor de blobs de Windows Azure. Este parámetro puede ser útil cuando se hace copia de seguridad de varias bases de datos en una instancia determinada. Este parámetro no se puede usar con un parámetro BackupDevice. El parámetro BackupContainer no se puede usar con el parámetro BackupFile.
</maml:para><maml:para>Nota: la ruta de acceso empleada para especificar la ubicación debe terminar con un carácter de barra diagonal (/).
</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" aliases=""><maml:name>BackupDevice</maml:name><maml:description><maml:para>Dispositivos donde se almacenan las copias de seguridad. Este parámetro no se puede usar con el parámetro BackupFile. Use este parámetro si va a realizar la copia de seguridad en una cinta.
</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" aliases=""><maml:name>BackupSetDescription</maml:name><maml:description><maml:para>Descripción opcional del conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupSetName</maml:name><maml:description><maml:para>Nombre del conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BlockSize</maml:name><maml:description><maml:para>Tamaño de bloque físico de la copia de seguridad, en bytes. Los tamaños admitidos son 512, 1024, 2048, 4096, 8192, 16384, 32768 y 65536 (64 KB) bytes. El valor predeterminado es 65536 para dispositivos de cinta y 512 para otros dispositivos.
</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" aliases=""><maml:name>BufferCount</maml:name><maml:description><maml:para>Número total de búferes de E/S que se van a utilizar para la operación de copia de seguridad. Puede especificar cualquier entero positivo. Si se usan muchos búferes pueden producirse errores de "memoria insuficiente" causados por un espacio de direcciones virtuales insuficiente en el proceso Sqlservr.exe.
</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" aliases=""><maml:name>Checksum</maml:name><maml:description><maml:para>Calcula el valor de la suma de comprobación durante una operación de copia de seguridad. Si no se establece, no se calcula el valor de la suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>CompressionOption</maml:name><maml:description><maml:para>Opciones de compresión para la operación de copia de seguridad. Las opciones son Default, On y 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" aliases=""><maml:name>ConnectionTimeout</maml:name><maml:description><maml:para>Número de segundos que hay que esperar a que se establezca una conexión de servidor antes de que se produzca un error de tiempo de espera. El valor del tiempo de espera debe ser un entero comprendido entre 0 y 65534. Si se especifica 0, los intentos de conexión no tienen tiempo de espera.
</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" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>La operación continúa cuando se produce un error de suma de comprobación. Si no se establece, la operación dará error cuando se produzca un error de suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>CopyOnly</maml:name><maml:description><maml:para>La copia de seguridad es de solo copia. Una copia de seguridad de solo copia no afecta a la secuencia normal de las copias de seguridad convencionales programadas regularmente.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Objeto PSCredential que se usa para especificar las credenciales de un inicio de sesión de SQL Server que tiene permiso para realizar esta operación.
 
No es el objeto Credential de SQL que se emplea para almacenar la información de autenticación que SQL Server usa internamente al obtener acceso a recursos ajenos a SQL Server.
</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" aliases=""><maml:name>DatabaseFile</maml:name><maml:description><maml:para>Una o varios archivos de base de datos de los que se va a hacer una copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>DatabaseFileGroup</maml:name><maml:description><maml:para>Grupos de archivos de copia de seguridad que constituyen el destino de la operación de copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>EncryptionOption</maml:name><maml:description><maml:para>Opciones de cifrado para la operación de copia de seguridad.
</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" aliases=""><maml:name>ExpirationDate</maml:name><maml:description><maml:para>Fecha y hora en que expira el conjunto de copia de seguridad y los datos de copia de seguridad dejan de ser válidos. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta. Los conjuntos de copia de seguridad anteriores a la fecha en la que expira la copia de seguridad se pueden sobrescribir con una copia de seguridad posterior.
</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" aliases=""><maml:name>FormatMedia</maml:name><maml:description><maml:para>Da formato a la cinta como primer paso de la operación de copia de seguridad. No se aplica a una copia de seguridad de disco.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Incremental</maml:name><maml:description><maml:para>Realiza una copia de seguridad diferencial.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Initialize</maml:name><maml:description><maml:para>Los dispositivos asociados a la operación de copia de seguridad se inicializan. Sobrescribe los conjuntos de copia de seguridad existentes en el medio y esta copia de seguridad se convierte en el primer conjunto de copia de seguridad del medio.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>LogTruncationType</maml:name><maml:description><maml:para>Comportamiento del truncamiento de las copias de seguridad de registros. Las opciones son TruncateOnly, NoTruncate o Truncate. De forma predeterminada, esta opción se establece en 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" aliases=""><maml:name>MaxTransferSize</maml:name><maml:description><maml:para>Número máximo de bytes que se van a transferir entre el medio de copia de seguridad y la instancia de SQL Server. Los valores posibles son múltiplos de 65536 bytes (64 KB), hasta un máximo de 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" aliases=""><maml:name>MediaDescription</maml:name><maml:description><maml:para>Descripción opcional del medio que contiene el conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MediaName</maml:name><maml:description><maml:para>Nombre usado para identificar el conjunto de medios.
</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" aliases=""><maml:name>MirrorDevices</maml:name><maml:description><maml:para>Especifica una matriz de objetos BackupDeviceList que se usa en la copia de seguridad reflejada.
</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" aliases=""><maml:name>NoRecovery</maml:name><maml:description><maml:para>No realiza la copia de seguridad del final del registro. Cuando se restaura, la base de datos está en el estado de restauración. Cuando no se establece, se hace la copia de seguridad del final del registro. Solo se aplica cuando el parámetro -BackupAction se establece en Log.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRewind</maml:name><maml:description><maml:para>Deja una unidad de cinta abierta en la posición final cuando la copia de seguridad se completa. Cuando no se establece, la cinta se rebobina una vez que se completa la operación. No se aplica a las copias de seguridad de disco o de direcciones URL.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>PassThru</maml:name><maml:description><maml:para>Cuando se establece, da como resultado el objeto Smo Backup que realizó la copia de seguridad.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>Continúa procesando una operación de copia de seguridad completada parcialmente. Si no se establece (valor predeterminado), el cmdlet reinicia desde el principio del conjunto de copia de seguridad una operación de copia de seguridad interrumpida.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetainDays</maml:name><maml:description><maml:para>Número de días que deben transcurrir para que se pueda sobrescribir un conjunto de copia de seguridad. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SkipTapeHeader</maml:name><maml:description><maml:para>Salta la lectura del encabezado de cinta.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>El objeto Credential de SQL Server almacena información de autenticación. Es un parámetro obligatorio cuando se realiza la copia de seguridad en un servicio de almacenamiento Blob (dirección URL) de Windows Azure. La información de autenticación almacenada incluye el nombre de la cuenta de almacenamiento de Windows Azure y los valores de clave de acceso asociados. Este parámetro no se usa cuando la copia de seguridad se realiza en un disco o en una cinta. Puede proporcionar el nombre del objeto Credential de SQL Server o pasar el objeto a través de una canalización.
</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" aliases=""><maml:name>UndoFileName</maml:name><maml:description><maml:para>Nombre del archivo para deshacer usado para almacenar las transacciones no confirmadas que se revierten durante la recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>UnloadTapeAfter</maml:name><maml:description><maml:para>El dispositivo de cinta se rebobina y se descarga cuando la operación finaliza. Si no se establece, no se intenta rebobinar ni descargar el medio de cinta. No se aplica a las copias de seguridad de disco o de direcciones URL.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de una instancia de SQL Server. Esta instancia de servidor se convierte en el destino de la operación de copia de seguridad.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Backup-SqlDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Nombre de la base de datos de la que se realiza una copia de seguridad. -Database no se puede usar con el parámetro -DatabaseObject. Cuando
</maml:para><maml:para>se especifica el parámetro -Database, también debe especificarse el parámetro -Path, -InputObject o -ServerInstance.
</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="3" aliases=""><maml:name>BackupFile</maml:name><maml:description><maml:para>Ubicación y nombre de archivo de la copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, las copias de seguridad se almacenan en la ubicación de copia de seguridad predeterminada del servidor con el nombre "basededatos.bak" para las copias de seguridad de archivos y/o completas o con el nombre "basededatos.trn" para las copias de seguridad de registros. Este parámetro no se puede usar con el parámetro BackupDevice o BackupContainer.
</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" aliases=""><maml:name>BackupAction</maml:name><maml:description><maml:para>Tipo de operación de copia de seguridad que se va a realizar. Las opciones válidas son Database, Files o Log, según se indica a continuación:
</maml:para><maml:para>Database: realiza una copia de seguridad de todos los archivos de datos de la base de datos.
</maml:para><maml:para>Files: realiza una copia de seguridad de los archivos de datos especificados. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</maml:para><maml:para>Log: realiza una copia de seguridad del registro de transacciones.
</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" aliases=""><maml:name>BackupContainer</maml:name><maml:description><maml:para>Carpeta o ubicación donde se almacenan las copias de seguridad. Puede ser una carpeta de un disco o una dirección URL de un contenedor de blobs de Windows Azure. Este parámetro puede ser útil cuando se hace copia de seguridad de varias bases de datos en una instancia determinada. Este parámetro no se puede usar con un parámetro BackupDevice. El parámetro BackupContainer no se puede usar con el parámetro BackupFile.
</maml:para><maml:para>Nota: la ruta de acceso empleada para especificar la ubicación debe terminar con un carácter de barra diagonal (/).
</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" aliases=""><maml:name>BackupDevice</maml:name><maml:description><maml:para>Dispositivos donde se almacenan las copias de seguridad. Este parámetro no se puede usar con el parámetro BackupFile. Use este parámetro si va a realizar la copia de seguridad en una cinta.
</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" aliases=""><maml:name>BackupSetDescription</maml:name><maml:description><maml:para>Descripción opcional del conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupSetName</maml:name><maml:description><maml:para>Nombre del conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BlockSize</maml:name><maml:description><maml:para>Tamaño de bloque físico de la copia de seguridad, en bytes. Los tamaños admitidos son 512, 1024, 2048, 4096, 8192, 16384, 32768 y 65536 (64 KB) bytes. El valor predeterminado es 65536 para dispositivos de cinta y 512 para otros dispositivos.
</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" aliases=""><maml:name>BufferCount</maml:name><maml:description><maml:para>Número total de búferes de E/S que se van a utilizar para la operación de copia de seguridad. Puede especificar cualquier entero positivo. Si se usan muchos búferes pueden producirse errores de "memoria insuficiente" causados por un espacio de direcciones virtuales insuficiente en el proceso Sqlservr.exe.
</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" aliases=""><maml:name>Checksum</maml:name><maml:description><maml:para>Calcula el valor de la suma de comprobación durante una operación de copia de seguridad. Si no se establece, no se calcula el valor de la suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>CompressionOption</maml:name><maml:description><maml:para>Opciones de compresión para la operación de copia de seguridad. Las opciones son Default, On y 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" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>La operación continúa cuando se produce un error de suma de comprobación. Si no se establece, la operación dará error cuando se produzca un error de suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>CopyOnly</maml:name><maml:description><maml:para>La copia de seguridad es de solo copia. Una copia de seguridad de solo copia no afecta a la secuencia normal de las copias de seguridad convencionales programadas regularmente.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DatabaseFile</maml:name><maml:description><maml:para>Una o varios archivos de base de datos de los que se va a hacer una copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>DatabaseFileGroup</maml:name><maml:description><maml:para>Grupos de archivos de copia de seguridad que constituyen el destino de la operación de copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>EncryptionOption</maml:name><maml:description><maml:para>Opciones de cifrado para la operación de copia de seguridad.
</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" aliases=""><maml:name>ExpirationDate</maml:name><maml:description><maml:para>Fecha y hora en que expira el conjunto de copia de seguridad y los datos de copia de seguridad dejan de ser válidos. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta. Los conjuntos de copia de seguridad anteriores a la fecha en la que expira la copia de seguridad se pueden sobrescribir con una copia de seguridad posterior.
</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" aliases=""><maml:name>FormatMedia</maml:name><maml:description><maml:para>Da formato a la cinta como primer paso de la operación de copia de seguridad. No se aplica a una copia de seguridad de disco.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Incremental</maml:name><maml:description><maml:para>Realiza una copia de seguridad diferencial.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Initialize</maml:name><maml:description><maml:para>Los dispositivos asociados a la operación de copia de seguridad se inicializan. Sobrescribe los conjuntos de copia de seguridad existentes en el medio y esta copia de seguridad se convierte en el primer conjunto de copia de seguridad del medio.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>LogTruncationType</maml:name><maml:description><maml:para>Comportamiento del truncamiento de las copias de seguridad de registros. Las opciones son TruncateOnly, NoTruncate o Truncate. De forma predeterminada, esta opción se establece en 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" aliases=""><maml:name>MaxTransferSize</maml:name><maml:description><maml:para>Número máximo de bytes que se van a transferir entre el medio de copia de seguridad y la instancia de SQL Server. Los valores posibles son múltiplos de 65536 bytes (64 KB), hasta un máximo de 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" aliases=""><maml:name>MediaDescription</maml:name><maml:description><maml:para>Descripción opcional del medio que contiene el conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MediaName</maml:name><maml:description><maml:para>Nombre usado para identificar el conjunto de medios.
</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" aliases=""><maml:name>MirrorDevices</maml:name><maml:description><maml:para>Especifica una matriz de objetos BackupDeviceList que se usa en la copia de seguridad reflejada.
</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" aliases=""><maml:name>NoRecovery</maml:name><maml:description><maml:para>No realiza la copia de seguridad del final del registro. Cuando se restaura, la base de datos está en el estado de restauración. Cuando no se establece, se hace la copia de seguridad del final del registro. Solo se aplica cuando el parámetro -BackupAction se establece en Log.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRewind</maml:name><maml:description><maml:para>Deja una unidad de cinta abierta en la posición final cuando la copia de seguridad se completa. Cuando no se establece, la cinta se rebobina una vez que se completa la operación. No se aplica a las copias de seguridad de disco o de direcciones URL.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>PassThru</maml:name><maml:description><maml:para>Cuando se establece, da como resultado el objeto Smo Backup que realizó la copia de seguridad.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>Continúa procesando una operación de copia de seguridad completada parcialmente. Si no se establece (valor predeterminado), el cmdlet reinicia desde el principio del conjunto de copia de seguridad una operación de copia de seguridad interrumpida.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetainDays</maml:name><maml:description><maml:para>Número de días que deben transcurrir para que se pueda sobrescribir un conjunto de copia de seguridad. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SkipTapeHeader</maml:name><maml:description><maml:para>Salta la lectura del encabezado de cinta.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>El objeto Credential de SQL Server almacena información de autenticación. Es un parámetro obligatorio cuando se realiza la copia de seguridad en un servicio de almacenamiento Blob (dirección URL) de Windows Azure. La información de autenticación almacenada incluye el nombre de la cuenta de almacenamiento de Windows Azure y los valores de clave de acceso asociados. Este parámetro no se usa cuando la copia de seguridad se realiza en un disco o en una cinta. Puede proporcionar el nombre del objeto Credential de SQL Server o pasar el objeto a través de una canalización.
</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" aliases=""><maml:name>UndoFileName</maml:name><maml:description><maml:para>Nombre del archivo para deshacer usado para almacenar las transacciones no confirmadas que se revierten durante la recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>UnloadTapeAfter</maml:name><maml:description><maml:para>El dispositivo de cinta se rebobina y se descarga cuando la operación finaliza. Si no se establece, no se intenta rebobinar ni descargar el medio de cinta. No se aplica a las copias de seguridad de disco o de direcciones URL.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la ubicación donde debe realizarse la copia de seguridad.
</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="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Backup-SqlDatabase</maml:name><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="3" aliases=""><maml:name>BackupFile</maml:name><maml:description><maml:para>Ubicación y nombre de archivo de la copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, las copias de seguridad se almacenan en la ubicación de copia de seguridad predeterminada del servidor con el nombre "basededatos.bak" para las copias de seguridad de archivos y/o completas o con el nombre "basededatos.trn" para las copias de seguridad de registros. Este parámetro no se puede usar con el parámetro BackupDevice o BackupContainer.
</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" aliases=""><maml:name>BackupAction</maml:name><maml:description><maml:para>Tipo de operación de copia de seguridad que se va a realizar. Las opciones válidas son Database, Files o Log, según se indica a continuación:
</maml:para><maml:para>Database: realiza una copia de seguridad de todos los archivos de datos de la base de datos.
</maml:para><maml:para>Files: realiza una copia de seguridad de los archivos de datos especificados. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</maml:para><maml:para>Log: realiza una copia de seguridad del registro de transacciones.
</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" aliases=""><maml:name>BackupContainer</maml:name><maml:description><maml:para>Carpeta o ubicación donde se almacenan las copias de seguridad. Puede ser una carpeta de un disco o una dirección URL de un contenedor de blobs de Windows Azure. Este parámetro puede ser útil cuando se hace copia de seguridad de varias bases de datos en una instancia determinada. Este parámetro no se puede usar con un parámetro BackupDevice. El parámetro BackupContainer no se puede usar con el parámetro BackupFile.
</maml:para><maml:para>Nota: la ruta de acceso empleada para especificar la ubicación debe terminar con un carácter de barra diagonal (/).
</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" aliases=""><maml:name>BackupDevice</maml:name><maml:description><maml:para>Dispositivos donde se almacenan las copias de seguridad. Este parámetro no se puede usar con el parámetro BackupFile. Use este parámetro si va a realizar la copia de seguridad en una cinta.
</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" aliases=""><maml:name>BackupSetDescription</maml:name><maml:description><maml:para>Descripción opcional del conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupSetName</maml:name><maml:description><maml:para>Nombre del conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BlockSize</maml:name><maml:description><maml:para>Tamaño de bloque físico de la copia de seguridad, en bytes. Los tamaños admitidos son 512, 1024, 2048, 4096, 8192, 16384, 32768 y 65536 (64 KB) bytes. El valor predeterminado es 65536 para dispositivos de cinta y 512 para otros dispositivos.
</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" aliases=""><maml:name>BufferCount</maml:name><maml:description><maml:para>Número total de búferes de E/S que se van a utilizar para la operación de copia de seguridad. Puede especificar cualquier entero positivo. Si se usan muchos búferes pueden producirse errores de "memoria insuficiente" causados por un espacio de direcciones virtuales insuficiente en el proceso Sqlservr.exe.
</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" aliases=""><maml:name>Checksum</maml:name><maml:description><maml:para>Calcula el valor de la suma de comprobación durante una operación de copia de seguridad. Si no se establece, no se calcula el valor de la suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>CompressionOption</maml:name><maml:description><maml:para>Opciones de compresión para la operación de copia de seguridad. Las opciones son Default, On y 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" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>La operación continúa cuando se produce un error de suma de comprobación. Si no se establece, la operación dará error cuando se produzca un error de suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>CopyOnly</maml:name><maml:description><maml:para>La copia de seguridad es de solo copia. Una copia de seguridad de solo copia no afecta a la secuencia normal de las copias de seguridad convencionales programadas regularmente.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DatabaseFile</maml:name><maml:description><maml:para>Una o varios archivos de base de datos de los que se va a hacer una copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>DatabaseFileGroup</maml:name><maml:description><maml:para>Grupos de archivos de copia de seguridad que constituyen el destino de la operación de copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>EncryptionOption</maml:name><maml:description><maml:para>Opciones de cifrado para la operación de copia de seguridad.
</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" aliases=""><maml:name>ExpirationDate</maml:name><maml:description><maml:para>Fecha y hora en que expira el conjunto de copia de seguridad y los datos de copia de seguridad dejan de ser válidos. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta. Los conjuntos de copia de seguridad anteriores a la fecha en la que expira la copia de seguridad se pueden sobrescribir con una copia de seguridad posterior.
</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" aliases=""><maml:name>FormatMedia</maml:name><maml:description><maml:para>Da formato a la cinta como primer paso de la operación de copia de seguridad. No se aplica a una copia de seguridad de disco.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Incremental</maml:name><maml:description><maml:para>Realiza una copia de seguridad diferencial.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Initialize</maml:name><maml:description><maml:para>Los dispositivos asociados a la operación de copia de seguridad se inicializan. Sobrescribe los conjuntos de copia de seguridad existentes en el medio y esta copia de seguridad se convierte en el primer conjunto de copia de seguridad del medio.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>LogTruncationType</maml:name><maml:description><maml:para>Comportamiento del truncamiento de las copias de seguridad de registros. Las opciones son TruncateOnly, NoTruncate o Truncate. De forma predeterminada, esta opción se establece en 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" aliases=""><maml:name>MaxTransferSize</maml:name><maml:description><maml:para>Número máximo de bytes que se van a transferir entre el medio de copia de seguridad y la instancia de SQL Server. Los valores posibles son múltiplos de 65536 bytes (64 KB), hasta un máximo de 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" aliases=""><maml:name>MediaDescription</maml:name><maml:description><maml:para>Descripción opcional del medio que contiene el conjunto de copia de seguridad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MediaName</maml:name><maml:description><maml:para>Nombre usado para identificar el conjunto de medios.
</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" aliases=""><maml:name>MirrorDevices</maml:name><maml:description><maml:para>Especifica una matriz de objetos BackupDeviceList que se usa en la copia de seguridad reflejada.
</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" aliases=""><maml:name>NoRecovery</maml:name><maml:description><maml:para>No realiza la copia de seguridad del final del registro. Cuando se restaura, la base de datos está en el estado de restauración. Cuando no se establece, se hace la copia de seguridad del final del registro. Solo se aplica cuando el parámetro -BackupAction se establece en Log.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRewind</maml:name><maml:description><maml:para>Deja una unidad de cinta abierta en la posición final cuando la copia de seguridad se completa. Cuando no se establece, la cinta se rebobina una vez que se completa la operación. No se aplica a las copias de seguridad de disco o de direcciones URL.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>PassThru</maml:name><maml:description><maml:para>Cuando se establece, da como resultado el objeto Smo Backup que realizó la copia de seguridad.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>Continúa procesando una operación de copia de seguridad completada parcialmente. Si no se establece (valor predeterminado), el cmdlet reinicia desde el principio del conjunto de copia de seguridad una operación de copia de seguridad interrumpida.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetainDays</maml:name><maml:description><maml:para>Número de días que deben transcurrir para que se pueda sobrescribir un conjunto de copia de seguridad. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SkipTapeHeader</maml:name><maml:description><maml:para>Salta la lectura del encabezado de cinta.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>El objeto Credential de SQL Server almacena información de autenticación. Es un parámetro obligatorio cuando se realiza la copia de seguridad en un servicio de almacenamiento Blob (dirección URL) de Windows Azure. La información de autenticación almacenada incluye el nombre de la cuenta de almacenamiento de Windows Azure y los valores de clave de acceso asociados. Este parámetro no se usa cuando la copia de seguridad se realiza en un disco o en una cinta. Puede proporcionar el nombre del objeto Credential de SQL Server o pasar el objeto a través de una canalización.
</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" aliases=""><maml:name>UndoFileName</maml:name><maml:description><maml:para>Nombre del archivo para deshacer usado para almacenar las transacciones no confirmadas que se revierten durante la recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>UnloadTapeAfter</maml:name><maml:description><maml:para>El dispositivo de cinta se rebobina y se descarga cuando la operación finaliza. Si no se establece, no se intenta rebobinar ni descargar el medio de cinta. No se aplica a las copias de seguridad de disco o de direcciones URL.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupAction</maml:name><maml:description><maml:para>Tipo de operación de copia de seguridad que se va a realizar. Las opciones válidas son Database, Files o Log, según se indica a continuación:
</maml:para><maml:para>Database: realiza una copia de seguridad de todos los archivos de datos de la base de datos.
</maml:para><maml:para>Files: realiza una copia de seguridad de los archivos de datos especificados. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</maml:para><maml:para>Log: realiza una copia de seguridad del registro de transacciones.
</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>Microsoft.SqlServer.Management.Smo.BackupActionType.Database</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupContainer</maml:name><maml:description><maml:para>Carpeta o ubicación donde se almacenan las copias de seguridad. Puede ser una carpeta de un disco o una dirección URL de un contenedor de blobs de Windows Azure. Este parámetro puede ser útil cuando se hace copia de seguridad de varias bases de datos en una instancia determinada. Este parámetro no se puede usar con un parámetro BackupDevice. El parámetro BackupContainer no se puede usar con el parámetro BackupFile.
</maml:para><maml:para>Nota: la ruta de acceso empleada para especificar la ubicación debe terminar con un carácter de barra diagonal (/).
</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="false" position="named" aliases=""><maml:name>BackupDevice</maml:name><maml:description><maml:para>Dispositivos donde se almacenan las copias de seguridad. Este parámetro no se puede usar con el parámetro BackupFile. Use este parámetro si va a realizar la copia de seguridad en una cinta.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="3" aliases=""><maml:name>BackupFile</maml:name><maml:description><maml:para>Ubicación y nombre de archivo de la copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, las copias de seguridad se almacenan en la ubicación de copia de seguridad predeterminada del servidor con el nombre "basededatos.bak" para las copias de seguridad de archivos y/o completas o con el nombre "basededatos.trn" para las copias de seguridad de registros. Este parámetro no se puede usar con el parámetro BackupDevice o BackupContainer.
</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" aliases=""><maml:name>BackupSetDescription</maml:name><maml:description><maml:para>Descripción opcional del conjunto de copia de seguridad.
</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" aliases=""><maml:name>BackupSetName</maml:name><maml:description><maml:para>Nombre del conjunto de copia de seguridad.
</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" aliases=""><maml:name>BlockSize</maml:name><maml:description><maml:para>Tamaño de bloque físico de la copia de seguridad, en bytes. Los tamaños admitidos son 512, 1024, 2048, 4096, 8192, 16384, 32768 y 65536 (64 KB) bytes. El valor predeterminado es 65536 para dispositivos de cinta y 512 para otros dispositivos.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BufferCount</maml:name><maml:description><maml:para>Número total de búferes de E/S que se van a utilizar para la operación de copia de seguridad. Puede especificar cualquier entero positivo. Si se usan muchos búferes pueden producirse errores de "memoria insuficiente" causados por un espacio de direcciones virtuales insuficiente en el proceso Sqlservr.exe.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Checksum</maml:name><maml:description><maml:para>Calcula el valor de la suma de comprobación durante una operación de copia de seguridad. Si no se establece, no se calcula el valor de la suma de comprobación.
</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" aliases=""><maml:name>CompressionOption</maml:name><maml:description><maml:para>Opciones de compresión para la operación de copia de seguridad. Las opciones son Default, On y 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>Microsoft.SqlServer.Management.Smo.BackupCompressionOptions.Default</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ConnectionTimeout</maml:name><maml:description><maml:para>Número de segundos que hay que esperar a que se establezca una conexión de servidor antes de que se produzca un error de tiempo de espera. El valor del tiempo de espera debe ser un entero comprendido entre 0 y 65534. Si se especifica 0, los intentos de conexión no tienen tiempo de espera.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>La operación continúa cuando se produce un error de suma de comprobación. Si no se establece, la operación dará error cuando se produzca un error de suma de comprobación.
</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" aliases=""><maml:name>CopyOnly</maml:name><maml:description><maml:para>La copia de seguridad es de solo copia. Una copia de seguridad de solo copia no afecta a la secuencia normal de las copias de seguridad convencionales programadas regularmente.
</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" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Objeto PSCredential que se usa para especificar las credenciales de un inicio de sesión de SQL Server que tiene permiso para realizar esta operación.
 
No es el objeto Credential de SQL que se emplea para almacenar la información de autenticación que SQL Server usa internamente al obtener acceso a recursos ajenos a 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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Nombre de la base de datos de la que se realiza una copia de seguridad. -Database no se puede usar con el parámetro -DatabaseObject. Cuando
</maml:para><maml:para>se especifica el parámetro -Database, también debe especificarse el parámetro -Path, -InputObject o -ServerInstance.
</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="false" position="named" aliases=""><maml:name>DatabaseFile</maml:name><maml:description><maml:para>Una o varios archivos de base de datos de los que se va a hacer una copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DatabaseFileGroup</maml:name><maml:description><maml:para>Grupos de archivos de copia de seguridad que constituyen el destino de la operación de copia de seguridad. Solo se usa cuando la propiedad BackupAction se establece en Files. Cuando el parámetro BackupAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>DatabaseObject</maml:name><maml:description><maml:para>Objeto Database. La operación de copia de seguridad se realizará en esta base de datos.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EncryptionOption</maml:name><maml:description><maml:para>Opciones de cifrado para la operación de copia de seguridad.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ExpirationDate</maml:name><maml:description><maml:para>Fecha y hora en que expira el conjunto de copia de seguridad y los datos de copia de seguridad dejan de ser válidos. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta. Los conjuntos de copia de seguridad anteriores a la fecha en la que expira la copia de seguridad se pueden sobrescribir con una copia de seguridad posterior.
</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>System.DateTime.MinValue</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>FormatMedia</maml:name><maml:description><maml:para>Da formato a la cinta como primer paso de la operación de copia de seguridad. No se aplica a una copia de seguridad de disco.
</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" aliases=""><maml:name>Incremental</maml:name><maml:description><maml:para>Realiza una copia de seguridad diferencial.
</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" aliases=""><maml:name>Initialize</maml:name><maml:description><maml:para>Los dispositivos asociados a la operación de copia de seguridad se inicializan. Sobrescribe los conjuntos de copia de seguridad existentes en el medio y esta copia de seguridad se convierte en el primer conjunto de copia de seguridad del medio.
</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="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la ubicación donde debe realizarse la copia de seguridad.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>LogTruncationType</maml:name><maml:description><maml:para>Comportamiento del truncamiento de las copias de seguridad de registros. Las opciones son TruncateOnly, NoTruncate o Truncate. De forma predeterminada, esta opción se establece en 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>Microsoft.SqlServer.Management.Smo.BackupTruncateLogType.Truncate</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MaxTransferSize</maml:name><maml:description><maml:para>Número máximo de bytes que se van a transferir entre el medio de copia de seguridad y la instancia de SQL Server. Los valores posibles son múltiplos de 65536 bytes (64 KB), hasta un máximo de 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MediaDescription</maml:name><maml:description><maml:para>Descripción opcional del medio que contiene el conjunto de copia de seguridad.
</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" aliases=""><maml:name>MediaName</maml:name><maml:description><maml:para>Nombre usado para identificar el conjunto de medios.
</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="false" position="named" aliases=""><maml:name>MirrorDevices</maml:name><maml:description><maml:para>Especifica una matriz de objetos BackupDeviceList que se usa en la copia de seguridad reflejada.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRecovery</maml:name><maml:description><maml:para>No realiza la copia de seguridad del final del registro. Cuando se restaura, la base de datos está en el estado de restauración. Cuando no se establece, se hace la copia de seguridad del final del registro. Solo se aplica cuando el parámetro -BackupAction se establece en 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRewind</maml:name><maml:description><maml:para>Deja una unidad de cinta abierta en la posición final cuando la copia de seguridad se completa. Cuando no se establece, la cinta se rebobina una vez que se completa la operación. No se aplica a las copias de seguridad de disco o de direcciones URL.
</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" aliases=""><maml:name>PassThru</maml:name><maml:description><maml:para>Cuando se establece, da como resultado el objeto Smo Backup que realizó la copia de seguridad.
</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="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en el que desea ejecutar la operación de copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>Continúa procesando una operación de copia de seguridad completada parcialmente. Si no se establece (valor predeterminado), el cmdlet reinicia desde el principio del conjunto de copia de seguridad una operación de copia de seguridad interrumpida.
</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" aliases=""><maml:name>RetainDays</maml:name><maml:description><maml:para>Número de días que deben transcurrir para que se pueda sobrescribir un conjunto de copia de seguridad. Solo se puede usar para los datos de copia de seguridad almacenados en los dispositivos de disco o cinta.
</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>-1</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de una instancia de SQL Server. Esta instancia de servidor se convierte en el destino de la operación de copia de seguridad.
</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" aliases=""><maml:name>SkipTapeHeader</maml:name><maml:description><maml:para>Salta la lectura del encabezado de cinta.
</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" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>El objeto Credential de SQL Server almacena información de autenticación. Es un parámetro obligatorio cuando se realiza la copia de seguridad en un servicio de almacenamiento Blob (dirección URL) de Windows Azure. La información de autenticación almacenada incluye el nombre de la cuenta de almacenamiento de Windows Azure y los valores de clave de acceso asociados. Este parámetro no se usa cuando la copia de seguridad se realiza en un disco o en una cinta. Puede proporcionar el nombre del objeto Credential de SQL Server o pasar el objeto a través de una canalización.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>UndoFileName</maml:name><maml:description><maml:para>Nombre del archivo para deshacer usado para almacenar las transacciones no confirmadas que se revierten durante la recuperación.
</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" aliases=""><maml:name>UnloadTapeAfter</maml:name><maml:description><maml:para>El dispositivo de cinta se rebobina y se descarga cuando la operación finaliza. Si no se establece, no se intenta rebobinar ni descargar el medio de cinta. No se aplica a las copias de seguridad de disco o de direcciones URL.
</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>SMO.Server</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Objeto SMO.Server que hace referencia a la instancia de SQL Server en la que desea que se produzca la operación de copia de seguridad.
 
 
</maml:para></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
-------------------------- EXAMPLE 1 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Backup-SqlDatabase -ServerInstance Computer\Instance -Database MyDB
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una copia de seguridad completa de la base de datos 'MyDB' en la ubicación de copia de seguridad predeterminada de la instancia de servidor 'Computer\Instance'. El archivo de copia de seguridad se denominará 'MyDB.bak'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 2 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;cd SQLSERVER:\SQL\Computer\Instance
Backup-SqlDatabase -Database MyDB
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una copia de seguridad completa de la base de datos 'MyDB' en la ubicación de copia de seguridad predeterminada de la instancia de servidor 'Computer\Instance'. El directorio de trabajo actual se usa para determinar la instancia de servidor donde la copia de seguridad debe producirse.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 3 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Backup-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupAction Log
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una copia de seguridad del registro de transacciones de la base de datos 'MyDB' en la ubicación de copia de seguridad predeterminada de la instancia de servidor 'Computer\Instance'. El archivo de copia de seguridad se denomina 'MyDB.trn'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 4 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Backup-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -Credential (Get-Credential sa)
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una copia de seguridad completa de la base de datos 'MyDB', usando el inicio de sesión sa de SQL Server. Este comando le pide una contraseña para completar la autenticación de SQL Server.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 5 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Backup-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupFile \\share\folder\MyDB.bak
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una copia de seguridad completa de la base de datos 'MyDB' en el archivo '\\share\folder\MyDB.bak'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 6 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Get-ChildItem SQLSERVER:\SQL\Computer\Instance\Databases | Backup-SqlDatabase
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una copia de seguridad de todas las bases de datos en la instancia de servidor 'Computer\Instance' en la ubicación de copia de seguridad predeterminada. Los archivos de copia de seguridad se denominan '&lt;nombre de base de datos&gt;.bak'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 7 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;cd SQLSERVER:\SQL\Computer\Instance\Databases
foreach($database in (Get-ChildItem))
{
$dbName = $database.Name
Backup-SqlDatabase -Database $dbName -BackupFile "\\share\folder\$dbName.bak"
}
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este script crea una copia de seguridad completa para cada base de datos en la instancia de servidor 'Computer\Instance' para el recurso compartido '\\share\folder'. Los archivos de copia de seguridad se denominan '&lt;nombre de base de datos&gt;.bak'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 8 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Backup-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupAction Files -DatabaseFileGroup "FileGroup1","FileGroup2"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una copia de seguridad de archivos completa de cada archivo en los dos grupos de archivos secundarios 'FileGroup1' y 'FileGroup2'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 9 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Backup-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -Incremental
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una copia de seguridad diferencial de la base de datos 'MyDB' en la ubicación de copia de seguridad predeterminada de la instancia de servidor 'Computer\Instance'. El archivo de copia de seguridad se denomina 'MyDB.bak'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 10 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$tapeDevice = New-Object Microsoft.Sqlserver.Management.Smo.BackupDeviceItem("\\.\tape0", "Tape")
Backup-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupDevice $tapeDevice
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una copia de seguridad completa de la base de datos 'MyDB' en el dispositivo de cinta '\\.\tape0'. Para representar este dispositivo, el comando construye una instancia de Microsoft.Sqlserver.Management.Smo.BackupDeviceItem. El constructor acepta dos argumentos: el nombre del dispositivo de copia de seguridad ('\\.\tape0') y el tipo del dispositivo de copia de seguridad ('Tape'). Este objeto BackupDeviceItem se pasa al parámetro -BackupDevice del cmdlet Backup-SqlDatabase.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 11 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;Backup-SqlDatabase –ServerInstance Computer\Instance –Database –MyDB -BackupContainer "https://storageaccountname.blob.core.windows.net/containername" -SqlCredential "SQLCredentialName"
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una copia de seguridad completa de la base de datos 'MyDB' en el servicio de almacenamiento Blob de Windows Azure. Emplea el parámetro BackupContainer para especificar la ubicación (dirección URL) del contenedor de blobs de Windows Azure y el nombre del archivo de copia de seguridad se genera automáticamente. El parámetro SqlCredential se usa para especificar el nombre de la credencial de SQL Server que almacena la información de autenticación.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 12 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;Backup-SqlDatabase –ServerInstance Computer\Instance –Database –MyDB -BackupFile "https://storageaccountname.blob.core.windows.net/containername/MyDB.bak" -SqlCredential "SQLCredentialName"
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una copia de seguridad completa de la base de datos 'MyDB' en el servicio de almacenamiento Blob de Windows Azure. Usa el parámetro BackupFile para especificar la ubicación (dirección URL) y el nombre del archivo de copia de seguridad. El parámetro SqlCredential se emplea para especificar el nombre de la credencial de SQL Server.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 13 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Get-ChildItem SQLSERVER:\SQL\Computer\Instance\Databases | Backup-SqlDatabase –BackupContainer "https://storageaccountname.blob.core.windows.net/containername" -SqlCredential "SQLCredentialName"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando hace copia de seguridad de todas las bases de datos de la instancia de servidor 'Computer\Instance' en la ubicación del servicio de almacenamiento Blob de Windows Azure usando el parámetro BackupContainer. Los nombres de los archivos de copia de seguridad se generan automáticamente.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 14 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$encryptionOption = New-SqlBackupEncryptionOption -Algorithm Aes256 -EncryptorType ServerCertificate -EncryptorName "BackupCert"
</dev:code><dev:code>C:\PS&gt;Backup-SqlDatabase -ServerInstance . -Database "db1" -BackupFile "db1.bak" -CompressionOption On -EncryptionOption $encryptionOption
 
</dev:code><dev:remarks><maml:para>En este ejemplo se crean las opciones de cifrado y se usan como valor de parámetro de Backup-SqlDatabase para crear una copia de seguridad cifrada.</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Disable-SqlAlwaysOn</command:name><maml:description><maml:para>Deshabilita la característica Grupos de disponibilidad AlwaysOn en la instancia de SQL Server que especifica el parámetro Path, InputObject o ServerInstance. </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>El cmdlet Disable-SqlAlwaysOn deshabilita la característica Grupos de disponibilidad AlwaysOn en una instancia de SQL Server. Si Grupos de disponibilidad AlwaysOn está deshabilitado mientras el servicio SQL Server se ejecuta, el servicio Motor de base de datos debe reiniciarse para que los cambios se completen. A menos que especifique el parámetro -Force, el cmdlet le pide que indique si desea reiniciar el servicio; si se cancela, no se produce ninguna operación.
</maml:para><maml:para>Si Grupos de disponibilidad AlwaysOn ya está deshabilitado, este cmdlet no hace nada.
</maml:para><maml:para>Este cmdlet puede ejecutarse con un servicio remoto. Debe tener permiso de administrador para ejecutar este 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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Credencial de Windows que tiene permiso para alterar la configuración de AlwaysOn en la instancia especificada de 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" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>Especifique -Force para hacer que el cmdlet continúe sin la confirmación del usuario. Este parámetro se proporciona para permitir la construcción de scripts.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>No se pide al usuario que reinicie el servicio SQL Server. Debe reiniciar manualmente el servicio SQL Server para que los cambios surtan efecto. Cuando este parámetro se establece, -Force se omite.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Disable-SqlAlwaysOn</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia de SQL Server en la que la opción Grupos de disponibilidad AlwaysOn debe deshabilitarse.
</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" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Credencial de Windows que tiene permiso para alterar la configuración de AlwaysOn en la instancia especificada de 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" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>Especifique -Force para hacer que el cmdlet continúe sin la confirmación del usuario. Este parámetro se proporciona para permitir la construcción de scripts.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>No se pide al usuario que reinicie el servicio SQL Server. Debe reiniciar manualmente el servicio SQL Server para que los cambios surtan efecto. Cuando este parámetro se establece, -Force se omite.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Disable-SqlAlwaysOn</maml:name><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Credencial de Windows que tiene permiso para alterar la configuración de AlwaysOn en la instancia especificada de 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" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>Especifique -Force para hacer que el cmdlet continúe sin la confirmación del usuario. Este parámetro se proporciona para permitir la construcción de scripts.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>No se pide al usuario que reinicie el servicio SQL Server. Debe reiniciar manualmente el servicio SQL Server para que los cambios surtan efecto. Cuando este parámetro se establece, -Force se omite.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en la que AlwaysOn va a deshabilitarse. El formato debe ser MACHINENAME\INSTANCE. Se puede usar con el parámetro -Credential para cambiar la configuración de AlwaysOn en un servidor remoto.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Credencial de Windows que tiene permiso para alterar la configuración de AlwaysOn en la instancia especificada de 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>Especifique -Force para hacer que el cmdlet continúe sin la confirmación del usuario. Este parámetro se proporciona para permitir la construcción de 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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia de SQL Server en la que la opción Grupos de disponibilidad AlwaysOn debe deshabilitarse.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>No se pide al usuario que reinicie el servicio SQL Server. Debe reiniciar manualmente el servicio SQL Server para que los cambios surtan efecto. Cuando este parámetro se establece, -Force se omite.
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en la que AlwaysOn va a deshabilitarse. El formato debe ser MACHINENAME\INSTANCE. Se puede usar con el parámetro -Credential para cambiar la configuración de AlwaysOn en un servidor remoto.
</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="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>SMO.Server</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Objeto SMO.Server que hace referencia a la instancia de SQL Server en la que AlwaysOn debe deshabilitarse.
 
 
</maml:para></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name>False</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Disable-SqlAlwaysOn -Path SQLSERVER:\Sql\Computer\Instance
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando deshabilita Grupos de disponibilidad AlwaysOn en la instancia de SQL Server que se encuentra en la ruta de acceso especificada. Este comando requiere reiniciar la instancia de servidor y le pedirá que confirme este reinicio.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Disable-SqlAlwaysOn -Path SQLSERVER:\Sql\Computer\Instance -Force
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando deshabilita Grupos de disponibilidad AlwaysOn en la instancia de SQL Server que se encuentra en la ruta de acceso especificada. La opción -Force hace que la instancia de servidor se reinicie sin pedirle confirmación.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 3 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Disable-SqlAlwaysOn -ServerInstance Computer\Instance
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando deshabilita Grupos de disponibilidad AlwaysOn en la instancia de SQL Server denominada 'Computer\Instance'. Este comando requiere reiniciar la instancia y le pedirá que confirme este reinicio.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 4 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Disable-SqlAlwaysOn -ServerInstance Computer\Instance -Credential (Get-Credential DOMAIN\Username)
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando deshabilita Grupos de disponibilidad AlwaysOn en la instancia de SQL Server denominada 'Computer\Instance' con la autenticación de Windows. Se le pedirá que escriba la contraseña de la cuenta especificada, 'DOMAIN\Username'. Este cambio requiere reiniciar la instancia y también se le pedirá que confirme este reinicio.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 5 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Disable-SqlAlwaysOn -Path SQLSERVER:\Sql\Computer\Instance -NoServiceRestart
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando deshabilita Grupos de disponibilidad AlwaysOn en la instancia de SQL Server que se encuentra en la ruta de acceso especificada, pero el comando no reinicia la instancia. El cambio no surtirá efecto hasta que reinicie manualmente esta instancia de servidor.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Enable-SqlAlwaysOn</command:name><maml:description><maml:para>Habilita la característica Grupos de disponibilidad AlwaysOn en la instancia de SQL Server que especifica el parámetro Path, InputObject o ServerInstance. </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>El cmdlet Enable-SqlAlwaysOn habilita AlwaysOn en una instancia de SQL Server. Si Grupos de disponibilidad AlwaysOn está habilitado mientras el servicio SQL Server se ejecuta, el servicio Motor de base de datos debe reiniciarse para que los cambios se completen. A menos que especifique el parámetro -Force, el cmdlet le pide que indique si desea reiniciar el servicio; si se cancela, no se produce ninguna operación.
</maml:para><maml:para>Si Grupos de disponibilidad AlwaysOn ya está habilitado, este cmdlet no hace nada.
</maml:para><maml:para>Este cmdlet puede ejecutarse con un servicio remoto. Debe tener permiso de administrador para ejecutar este 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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en la que desea habilitar AlwaysOn. El formato debe ser MACHINENAME\INSTANCE. Se puede usar junto con el parámetro -Credential para cambiar la configuración de AlwaysOn en un servidor remoto.
</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" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>Especifique -Force para hacer que el cmdlet continúe sin la confirmación del usuario. Este parámetro se proporciona para permitir la construcción de scripts.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>No se pide al usuario que reinicie el servicio SQL Server. Debe reiniciar manualmente el servicio SQL Server para que los cambios surtan efecto. Cuando este parámetro se establece, -Force se omite.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Enable-SqlAlwaysOn</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia de SQL Server en la que la opción Grupos de disponibilidad AlwaysOn debe habilitarse.
</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" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en la que desea habilitar AlwaysOn. El formato debe ser MACHINENAME\INSTANCE. Se puede usar junto con el parámetro -Credential para cambiar la configuración de AlwaysOn en un servidor remoto.
</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" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>Especifique -Force para hacer que el cmdlet continúe sin la confirmación del usuario. Este parámetro se proporciona para permitir la construcción de scripts.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>No se pide al usuario que reinicie el servicio SQL Server. Debe reiniciar manualmente el servicio SQL Server para que los cambios surtan efecto. Cuando este parámetro se establece, -Force se omite.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Enable-SqlAlwaysOn</maml:name><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en la que desea habilitar AlwaysOn. El formato debe ser MACHINENAME\INSTANCE. Se puede usar junto con el parámetro -Credential para cambiar la configuración de AlwaysOn en un servidor remoto.
</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" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>Especifique -Force para hacer que el cmdlet continúe sin la confirmación del usuario. Este parámetro se proporciona para permitir la construcción de scripts.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>No se pide al usuario que reinicie el servicio SQL Server. Debe reiniciar manualmente el servicio SQL Server para que los cambios surtan efecto. Cuando este parámetro se establece, -Force se omite.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en la que AlwaysOn va a habilitarse. El formato debe ser MACHINENAME\INSTANCE. Se puede usar con el parámetro -Credential para cambiar la configuración de AlwaysOn en un servidor remoto.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en la que desea habilitar AlwaysOn. El formato debe ser MACHINENAME\INSTANCE. Se puede usar junto con el parámetro -Credential para cambiar la configuración de AlwaysOn en un servidor remoto.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>Especifique -Force para hacer que el cmdlet continúe sin la confirmación del usuario. Este parámetro se proporciona para permitir la construcción de 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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia de SQL Server en la que la opción Grupos de disponibilidad AlwaysOn debe habilitarse.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>No se pide al usuario que reinicie el servicio SQL Server. Debe reiniciar manualmente el servicio SQL Server para que los cambios surtan efecto. Cuando este parámetro se establece, -Force se omite.
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en la que AlwaysOn va a habilitarse. El formato debe ser MACHINENAME\INSTANCE. Se puede usar con el parámetro -Credential para cambiar la configuración de AlwaysOn en un servidor remoto.
</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="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Objeto SMO.Server que hace referencia a la instancia de SQL Server en la que AlwaysOn debe deshabilitarse.
 
 
</maml:para></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Enable-SqlAlwaysOn -Path SQLSERVER:\Sql\Computer\Instance
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando habilita Grupos de disponibilidad AlwaysOn en la instancia de SQL Server que se encuentra en la ruta de acceso especificada. Este cambio requiere reiniciar la instancia y se le pedirá que confirme este reinicio.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Enable-SqlAlwaysOn -Path SQLSERVER:\Sql\Computer\Instance -Force
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando habilita Grupos de disponibilidad AlwaysOn en la instancia de SQL Server que se encuentra en la ruta de acceso especificada. La opción -Force hace que la instancia de servidor se reinicie sin pedirle confirmación.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 3 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Enable-SqlAlwaysOn -ServerInstance Computer\Instance
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando habilita Grupos de disponibilidad AlwaysOn en la instancia de SQL Server denominada 'Computer\Instance'. Este cambio requiere reiniciar la instancia y se le pedirá que confirme este reinicio.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 4 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Enable-SqlAlwaysOn -ServerInstance Computer\Instance -Credential (Get-Credential DOMAIN\Username)
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando habilita Grupos de disponibilidad AlwaysOn en la instancia de SQL Server denominada 'Computer\Instance' con la autenticación de Windows. Se le pedirá que escriba la contraseña de la cuenta especificada. Este cambio requiere reiniciar la instancia y también se le pedirá que confirme este reinicio.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 5 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Enable-SqlAlwaysOn -Path SQLSERVER:\Sql\Computer\Instance -NoServiceRestart
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando habilita Grupos de disponibilidad AlwaysOn en la instancia de SQL Server que se encuentra en la ruta de acceso especificada, pero el comando no reinicia la instancia. El cambio no surtirá efecto hasta que reinicie manualmente esta instancia de servidor.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Get-SqlCredential</command:name><maml:description><maml:para>Devuelve el objeto Credential de SQL.</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>El cmdlet Get-SqlCredential devuelve el objeto Credential de SQL.
</maml:para><maml:para>Este cmdlet admite los siguientes modos de funcionamiento para devolver el nombre de la credencial de SQL:
 
1. Especificar el nombre de la credencial de SQL y la ruta de acceso de la instancia.
 
2. Especificar el nombre del objeto Credential de SQL y el objeto de servidor.
</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="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la credencial
</maml:para></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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso de la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor de este parámetro usa la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Get-SqlCredential</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la credencial
</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="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server donde se encuentra la credencial.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server donde se encuentra la credencial.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue><dev:type><maml:name>Context</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la credencial
</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="3" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso de la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor de este parámetro usa la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
-------------------------- EXAMPLE 1 --------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Get-SqlCredential –Name "mycredential"
 
 
</dev:code><dev:remarks><maml:para>Este comando devuelve el objeto Credential.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;
</dev:code><dev:remarks></dev:remarks><command:commandLines><command:commandLine><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"><command:details><command:name>Get-SqlDatabase</command:name><maml:description><maml:para>Devuelve un objeto de Base de datos SQL por cada base de datos presente en la instancia de destino de 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>Devuelve un objeto de Base de datos SQL por cada base de datos presente en la instancia de destino de SQL Server. Si se proporciona el nombre de la base de datos, el cmdlet solo devolverá este objeto de base de datos específico. </maml:para><maml:para>Este cmdlet admite los siguientes modos de funcionamiento para devolver el objeto de Base de datos SQL:</maml:para><maml:para>1. Especificando la ruta de acceso de PowerShell de la instancia.</maml:para><maml:para>2. Especificando el objeto de servidor.</maml:para><maml:para>3. Especificando el valor de ServerInstance de la instancia de destino de 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="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la base de datos que se va a recuperar.</maml:para></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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Genera un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Get-SqlDatabase</maml:name><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la base de datos que se va a recuperar.</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="3" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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" aliases=""><maml:name>ConnectionTimeout</maml:name><maml:description><maml:para>Número de segundos que hay que esperar a que se establezca una conexión de SQL Server antes de que se produzca un error de tiempo de espera. El tiempo de espera debe ser un entero comprendido entre 0 y 65534. Si se especifica 0, los intentos de conexión no tienen tiempo de espera.</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" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Genera un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Get-SqlDatabase</maml:name><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la base de datos que se va a recuperar.</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="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Genera un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ConnectionTimeout</maml:name><maml:description><maml:para>Número de segundos que hay que esperar a que se establezca una conexión de SQL Server antes de que se produzca un error de tiempo de espera. El tiempo de espera debe ser un entero comprendido entre 0 y 65534. Si se especifica 0, los intentos de conexión no tienen tiempo de espera.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue><dev:type><maml:name>Context</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la base de datos que se va a recuperar.</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="3" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Genera un script de Transact-SQL que realiza la tarea ejecutada por este 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, ByPropertyName)" position="3" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
Get-SqlDatabase -Name "DbName" -Credential $sqlCredential;
 
</dev:code><dev:remarks><maml:para>Este comando devuelve el objeto de la base de datos ‘DbName’ de la instancia de servidor 'Computer\Instance’. El directorio de trabajo actual se usa para determinar la instancia de servidor donde se debe realizar la operación.</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>This command retrieves all instances of SQL Server on the machine ‘MachineName’ and returns all the databases that are present in the instances.
PS C:\&gt;Get-SqlInstance -Credential $credential -MachineName " MachineName" | Get-SqlDatabase -Credential $sqlCredential;
 
</dev:code><dev:remarks><maml:para></maml:para></dev:remarks><command:commandLines><command:commandLine><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: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"><command:details><command:name>Get-SqlInstance</command:name><maml:description><maml:para>Devuelve un objeto de instancia de SQL por cada instancia de SQL Server presente en el equipo de destino.</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>Devuelve un objeto de instancia de SQL por cada instancia de SQL Server presente en el equipo de destino. Si se proporciona el nombre de la instancia de SQL Server, el cmdlet solo devolverá esta instancia específica de SQL Server.</maml:para><maml:para>El Adaptador para la nube de SQL Server debe estar en ejecución y ser accessible en el equipo que hospeda la instancia de SQL Server.</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Get-SqlInstance</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>MachineName</maml:name><maml:description><maml:para>Nombre del equipo de destino.</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="3" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server, cuando desea recuperar una instancia específica de SQL Server en el equipo de destino.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</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="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>MachineName</maml:name><maml:description><maml:para>Nombre del equipo de destino.</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" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server, cuando desea recuperar una instancia específica de SQL Server en el equipo de destino.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;Get-SqlInstance -Credential $credential -MachineName " MachineName" -Name "InstanceName" -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para>Este comando recupera la instancia de SQL Server ‘InstanceName’ en el equipo ‘MachineName’. El certificado autofirmado del equipo de destino se aceptará automáticamente sin preguntar al usuario.</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>This command retrieves all instances of SQL Server on the machine ‘MachineName’. The self-signed certificate of the target machine will be automatically accepted without prompting the user.
PS C:\&gt;Get-SqlInstance -Credential $credential -MachineName "MachineName" -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para></maml:para></dev:remarks><command:commandLines><command:commandLine><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: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"><command:details><command:name>Get-SqlSmartAdmin</command:name><maml:description><maml:para>Obtiene o recupera el objeto Smart Admin de SQL y sus propiedades. </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>El cmdlet Get-SqlSmartAdmin obtiene el objeto Smart Admin de SQL. El objeto Smart Admin incluye valores de configuración de Copia de seguridad administrada de SQL Server en Windows Azure. Este cmdlet admite los siguientes modos de funcionamiento para devolver el objeto:
 
 1Pasar el nombre de la instancia de servidor mediante el parámetro –name. En el caso de una instancia predeterminada, especifique solo el nombre de equipo. Para las instancias con nombre, use 'nombreDeEquipo\nombreDeInstancia'.
 
 2. Pasar la ruta de acceso de la instancia de SQL Server al parámetro -Path.</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="3" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server. Se trata de un parámetro opcional. Si no se especifica, el valor de este parámetro se establece en la ubicación de trabajo actual.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en este formato: ‘Equipo\Instancia’</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de una instancia de SQL Server. En las instancias predeterminadas, especifique solo el nombre de equipo: "MiPC". Para las instancias con nombre, use el formato "nombreDeEquipo\nombreDeInstancia". Tanto el parámetro –name como el parámetro –ServerInstance permiten especificar el nombre de la instancia, pero –ServerInstance también acepta entrada de la canalización del nombre de instancia de servidor o el objeto SqInstanceInfo. El objeto SqlInstanceInfo se puede recuperar con el cmdlet Get-SqlInstances.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Get-SqlSmartAdmin</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Instancia del objeto Server.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en este formato: ‘Equipo\Instancia’</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de una instancia de SQL Server. En las instancias predeterminadas, especifique solo el nombre de equipo: "MiPC". Para las instancias con nombre, use el formato "nombreDeEquipo\nombreDeInstancia". Tanto el parámetro –name como el parámetro –ServerInstance permiten especificar el nombre de la instancia, pero –ServerInstance también acepta entrada de la canalización del nombre de instancia de servidor o el objeto SqInstanceInfo. El objeto SqlInstanceInfo se puede recuperar con el cmdlet Get-SqlInstances.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Get-SqlSmartAdmin</maml:name><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en este formato: ‘Equipo\Instancia’</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de una instancia de SQL Server. En las instancias predeterminadas, especifique solo el nombre de equipo: "MiPC". Para las instancias con nombre, use el formato "nombreDeEquipo\nombreDeInstancia". Tanto el parámetro –name como el parámetro –ServerInstance permiten especificar el nombre de la instancia, pero –ServerInstance también acepta entrada de la canalización del nombre de instancia de servidor o el objeto SqInstanceInfo. El objeto SqlInstanceInfo se puede recuperar con el cmdlet Get-SqlInstances.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Instancia del objeto Server.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue><dev:type><maml:name>Context</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la instancia de SQL Server en este formato: ‘Equipo\Instancia’</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="3" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server. Se trata de un parámetro opcional. Si no se especifica, el valor de este parámetro se establece en la ubicación de trabajo actual.</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de una instancia de SQL Server. En las instancias predeterminadas, especifique solo el nombre de equipo: "MiPC". Para las instancias con nombre, use el formato "nombreDeEquipo\nombreDeInstancia". Tanto el parámetro –name como el parámetro –ServerInstance permiten especificar el nombre de la instancia, pero –ServerInstance también acepta entrada de la canalización del nombre de instancia de servidor o el objeto SqInstanceInfo. El objeto SqlInstanceInfo se puede recuperar con el cmdlet Get-SqlInstances.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
-------------------------- EXAMPLE 1 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\ PS&gt; cd SQLSERVER:\SQL\Computer\MyInstance
 Get-SqlSmartAdmin
Following is a list of the properties returned by the above command :
BackupEnabled : Shows whether backup is enabled at the instance level.
BackupRetentionPeriodInDays: Displays the number of days for retaining backup files.
CredentialName: Name of the SQL Credential used to authenticate to the Windows Azure storage account.
MasterSwitch: Shows whether the master switch is turned on or off.
Parent: Name of the instance of SQL Server.
Urn: The path of the Smart Admin object.
Properties: list of all the properties including the above.
</dev:code><dev:remarks><maml:para>Este comando recupera las propiedades del objeto Smart Admin para la instancia de SQL Server denominada ‘MyInstance’.</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 2 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;Get-SqlSmartAdmin -name “computer\MyInstance”
</dev:code><dev:remarks><maml:para>Este comando recupera las propiedades del objeto Smart Admin mediante el parámetro -serverName.</maml:para></dev:remarks><command:commandLines><command:commandLine><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: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"><command:details><command:name>Invoke-PolicyEvaluation</command:name><maml:description><maml:para>Evalúa una o varias directivas de administración basada en directivas de SQL Server con un conjunto de objetivos, ya sea notificando el nivel de cumplimiento del conjunto o haciendo que sea acorde al cumplimiento.</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>Evalúa una o más directivas de Administración basada en directivas con un conjunto de objetos de SQL Server denominado el conjunto de destino. Las directivas especifican los valores permitidos para varias propiedades que se asocian a objetos de SQL Server, por ejemplo, el establecimiento de estándares de sitio para los nombres de base de datos o intercalaciones. Cuando Invoke-PolicyEvaluation se ejecuta en el modo de comprobación, notifica si las propiedades actuales de los objetos de conjunto de destino cumplen las reglas de las definiciones de directiva. Los objetos del conjunto de destino no se reconfiguran si sus propiedades no cumplen las directivas. En el modo de configuración, Invoke-PolicyEvaluation reconfigura los objetos de conjunto de destino que no cumplen las definiciones de directiva.
</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="1" aliases=""><maml:name>Policy</maml:name><maml:description><maml:para>Especifica una o más directivas para evaluarse. Las directivas se pueden almacenar en una instancia del Motor de base de datos de SQL Server o como archivos XML exportados. En el caso de las directivas que se almacenan en una instancia del Motor de base de datos, use una ruta de acceso basada en la carpeta SQLSERVER:\SQLPolicy para especificar la ubicación de las directivas. En el caso de las directivas que se almacenan como archivos XML, use una ruta de acceso al sistema de archivos para especificar la ubicación de las directivas.
</maml:para><maml:para>-Policy puede aceptar una cadena que especifique los nombres de una o varias directivas para la evaluación. Si solo se especifica un nombre de directiva o archivo en la cadena, Invoke-PolicyEvaluation usa la opción de la ruta de acceso actual. En el caso de las directivas que se almacenan en una instancia del Motor de base de datos, use el nombre de directiva, como "Estado de base de datos" o "SQLSERVER:\SQLPolicy\MyComputer\DEFAULT\Directivas\Estado de base de datos". En el caso de las directivas que se exportan como archivos XML, use el nombre de archivo, como "Estado de base de datos.xml" o "C:\MiCarpetaDeDirectivas\Estado de base de datos.xml".
</maml:para><maml:para>-Policy puede aceptar un conjunto de objetos FileInfo, como la salida canalizada de un cmdlet Get-ChildItem que se ejecuta con una carpeta que contiene directivas XML exportadas. -Policy puede también aceptar un conjunto de objetos Policy, como la salida canalizada de un cmdlet Get-ChildItem que se ejecuta con una ruta de acceso SQLSERVER:\SQLPolicy.
</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" aliases=""><maml:name>AdHocPolicyEvaluationMode</maml:name><maml:description><maml:para>Especifica si Invoke-PolicyEvaluation solo notifica el estado de cumplimiento del conjunto de destino (Comprobación) o si también reconfigura el conjunto de destino para que cumpla las directivas (Configuración).
</maml:para><maml:para>Check: notifica el estado de cumplimiento del conjunto de destino mediante las credenciales de la cuenta de inicio de sesión y sin reconfigurar ningún objeto.
</maml:para><maml:para>CheckSqlScriptAsProxy: ejecuta un informe de comprobación con las credenciales de cuenta proxy ##MS_PolicyTSQLExecutionLogin##.
</maml:para><maml:para>Configure: reconfigura los objetos del conjunto de destino que no cumplen las directivas y notifica el estado resultante. Invoke-PolicyEvaluation solo reconfigura las propiedades que no se pueden establecer y son deterministas.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">AdHocPolicyEvaluationMode</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>OutputXml</maml:name><maml:description><maml:para>Especifica que el cmdlet Invoke-PolicyEvaluation produce su informe en formato XML con el esquema del Formato de intercambio del Lenguaje de modelado de servicio (SML-IF).
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>TargetExpression</maml:name><maml:description><maml:para>Especifica una consulta que devuelve la lista de objetos que definen el conjunto de destino. Las consultas se especifican como una cadena que tiene nodos que están separados por el carácter '/'. Cada nodo tiene el formato ObjectType[Filter]. ObjectType es uno de los objetos del modelo de objetos de Objetos de administración de SQL Server (SMO) y Filter es una expresión que filtra los objetos específicos en ese nodo. Los nodos deben seguir la jerarquía de los objetos SMO. Por ejemplo, la siguiente expresión de consulta devuelve la base de datos de ejemplo AdventureWorks: "Server[@Name='MyComputer']/Database[@Name='AdventureWorks']".
</maml:para><maml:para>Si se especifica -TargetExpression, no especifique -TargetObject.
</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" aliases=""><maml:name>TargetServerName</maml:name><maml:description><maml:para>Especifica la instancia del Motor de base de datos que contiene el conjunto de destino. Puede especificar una variable que contiene un objeto Microsoft.SqlServer.Management.Sfc.Sdk.SQLStoreConnection. También puede especificar una cadena que cumple los formatos que se usan en la propiedad ConnectionString de la clase System.Data.SqlClient.SQLConnection. Incluye cadenas como las creadas mediante la clase System.Data.SqlClient.SqlConnectionStringBuilder. De forma predeterminada, Invoke-PolicyEvaluation se conecta mediante la autenticación de Windows.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSObject</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="1" aliases=""><maml:name>Policy</maml:name><maml:description><maml:para>Especifica una o más directivas para evaluarse. Las directivas se pueden almacenar en una instancia del Motor de base de datos de SQL Server o como archivos XML exportados. En el caso de las directivas que se almacenan en una instancia del Motor de base de datos, use una ruta de acceso basada en la carpeta SQLSERVER:\SQLPolicy para especificar la ubicación de las directivas. En el caso de las directivas que se almacenan como archivos XML, use una ruta de acceso al sistema de archivos para especificar la ubicación de las directivas.
</maml:para><maml:para>-Policy puede aceptar una cadena que especifique los nombres de una o varias directivas para la evaluación. Si solo se especifica un nombre de directiva o archivo en la cadena, Invoke-PolicyEvaluation usa la opción de la ruta de acceso actual. En el caso de las directivas que se almacenan en una instancia del Motor de base de datos, use el nombre de directiva, como "Estado de base de datos" o "SQLSERVER:\SQLPolicy\MyComputer\DEFAULT\Directivas\Estado de base de datos". En el caso de las directivas que se exportan como archivos XML, use el nombre de archivo, como "Estado de base de datos.xml" o "C:\MiCarpetaDeDirectivas\Estado de base de datos.xml".
</maml:para><maml:para>-Policy puede aceptar un conjunto de objetos FileInfo, como la salida canalizada de un cmdlet Get-ChildItem que se ejecuta con una carpeta que contiene directivas XML exportadas. -Policy puede también aceptar un conjunto de objetos Policy, como la salida canalizada de un cmdlet Get-ChildItem que se ejecuta con una ruta de acceso SQLSERVER:\SQLPolicy.
</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" aliases=""><maml:name>AdHocPolicyEvaluationMode</maml:name><maml:description><maml:para>Especifica si Invoke-PolicyEvaluation solo notifica el estado de cumplimiento del conjunto de destino (Comprobación) o si también reconfigura el conjunto de destino para que cumpla las directivas (Configuración).
</maml:para><maml:para>Check: notifica el estado de cumplimiento del conjunto de destino mediante las credenciales de la cuenta de inicio de sesión y sin reconfigurar ningún objeto.
</maml:para><maml:para>CheckSqlScriptAsProxy: ejecuta un informe de comprobación con las credenciales de cuenta proxy ##MS_PolicyTSQLExecutionLogin##.
</maml:para><maml:para>Configure: reconfigura los objetos del conjunto de destino que no cumplen las directivas y notifica el estado resultante. Invoke-PolicyEvaluation solo reconfigura las propiedades que no se pueden establecer y son deterministas.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">AdHocPolicyEvaluationMode</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>OutputXml</maml:name><maml:description><maml:para>Especifica que el cmdlet Invoke-PolicyEvaluation produce su informe en formato XML con el esquema del Formato de intercambio del Lenguaje de modelado de servicio (SML-IF).
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>TargetObjects</maml:name><maml:description><maml:para>Especifica un PSObject o una matriz de PSObjects que define el conjunto de objetos de SQL Server con el que se evalúa la directiva. Para conectarse a una instancia de Server Analysis Services, especifique un objeto Microsoft.AnalysisServices.Server para -TargetObject.
</maml:para><maml:para>Si se especifica -TargetObject, no especifique -TargetExpression.
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">PSObject[]</command:parameterValue></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AdHocPolicyEvaluationMode</maml:name><maml:description><maml:para>Especifica si Invoke-PolicyEvaluation solo notifica el estado de cumplimiento del conjunto de destino (Comprobación) o si también reconfigura el conjunto de destino para que cumpla las directivas (Configuración).
</maml:para><maml:para>Check: notifica el estado de cumplimiento del conjunto de destino mediante las credenciales de la cuenta de inicio de sesión y sin reconfigurar ningún objeto.
</maml:para><maml:para>CheckSqlScriptAsProxy: ejecuta un informe de comprobación con las credenciales de cuenta proxy ##MS_PolicyTSQLExecutionLogin##.
</maml:para><maml:para>Configure: reconfigura los objetos del conjunto de destino que no cumplen las directivas y notifica el estado resultante. Invoke-PolicyEvaluation solo reconfigura las propiedades que no se pueden establecer y son deterministas.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>OutputXml</maml:name><maml:description><maml:para>Especifica que el cmdlet Invoke-PolicyEvaluation produce su informe en formato XML con el esquema del Formato de intercambio del Lenguaje de modelado de servicio (SML-IF).
</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="false" globbing="false" pipelineInput="True (ByValue)" position="1" aliases=""><maml:name>Policy</maml:name><maml:description><maml:para>Especifica una o más directivas para evaluarse. Las directivas se pueden almacenar en una instancia del Motor de base de datos de SQL Server o como archivos XML exportados. En el caso de las directivas que se almacenan en una instancia del Motor de base de datos, use una ruta de acceso basada en la carpeta SQLSERVER:\SQLPolicy para especificar la ubicación de las directivas. En el caso de las directivas que se almacenan como archivos XML, use una ruta de acceso al sistema de archivos para especificar la ubicación de las directivas.
</maml:para><maml:para>-Policy puede aceptar una cadena que especifique los nombres de una o varias directivas para la evaluación. Si solo se especifica un nombre de directiva o archivo en la cadena, Invoke-PolicyEvaluation usa la opción de la ruta de acceso actual. En el caso de las directivas que se almacenan en una instancia del Motor de base de datos, use el nombre de directiva, como "Estado de base de datos" o "SQLSERVER:\SQLPolicy\MyComputer\DEFAULT\Directivas\Estado de base de datos". En el caso de las directivas que se exportan como archivos XML, use el nombre de archivo, como "Estado de base de datos.xml" o "C:\MiCarpetaDeDirectivas\Estado de base de datos.xml".
</maml:para><maml:para>-Policy puede aceptar un conjunto de objetos FileInfo, como la salida canalizada de un cmdlet Get-ChildItem que se ejecuta con una carpeta que contiene directivas XML exportadas. -Policy puede también aceptar un conjunto de objetos Policy, como la salida canalizada de un cmdlet Get-ChildItem que se ejecuta con una ruta de acceso SQLSERVER:\SQLPolicy.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>TargetExpression</maml:name><maml:description><maml:para>Especifica una consulta que devuelve la lista de objetos que definen el conjunto de destino. Las consultas se especifican como una cadena que tiene nodos que están separados por el carácter '/'. Cada nodo tiene el formato ObjectType[Filter]. ObjectType es uno de los objetos del modelo de objetos de Objetos de administración de SQL Server (SMO) y Filter es una expresión que filtra los objetos específicos en ese nodo. Los nodos deben seguir la jerarquía de los objetos SMO. Por ejemplo, la siguiente expresión de consulta devuelve la base de datos de ejemplo AdventureWorks: "Server[@Name='MyComputer']/Database[@Name='AdventureWorks']".
</maml:para><maml:para>Si se especifica -TargetExpression, no especifique -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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>TargetObjects</maml:name><maml:description><maml:para>Especifica un PSObject o una matriz de PSObjects que define el conjunto de objetos de SQL Server con el que se evalúa la directiva. Para conectarse a una instancia de Server Analysis Services, especifique un objeto Microsoft.AnalysisServices.Server para -TargetObject.
</maml:para><maml:para>Si se especifica -TargetObject, no especifique -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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>TargetServerName</maml:name><maml:description><maml:para>Especifica la instancia del Motor de base de datos que contiene el conjunto de destino. Puede especificar una variable que contiene un objeto Microsoft.SqlServer.Management.Sfc.Sdk.SQLStoreConnection. También puede especificar una cadena que cumple los formatos que se usan en la propiedad ConnectionString de la clase System.Data.SqlClient.SQLConnection. Incluye cadenas como las creadas mediante la clase System.Data.SqlClient.SqlConnectionStringBuilder. De forma predeterminada, Invoke-PolicyEvaluation se conecta mediante la autenticación de Windows.
</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></dev:defaultValue></command:parameter></command:parameters><command:inputTypes><command:inputType><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 1 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;sl "C:\Program Files (x86)\Microsoft SQL Server"
sl "%PRODUCTVERSION%\Tools\Policies\DatabaseEngine\1033"
Invoke-PolicyEvaluation -Policy "Trustworthy Database.xml" -TargetServer "MYCOMPUTER"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Evalúa una directiva en la instancia predeterminada del equipo especificado. Lea la directiva de un archivo XML y conéctese mediante la autenticación de Windows.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 2 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;sl "C:\Program Files (x86)\Microsoft SQL Server"
sl "%PRODUCTVERSION%\Tools\Policies\DatabaseEngine\1033"
gci "Database Status.xml", "Trustworthy Database.xml" | Invoke-PolicyEvaluation -TargetServer "MYCOMPUTER"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Use Get-Childitem para leer dos directivas de archivos XML en una carpeta y canalícelas a Invoke-PolicyEvaluation.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 3 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;sl "C:\Program Files (x86)\Microsoft SQL Server"
sl "%PRODUCTVERSION%\Tools\Policies\DatabaseEngine\1033"
Invoke-PolicyEvaluation -Policy "Database Status.xml" -TargetServer "MYCOMPUTER" -OutputXML &gt; C:\MyReportFolder\MyReport.xml
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Da formato a la salida de la evaluación de una directiva usando el esquema del Formato de intercambio del Lenguaje de modelado de servicios (SML-IF) y redirige la salida a un archivo.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 4 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;sl SQLSERVER:\SQLPolicy\MYCOMPUTER\DEFAULT\Policies
gci | Where-Object { $_.PolicyCategory -eq "Microsoft Best Practices: Maintenance" } | Invoke-PolicyEvaluation -TargetServer "MYCOMPUTER"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Establece la ruta de acceso actual a un almacén de directivas de SQL Server. Use Get-ChildItem para leer todas las directivas y Where-Object para filtrar las directivas que tengan su propiedad PolicyCategory establecida en "Prácticas recomendadas de Microsoft: Mantenimiento". Después, canalice el conjunto filtrado de directivas a Invoke-PolicyEvaluation.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 5 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;sl "C:\Program Files (x86)\Microsoft SQL Server"
sl "%PRODUCTVERSION%\Tools\Policies\DatabaseEngine\1033"
$conn = New-Object Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection("server='MYCOMPUTER';Trusted_Connection=True")
Invoke-PolicyEvaluation -Policy "Database Status.xml" -TargetServer $conn
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Cómo usar un objeto Sfc.SqlStoreConnection para especificar el servidor de destino.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 6 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;sl "C:\Program Files (x86)\Microsoft SQL Server\%PRODUCTVERSION%"
sl "tools\Policies\analysisservices\1033"
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.AnalysisServices")
$SSASsvr = new-object Microsoft.AnalysisServices.Server
$SSASsvr.Connect("Data Source=localhost")
Invoke-PolicyEvaluation 'Surface Area Configuration for Analysis Services Features.xml' -TargetObject $SSASsvr
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Cómo cargar el ensamblado de SQL Server Analysis Services y crear después una conexión a la instancia predeterminada en el equipo local y ejecutar la directiva de configuración de área expuesta de Analysis Services.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 7 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;sl "C:\Program Files (x86)\Microsoft SQL Server"
sl "120\Tools\Policies\DatabaseEngine\1033"
Invoke-PolicyEvaluation "Database Status.xml" -TargetServer "MYCOMPUTER" -TargetExpression "Server[@Name='MYCOMPUTER']/Database[@Name='AdventureWorks2014']"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Usar una expresión de consulta -TargetExpression para especificar que la directiva Estado de la base de datos se evaluará con la base de datos de ejemplo AdventureWorks2014.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 8 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;sl "C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Policies\ReportingServices\1033"
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.Dmf.Adapters")
$SSRSsvr = new-object Microsoft.SqlServer.Management.Adapters.RSContainer('MyComputer')
Invoke-PolicyEvaluation -Policy "Surface Area Configuration for Reporting Services 2008 Features.xml" -TargetObject $SSRSsvr
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Cómo cargar el ensamblado de SQL Server Reporting Services y crear después una conexión a la instancia predeterminada en el equipo local y ejecutar la directiva de configuración de área expuesta de Reporting Services.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText>SQL Server Books Online: Using the Invoke-PolicyEvaluation cmdlet</maml:linkText><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"><command:details><command:name>Invoke-Sqlcmd</command:name><maml:description><maml:para>Ejecuta un script que contiene instrucciones de los lenguajes (Transact-SQL y XQuery) admitidos por la utilidad sqlcmd de SQL Server.</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>Ejecuta un script que incluye los lenguajes y comandos admitidos por la utilidad sqlcmd de SQL Server. Los lenguajes admitidos son Transact-SQL y la sintaxis de XQuery que admite el Motor de base de datos. Invoke-Sqlcmd también acepta muchos de los comandos que admite sqlcmd, como GO y QUIT. Invoke-Sqlcmd acepta las variables de scripting de sqlcmd, como SQLCMDUSER. De forma predeterminada, Invoke-Sqlcmd no establece las variables de scripting de sqlcmd.
</maml:para><maml:para>Invoke-Sqlcmd no admite la ejecución de comandos de sqlcmd relacionados principalmente con la edición de scripts interactivos. Entre los comandos no admitidos se incluyen :!!, :connect, :error, :out, :ed, :list, :listvar, :reset, :perftrace y :serverlist.
</maml:para><maml:para>El primer conjunto de resultados que devuelve el script se muestra como una tabla con formato. Los conjuntos de resultados después del primero no se muestran si su lista de columnas es diferente de la del primer conjunto de resultados. Si los conjuntos de resultados después del primero tienen la misma lista de columnas, sus filas se anexan a la tabla con formato que contiene las filas que devuelve el primer conjunto de resultados.
</maml:para><maml:para>Invoke-sqlcmd no devuelve la salida de mensajes de SQL Server, como la salida de las instrucciones PRINT, a menos que use el parámetro de PowerShell -Verbose.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Invoke-Sqlcmd</maml:name><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Query</maml:name><maml:description><maml:para>Especifica una o más consultas para ejecutarse. Las consultas pueden ser instrucciones de Transact-SQL o XQuery, o comandos de sqlcmd. Se pueden especificar varias consultas separadas por un punto y coma. No especifique el separador GO de sqlcmd. Eluda las comillas dobles incluidas en la cadena. Considere la posibilidad de usar identificadores entre corchetes como [MiTabla] en lugar de identificadores entrecomillados como "MiTabla".
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AbortOnError</maml:name><maml:description><maml:para>Especifica que Invoke-Sqlcmd deje de ejecutarse y devuelva un nivel de error a la variable de PowerShell ERRORLEVEL si Invoke-Sqlcmd encuentra un error. El nivel de error devuelto es 1 si el error tiene una gravedad mayor que 10 y el nivel de error es 0 si el error tiene una gravedad de 10 o menos. Si -ErrorLevel también se especifica, Invoke-Sqlcmd devuelve 1 solo si la gravedad del mensaje de error también es igual o mayor que el valor especificado para -ErrorLevel.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ConnectionTimeout</maml:name><maml:description><maml:para>Especifica el número de segundos que tiene que transcurrir antes de que Invoke-Sqlcmd agote el tiempo de espera si no puede conectarse correctamente a una instancia del Motor de base de datos. El tiempo de espera debe ser un entero comprendido entre 0 y 65534. Si se especifica 0, los intentos de conexión no tienen tiempo de espera.
</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" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Cadena de caracteres que especifica el nombre de una base de datos. Invoke-Sqlcmd se conecta a esta base de datos en la instancia que se especifica en -ServerInstance.
</maml:para><maml:para>Si no se especifica -Database, la base de datos que se usa depende de si la ruta de acceso actual especifica tanto la carpeta SQLSERVER:\SQL como un nombre de base de datos. Si la ruta de acceso especifica tanto la carpeta SQL como un nombre de base de datos, Invoke-Sqlcmd se conecta a la base de datos que se especifica en la ruta de acceso. Si la ruta de acceso no se basa en la carpeta SQL o no contiene un nombre de base de datos, Invoke-Sqlcmd se conecta a la base de datos predeterminada para el identificador de inicio de sesión actual. Si especifica el modificador -IgnoreProviderContext, Invoke-Sqlcmd no considera ninguna base de datos especificada en la ruta de acceso actual y se conecta a la base de datos definida como la predeterminada para el identificador de inicio de sesión actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DedicatedAdministratorConnection</maml:name><maml:description><maml:para>Usa una Conexión de administrador dedicada (DAC) para conectarse a una instancia del Motor de base de datos. Los administradores de sistemas usan la DAC para acciones como la solución de problemas de instancias que no aceptarán nuevas conexiones estándar. La instancia debe configurarse para ser compatible con la DAC. Si DAC no está disponible, Invoke-Sqlcmd notifica un error y deja de ejecutarse.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DisableCommands</maml:name><maml:description><maml:para>Desactiva algunas características de sqlcmd que pueden poner en peligro la seguridad cuando se ejecutan en archivos por lotes. Impide que las variables de PowerShell se pasen al script Invoke-Sqlcmd. El script de inicio especificado en las variables de scripting SQLCMDINI no se ejecuta.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DisableVariables</maml:name><maml:description><maml:para>Especifica que Invoke-Sqlcmd omita las variables de scripting de sqlcmd. Es útil cuando un script contiene muchas instrucciones INSERT que pueden contener cadenas con el mismo formato que las variables normales, por ejemplo, $(variable_name).
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EncryptConnection</maml:name><maml:description><maml:para>Especifica si Invoke-Sqlcmd usa el cifrado de Capa de sockets seguros (SSL) para la conexión a la instancia del Motor de base de datos especificada en -ServerInstance. Si se especifica TRUE, se usa el cifrado SSL. Si se especifica FALSE, no se usa el cifrado SSL.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ErrorLevel</maml:name><maml:description><maml:para>Especifica que Invoke-Sqlcmd muestre solo los mensajes de error cuyo nivel de gravedad sea igual o mayor que el valor especificado. Todos los mensajes de error se muestran si -ErrorLevel no se especifica o se establece en 0. La gravedad de los errores del Motor de base de datos va de 1 a 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" aliases=""><maml:name>HostName</maml:name><maml:description><maml:para>Especifica un nombre de estación de trabajo. El nombre de la estación de trabajo se notifica mediante el procedimiento almacenado sp_who system y la columna hostname de la vista de catálogo sys.processes. Si no se especifica HostName, el valor predeterminado es el nombre del equipo en el que se ejecuta Invoke-Sqlcmd. HostName se puede usar para identificar diferentes sesiones de Invoke-Sqlcmd.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>IgnoreProviderContext</maml:name><maml:description><maml:para>Invoke-Sqlcmd omite el contexto de base de datos que se estableció con la ruta de acceso actual SQLSERVER:\SQL. Si no se especifica el parámetro -Database, Invoke-Sqlcmd usa la base de datos predeterminada para el identificador de inicio de sesión actual o la cuenta de Windows.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>IncludeSqlUserErrors</maml:name><maml:description><maml:para>Hace que Invoke-Sqlcmd devuelva errores de script de usuario de SQL que de lo contrario se omitirían de forma predeterminada. Si se especifica este parámetro, Invoke-Sqlcmd tiene el mismo comportamiento que el predeterminado de la utilidad sqlcmd.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>InputFile</maml:name><maml:description><maml:para>Especifica que se va a usar un archivo como la entrada de consulta de Invoke-Sqlcmd. El archivo puede contener instrucciones de Transact-SQL y XQuery, comandos de sqlcmd y variables de scripting. Especifique la ruta de acceso completa al archivo. No se permiten los espacios en la ruta de acceso de archivo o el nombre de archivo.
</maml:para><maml:para>Ejecute solo scripts de orígenes de confianza. Asegúrese de que todos los scripts de entrada están protegidos con los permisos NTFS apropiados.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MaxBinaryLength</maml:name><maml:description><maml:para>Especifica el número máximo de bytes devueltos para las columnas con los tipos de datos de cadena binaria, como binary y varbinary. El valor predeterminado es 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" aliases=""><maml:name>MaxCharLength</maml:name><maml:description><maml:para>Especifica el número máximo de caracteres devueltos para las columnas con los tipos de datos de carácter o Unicode como char, nchar, varchar y nvarchar. El valor predeterminado es 4.000 caracteres.
</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" aliases=""><maml:name>NewPassword</maml:name><maml:description><maml:para>Especifica una nueva contraseña para el identificador de inicio de sesión de la autenticación de SQL Server. Invoke-Sqlcmd cambia la contraseña y luego se cierra. También deben especificarse -Username y -Password; -Password especifica la contraseña actual para el inicio de sesión.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>OutputSqlErrors</maml:name><maml:description><maml:para>Especifica si se van a mostrar los mensajes de error en la salida de Invoke-Sqlcmd.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Password</maml:name><maml:description><maml:para>Especifica la contraseña para el identificador de inicio de sesión de la autenticación de SQL Server que se especificó en -Username. En las contraseñas se distingue entre mayúsculas y minúsculas. Siempre que sea posible, utilice la autenticación de Windows. No use una contraseña en blanco, siempre que se pueda usar una contraseña segura. Para obtener más información, vea "Contraseña segura" en los Libros en pantalla de SQL Server.
</maml:para><maml:para>NOTA DE SEGURIDAD: si escribe -Password seguido de su contraseña, la contraseña será visible para cualquiera que pueda ver el monitor del equipo. Si codifica -Password seguido de su contraseña en un script .ps1, cualquiera que lea el archivo de script verá su contraseña. Asigne los permisos NTFS apropiados al archivo para impedir que otros usuarios puedan leer el archivo.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>QueryTimeout</maml:name><maml:description><maml:para>Especifica el número de segundos que tienen que transcurrir antes de que las consultas agoten el tiempo de espera. Si no se especifica ningún valor de tiempo de espera, las consultas no agotan el tiempo de espera. El tiempo de espera debe ser un entero comprendido entre 1 y 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="True (ByValue)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Cadena de caracteres u objeto servidor SMO que especifica el nombre de una instancia del motor de base de datos. En las instancias predeterminadas, especifique solo el nombre de equipo: "MiPC". Para las instancias con nombre, use el formato "nombreDeEquipo\nombreDeInstancia".
</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" aliases=""><maml:name>SeverityLevel</maml:name><maml:description><maml:para>Especifique el límite inferior para el nivel de gravedad del mensaje de error que Invoke-Sqlcmd devuelve a la variable de PowerShell ERRORLEVEL. Invoke-Sqlcmd devuelve el nivel de gravedad mayor de los mensajes de error generados por las consultas que ejecuta, siempre que la gravedad sea igual o mayor que -SeverityLevel. Si -SeverityLevel no se especifica o se establece en 0, Invoke-Sqlcmd devuelve 0 a ERRORLEVEL. Los niveles de gravedad de los mensajes de error del Motor de base de datos van de 1 a 24. Invoke-Sqlcmd no notifica la gravedad de los mensajes informativos con una gravedad de 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" aliases=""><maml:name>SuppressProviderContextWarning</maml:name><maml:description><maml:para>Suprime la advertencia de que Invoke-Sqlcmd ha usado el contexto de base de datos de la opción de ruta de acceso SQLSERVER:\SQL actual para establecer el contexto de base de datos para el cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Username</maml:name><maml:description><maml:para>Especifica el identificador de inicio de sesión para establecer una conexión de la autenticación de SQL Server con una instancia del Motor de base de datos. La contraseña debe especificarse con -Password. Si no se especifica -Username ni -Password, Invoke-Sqlcmd intenta una conexión de la autenticación de Windows con la cuenta de Windows que ejecuta la sesión de PowerShell.
</maml:para><maml:para>Siempre que sea posible, utilice la autenticación de Windows.
</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" aliases=""><maml:name>Variable</maml:name><maml:description><maml:para>Crea una variable de scripting de sqlcmd para usarla en el script sqlcmd y establece un valor para la variable. Use una matriz de PowerShell para especificar varias variables y sus valores.
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AbortOnError</maml:name><maml:description><maml:para>Especifica que Invoke-Sqlcmd deje de ejecutarse y devuelva un nivel de error a la variable de PowerShell ERRORLEVEL si Invoke-Sqlcmd encuentra un error. El nivel de error devuelto es 1 si el error tiene una gravedad mayor que 10 y el nivel de error es 0 si el error tiene una gravedad de 10 o menos. Si -ErrorLevel también se especifica, Invoke-Sqlcmd devuelve 1 solo si la gravedad del mensaje de error también es igual o mayor que el valor especificado para -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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ConnectionTimeout</maml:name><maml:description><maml:para>Especifica el número de segundos que tiene que transcurrir antes de que Invoke-Sqlcmd agote el tiempo de espera si no puede conectarse correctamente a una instancia del Motor de base de datos. El tiempo de espera debe ser un entero comprendido entre 0 y 65534. Si se especifica 0, los intentos de conexión no tienen tiempo de espera.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Cadena de caracteres que especifica el nombre de una base de datos. Invoke-Sqlcmd se conecta a esta base de datos en la instancia que se especifica en -ServerInstance.
</maml:para><maml:para>Si no se especifica -Database, la base de datos que se usa depende de si la ruta de acceso actual especifica tanto la carpeta SQLSERVER:\SQL como un nombre de base de datos. Si la ruta de acceso especifica tanto la carpeta SQL como un nombre de base de datos, Invoke-Sqlcmd se conecta a la base de datos que se especifica en la ruta de acceso. Si la ruta de acceso no se basa en la carpeta SQL o no contiene un nombre de base de datos, Invoke-Sqlcmd se conecta a la base de datos predeterminada para el identificador de inicio de sesión actual. Si especifica el modificador -IgnoreProviderContext, Invoke-Sqlcmd no considera ninguna base de datos especificada en la ruta de acceso actual y se conecta a la base de datos definida como la predeterminada para el identificador de inicio de sesión actual.
</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" aliases=""><maml:name>DedicatedAdministratorConnection</maml:name><maml:description><maml:para>Usa una Conexión de administrador dedicada (DAC) para conectarse a una instancia del Motor de base de datos. Los administradores de sistemas usan la DAC para acciones como la solución de problemas de instancias que no aceptarán nuevas conexiones estándar. La instancia debe configurarse para ser compatible con la DAC. Si DAC no está disponible, Invoke-Sqlcmd notifica un error y deja de ejecutarse.
</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" aliases=""><maml:name>DisableCommands</maml:name><maml:description><maml:para>Desactiva algunas características de sqlcmd que pueden poner en peligro la seguridad cuando se ejecutan en archivos por lotes. Impide que las variables de PowerShell se pasen al script Invoke-Sqlcmd. El script de inicio especificado en las variables de scripting SQLCMDINI no se ejecuta.
</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" aliases=""><maml:name>DisableVariables</maml:name><maml:description><maml:para>Especifica que Invoke-Sqlcmd omita las variables de scripting de sqlcmd. Es útil cuando un script contiene muchas instrucciones INSERT que pueden contener cadenas con el mismo formato que las variables normales, por ejemplo, $(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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EncryptConnection</maml:name><maml:description><maml:para>Especifica si Invoke-Sqlcmd usa el cifrado de Capa de sockets seguros (SSL) para la conexión a la instancia del Motor de base de datos especificada en -ServerInstance. Si se especifica TRUE, se usa el cifrado SSL. Si se especifica FALSE, no se usa el cifrado SSL.
</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" aliases=""><maml:name>ErrorLevel</maml:name><maml:description><maml:para>Especifica que Invoke-Sqlcmd muestre solo los mensajes de error cuyo nivel de gravedad sea igual o mayor que el valor especificado. Todos los mensajes de error se muestran si -ErrorLevel no se especifica o se establece en 0. La gravedad de los errores del Motor de base de datos va de 1 a 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>HostName</maml:name><maml:description><maml:para>Especifica un nombre de estación de trabajo. El nombre de la estación de trabajo se notifica mediante el procedimiento almacenado sp_who system y la columna hostname de la vista de catálogo sys.processes. Si no se especifica HostName, el valor predeterminado es el nombre del equipo en el que se ejecuta Invoke-Sqlcmd. HostName se puede usar para identificar diferentes sesiones de Invoke-Sqlcmd.
</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" aliases=""><maml:name>IgnoreProviderContext</maml:name><maml:description><maml:para>Invoke-Sqlcmd omite el contexto de base de datos que se estableció con la ruta de acceso actual SQLSERVER:\SQL. Si no se especifica el parámetro -Database, Invoke-Sqlcmd usa la base de datos predeterminada para el identificador de inicio de sesión actual o la cuenta de Windows.
</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" aliases=""><maml:name>IncludeSqlUserErrors</maml:name><maml:description><maml:para>Hace que Invoke-Sqlcmd devuelva errores de script de usuario de SQL que de lo contrario se omitirían de forma predeterminada. Si se especifica este parámetro, Invoke-Sqlcmd tiene el mismo comportamiento que el predeterminado de la utilidad sqlcmd.</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" aliases=""><maml:name>InputFile</maml:name><maml:description><maml:para>Especifica que se va a usar un archivo como la entrada de consulta de Invoke-Sqlcmd. El archivo puede contener instrucciones de Transact-SQL y XQuery, comandos de sqlcmd y variables de scripting. Especifique la ruta de acceso completa al archivo. No se permiten los espacios en la ruta de acceso de archivo o el nombre de archivo.
</maml:para><maml:para>Ejecute solo scripts de orígenes de confianza. Asegúrese de que todos los scripts de entrada están protegidos con los permisos NTFS apropiados.
</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" aliases=""><maml:name>MaxBinaryLength</maml:name><maml:description><maml:para>Especifica el número máximo de bytes devueltos para las columnas con los tipos de datos de cadena binaria, como binary y varbinary. El valor predeterminado es 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MaxCharLength</maml:name><maml:description><maml:para>Especifica el número máximo de caracteres devueltos para las columnas con los tipos de datos de carácter o Unicode como char, nchar, varchar y nvarchar. El valor predeterminado es 4.000 caracteres.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NewPassword</maml:name><maml:description><maml:para>Especifica una nueva contraseña para el identificador de inicio de sesión de la autenticación de SQL Server. Invoke-Sqlcmd cambia la contraseña y luego se cierra. También deben especificarse -Username y -Password; -Password especifica la contraseña actual para el inicio de sesión.
</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" aliases=""><maml:name>OutputSqlErrors</maml:name><maml:description><maml:para>Especifica si se van a mostrar los mensajes de error en la salida de Invoke-Sqlcmd.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue><dev:type><maml:name>Boolean</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Password</maml:name><maml:description><maml:para>Especifica la contraseña para el identificador de inicio de sesión de la autenticación de SQL Server que se especificó en -Username. En las contraseñas se distingue entre mayúsculas y minúsculas. Siempre que sea posible, utilice la autenticación de Windows. No use una contraseña en blanco, siempre que se pueda usar una contraseña segura. Para obtener más información, vea "Contraseña segura" en los Libros en pantalla de SQL Server.
</maml:para><maml:para>NOTA DE SEGURIDAD: si escribe -Password seguido de su contraseña, la contraseña será visible para cualquiera que pueda ver el monitor del equipo. Si codifica -Password seguido de su contraseña en un script .ps1, cualquiera que lea el archivo de script verá su contraseña. Asigne los permisos NTFS apropiados al archivo para impedir que otros usuarios puedan leer el archivo.
</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" aliases=""><maml:name>Query</maml:name><maml:description><maml:para>Especifica una o más consultas para ejecutarse. Las consultas pueden ser instrucciones de Transact-SQL o XQuery, o comandos de sqlcmd. Se pueden especificar varias consultas separadas por un punto y coma. No especifique el separador GO de sqlcmd. Eluda las comillas dobles incluidas en la cadena. Considere la posibilidad de usar identificadores entre corchetes como [MiTabla] en lugar de identificadores entrecomillados como "MiTabla".
</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" aliases=""><maml:name>QueryTimeout</maml:name><maml:description><maml:para>Especifica el número de segundos que dura el tiempo de espera de las consultas. Si no se especifica ningún valor de tiempo de espera, las consultas no agotan el tiempo de espera. El tiempo de espera debe ser un entero comprendido entre 1 y 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Cadena de caracteres u objeto servidor SMO que especifica el nombre de una instancia del motor de base de datos. En las instancias predeterminadas, especifique solo el nombre de equipo: "MiPC". Para las instancias con nombre, use el formato "nombreDeEquipo\nombreDeInstancia".
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SeverityLevel</maml:name><maml:description><maml:para>Especifique el límite inferior para el nivel de gravedad del mensaje de error que Invoke-Sqlcmd devuelve a la variable de PowerShell ERRORLEVEL. Invoke-Sqlcmd devuelve el nivel de gravedad mayor de los mensajes de error generados por las consultas que ejecuta, siempre que la gravedad sea igual o mayor que -SeverityLevel. Si -SeverityLevel no se especifica o se establece en 0, Invoke-Sqlcmd devuelve 0 a ERRORLEVEL. Los niveles de gravedad de los mensajes de error del Motor de base de datos van de 1 a 24. Invoke-Sqlcmd no notifica la gravedad de los mensajes informativos con una gravedad de 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SuppressProviderContextWarning</maml:name><maml:description><maml:para>Suprime la advertencia de que Invoke-Sqlcmd ha usado el contexto de base de datos de la opción de ruta de acceso SQLSERVER:\SQL actual para establecer el contexto de base de datos para el 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="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Username</maml:name><maml:description><maml:para>Especifica el identificador de inicio de sesión para establecer una conexión de la autenticación de SQL Server con una instancia del Motor de base de datos. La contraseña debe especificarse con -Password. Si no se especifica -Username ni -Password, Invoke-Sqlcmd intenta una conexión de la autenticación de Windows con la cuenta de Windows que ejecuta la sesión de PowerShell.
</maml:para><maml:para>Siempre que sea posible, utilice la autenticación de Windows.
</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="false" position="named" aliases=""><maml:name>Variable</maml:name><maml:description><maml:para>Crea una variable de scripting de sqlcmd para usarla en el script sqlcmd y establece un valor para la variable. Use una matriz de PowerShell para especificar varias variables y sus valores.
</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:parameters><command:inputTypes><command:inputType><dev:type><maml:name>PSObject</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name>Formatted table</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Invoke-Sqlcmd -Query "SELECT GETDATE() AS TimeOfQuery;" -ServerInstance "MyComputer\MyInstance"
 
TimeOfQuery
-----------
5/13/2010 8:49:43 PM
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se establece una conexión a una instancia con nombre del motor de base de datos en un equipo y se ejecuta un script básico de Transact-SQL.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Invoke-Sqlcmd -InputFile "C:\MyFolder\TestSqlCmd.sql" | Out-File -filePath "C:\MyFolder\TestSqlCmd.rpt"
 
Output sent to TestSqlCmd.rpt.
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se lee un archivo que contiene instrucciones de Transact-SQL y comandos de sqlcmd, se ejecuta el archivo y se escribe la salida en otro archivo. Asegúrese de que todos los archivos de salida están protegidos con los permisos NTFS apropiados.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 3 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$MyArray = "MYVAR1='String1'", "MYVAR2='String2'"
Invoke-Sqlcmd -Query "SELECT `$(MYVAR1) AS Var1, `$(MYVAR2) AS Var2;" -Variable $MyArray
 
Var1 Var2
---- ----
String1 String2
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se usa una matriz de cadenas de caracteres como entrada para el parámetro -Variable. La matriz define varias variables de sqlcmd. Los signos $ de la instrucción SELECT que identifican las variables de sqlcmd se eluden con el carácter de acento invertido (`).
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 4 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-Location SQLSERVER:\SQL\MyComputer\MyInstance
Invoke-Sqlcmd -Query "SELECT SERVERPROPERTY('MachineName') AS ComputerName;" -ServerInstance (Get-Item .)
 
WARNING: Using provider context. Server = MyComputer
 
ComputerName
------------
MyComputer
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se usa uses Set-Location para navegar a la ruta de acceso de proveedor de SQL Server PowerShell para una instancia del Motor de base de datos. Después, se usa Get-Item para recuperar un objeto de SMO Server para usar como parámetro -ServerInstance de Invoke-Sqlcmd.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 5 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Invoke-Sqlcmd -Query "PRINT N'abc'" -Verbose
 
VERBOSE: abc
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se usa el parámetro de PowerShell -Verbose para devolver la salida del mensaje del comando PRINT.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 6 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-Location SQLSERVER:\SQL\MyComputer\DEFAULT\Databases\AdventureWorks2014
Invoke-Sqlcmd "SELECT DB_NAME() AS DatabaseName;"
 
WARNING: Using provider context. Server = MyComputer, Database = AdventureWorks2014.
 
DatabaseName
------------
AdventureWorks2014
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se usa una cadena de posición para proporcionar la entrada al parámetro -Query. También se muestra cómo usa Invoke-Sqlcmd la ruta de acceso actual para establecer el contexto de base de datos en AdventureWorks2014.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText>SQL Server Books Online: Transact-SQL Reference</maml:linkText><maml:uri /></maml:navigationLink><maml:navigationLink><maml:linkText>SQL Server Books Online: sqlcmd Utility</maml:linkText><maml:uri /></maml:navigationLink><maml:navigationLink><maml:linkText>SQL Server Books Online: XQuery Reference</maml:linkText><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"><command:details><command:name>Join-SqlAvailabilityGroup</command:name><maml:description><maml:para>Une la réplica de disponibilidad especificada en el parámetro InputObject o Path al grupo de disponibilidad especificado por el parámetro Name. </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>El cmdlet Join-SqlAvailabilityGroup une la réplica secundaria local al grupo de disponibilidad que se especifica en el parámetro Name. Este cmdlet puede ejecutarse solo en una instancia de SQL Server que hospeda una réplica secundaria que aún no se ha unido al grupo de disponibilidad.
</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="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>El nombre del grupo de disponibilidad.
</maml:para></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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server que hospeda la réplica secundaria que se va a unir al grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Join-SqlAvailabilityGroup</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>El nombre del grupo de disponibilidad.
</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="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia de SQL Server que hospeda la réplica secundaria.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia de SQL Server que hospeda la réplica secundaria.
</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>El nombre del grupo de disponibilidad.
</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="3" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server que hospeda la réplica secundaria que se va a unir al grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.Server</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
La réplica de disponibilidad que se va a unir al grupo de disponibilidad.
 
 
</maml:para></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><maml:alertSet><maml:title /><maml:alert><maml:para>El servicio de recuperación de datos de alta disponibilidad debe estar habilitado en la instancia de servidor, la réplica de disponibilidad especificada por Path debe existir.
</maml:para></maml:alert><maml:alert></maml:alert></maml:alertSet><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Join-SqlAvailabilityGroup -Path SQLSERVER:\SQL\SecondaryServer\InstanceName -Name 'MyAg'
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando une una réplica secundaria hospedada por la instancia de servidor que se encuentra en la ruta de acceso especificada al grupo de disponibilidad denominado 'MyAg'. Esta instancia de servidor debe hospedar una replicación secundaria en este grupo de disponibilidad.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Join-SqlAvailabilityGroup -Path SQLSERVER:\SQL\SecondaryServer\InstanceName -Name 'MyAg' -Script
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando da como resultado el script de Transact-SQL que une una réplica secundaria hospedada por la instancia de servidor que se encuentra en la ruta de acceso especificada al grupo de disponibilidad denominado 'MyAg'. Esta instancia de servidor debe hospedar una replicación secundaria en este grupo de disponibilidad.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText>SQL Server Books Online: Joining a Secondary Replica to an Availability Group (SQL Server)</maml:linkText><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"><command:details><command:name>New-SqlAvailabilityGroup</command:name><maml:description><maml:para>Crea un grupo de disponibilidad en la instancia del servidor que hospedará la réplica principal inicial.</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>El cmdlet New-SqlAvailabilityGroup crea un grupo de disponibilidad. La instancia del servidor especificada por el parámetro InputObject or Path hospedará la réplica principal inicial.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>New-SqlAvailabilityGroup</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre del grupo de disponibilidad que se va a crear.
</maml:para></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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server que hospedará la réplica principal inicial del grupo de disponibilidad. Si la ruta de acceso especificada no existe, se genera un error. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AutomatedBackupPreference</maml:name><maml:description><maml:para>Preferencia de la copia de seguridad automatizada para el grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>Primary: especifica que las copias de seguridad se realizan siempre en la réplica principal. Esta opción es frecuente porque el usuario necesita características no disponibles cuando la copia de seguridad se ejecuta en un medio secundario, como las copias de seguridad diferenciales.
</maml:para><maml:para>SecondaryOnly: especifica que las copias de seguridad nunca se realizan en las réplicas principales. Si la réplica principal es la única réplica en línea, la copia de seguridad no se realizará.
</maml:para><maml:para>Secondary: especifica que las copias de seguridad se producen en las réplicas secundarias a menos que la réplica principal sea la única réplica en línea. En ese caso, la copia de seguridad se produce en la réplica principal.
</maml:para><maml:para>None: esta opción especifica que el usuario no desea que el estado principal/secundario se tenga en cuenta al elegir la réplica para realizar copias de seguridad. Los únicos factores considerados son BackupPriority en combinación con el estado En línea/Conectado.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">AvailabilityGroupAutomatedBackupPreference</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Lista de bases de datos locales de solo escritura que usan el modelo de recuperación completa y no usan AUTO_CLOSE. Estas bases de datos no pueden pertenecer a otro grupo de disponibilidad y no se pueden configurar para el reflejo de base de datos. Este parámetro no puede ser NULL ni estar vacío.
</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" aliases=""><maml:name>FailureConditionLevel</maml:name><maml:description><maml:para>Determina el comportamiento de la conmutación automática por error del grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>OnServerDown: se conmuta por error o se reinicia cuando el servicio SQL Server se detiene.
</maml:para><maml:para>OnServerUnresponsive: se conmuta por error o se reinicia cuando se cumple alguna condición de un valor inferior, además de cuando el servicio SQL Server se conecta al clúster y se supera el umbral "HealthCheckTimeout" o cuando la réplica de disponibilidad que actualmente está en el rol principal está en estado de error. (Vea el parámetro HealthCheckTimeout).
</maml:para><maml:para>OnCriticalServerError: se conmuta por error o se reinicia cuando se satisface alguna condición de valor inferior, además de cuando se produce un error crítico interno de servidor (condición de falta de memoria, infracción grave de acceso de escritura o un volcado excesivo).
</maml:para><maml:para>OnModerateServerError: se conmuta por error o se reinicia cuando se alcanza cualquier condición de un valor inferior, además de cuando se produce un error moderado en el servidor (una condición de falta de memoria persistente).
</maml:para><maml:para>OnAnyQualifiedFailureConditions: se conmuta por error o se reinicia cuando se satisface cualquier condición de un valor inferior además de cuando se produce una condición de error adecuada (agotamiento de los subprocesos de trabajo del motor o la detección de un interbloqueo irresoluble).
</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" aliases=""><maml:name>HealthCheckTimeout</maml:name><maml:description><maml:para>Cantidad de tiempo transcurrida la cual un servidor que no responde se declara en mal estado.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AvailabilityReplica</maml:name><maml:description><maml:para>Objeto AvailabilityReplica de cada réplica de disponibilidad que desee incluir en el nuevo grupo de disponibilidad. Este parámetro puede anidarse, pero no puede estar vacío o ser NULL.
</maml:para><maml:para>SUGERENCIA: para crear objetos AvailabilityReplica, use el cmdlet New-SqlAvailabilityReplica con el parámetro AsTemplate.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>New-SqlAvailabilityGroup</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre del grupo de disponibilidad que se va a crear.
</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="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia del host que hospeda la réplica principal.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AutomatedBackupPreference</maml:name><maml:description><maml:para>Preferencia de la copia de seguridad automatizada para el grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>Primary: especifica que las copias de seguridad se realizan siempre en la réplica principal. Esta opción es frecuente porque el usuario necesita características no disponibles cuando la copia de seguridad se ejecuta en un medio secundario, como las copias de seguridad diferenciales.
</maml:para><maml:para>SecondaryOnly: especifica que las copias de seguridad nunca se realizan en las réplicas principales. Si la réplica principal es la única réplica en línea, la copia de seguridad no se realizará.
</maml:para><maml:para>Secondary: especifica que las copias de seguridad se producen en las réplicas secundarias a menos que la réplica principal sea la única réplica en línea. En ese caso, la copia de seguridad se produce en la réplica principal.
</maml:para><maml:para>None: esta opción especifica que el usuario no desea que el estado principal/secundario se tenga en cuenta al elegir la réplica para realizar copias de seguridad. Los únicos factores considerados son BackupPriority en combinación con el estado En línea/Conectado.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">AvailabilityGroupAutomatedBackupPreference</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Lista de bases de datos locales de solo escritura que usan el modelo de recuperación completa y no usan AUTO_CLOSE. Estas bases de datos no pueden pertenecer a otro grupo de disponibilidad y no se pueden configurar para el reflejo de base de datos. Este parámetro no puede ser NULL ni estar vacío.
</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" aliases=""><maml:name>FailureConditionLevel</maml:name><maml:description><maml:para>Determina el comportamiento de la conmutación automática por error del grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>OnServerDown: se conmuta por error o se reinicia cuando el servicio SQL Server se detiene.
</maml:para><maml:para>OnServerUnresponsive: se conmuta por error o se reinicia cuando se cumple alguna condición de un valor inferior, además de cuando el servicio SQL Server se conecta al clúster y se supera el umbral "HealthCheckTimeout" o cuando la réplica de disponibilidad que actualmente está en el rol principal está en estado de error. (Vea el parámetro HealthCheckTimeout).
</maml:para><maml:para>OnCriticalServerError: se conmuta por error o se reinicia cuando se satisface alguna condición de valor inferior, además de cuando se produce un error crítico interno de servidor (condición de falta de memoria, infracción grave de acceso de escritura o un volcado excesivo).
</maml:para><maml:para>OnModerateServerError: se conmuta por error o se reinicia cuando se alcanza cualquier condición de un valor inferior, además de cuando se produce un error moderado en el servidor (una condición de falta de memoria persistente).
</maml:para><maml:para>OnAnyQualifiedFailureConditions: se conmuta por error o se reinicia cuando se satisface cualquier condición de un valor inferior además de cuando se produce una condición de error adecuada (agotamiento de los subprocesos de trabajo del motor o la detección de un interbloqueo irresoluble).
</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" aliases=""><maml:name>HealthCheckTimeout</maml:name><maml:description><maml:para>Cantidad de tiempo transcurrida la cual un servidor que no responde se declara en mal estado.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AvailabilityReplica</maml:name><maml:description><maml:para>Objeto AvailabilityReplica de cada réplica de disponibilidad que desee incluir en el nuevo grupo de disponibilidad. Este parámetro puede anidarse, pero no puede estar vacío o ser NULL.
</maml:para><maml:para>SUGERENCIA: para crear objetos AvailabilityReplica, use el cmdlet New-SqlAvailabilityReplica con el parámetro AsTemplate.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AutomatedBackupPreference</maml:name><maml:description><maml:para>Preferencia de la copia de seguridad automatizada para el grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>Primary: especifica que las copias de seguridad se realizan siempre en la réplica principal. Esta opción es frecuente porque el usuario necesita características no disponibles cuando la copia de seguridad se ejecuta en un medio secundario, como las copias de seguridad diferenciales.
</maml:para><maml:para>SecondaryOnly: especifica que las copias de seguridad nunca se realizan en las réplicas principales. Si la réplica principal es la única réplica en línea, la copia de seguridad no se realizará.
</maml:para><maml:para>Secondary: especifica que las copias de seguridad se producen en las réplicas secundarias a menos que la réplica principal sea la única réplica en línea. En ese caso, la copia de seguridad se produce en la réplica principal.
</maml:para><maml:para>None: esta opción especifica que el usuario no desea que el estado principal/secundario se tenga en cuenta al elegir la réplica para realizar copias de seguridad. Los únicos factores considerados son BackupPriority en combinación con el estado En línea/Conectado.
</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AvailabilityReplica</maml:name><maml:description><maml:para>Objeto AvailabilityReplica de cada réplica de disponibilidad que desee incluir en el nuevo grupo de disponibilidad. Este parámetro puede anidarse, pero no puede estar vacío o ser NULL.
</maml:para><maml:para>SUGERENCIA: para crear objetos AvailabilityReplica, use el cmdlet New-SqlAvailabilityReplica con el parámetro AsTemplate.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>Lista de bases de datos locales de solo escritura que usan el modelo de recuperación completa y no usan AUTO_CLOSE. Estas bases de datos no pueden pertenecer a otro grupo de disponibilidad y no se pueden configurar para el reflejo de base de datos. Este parámetro no puede ser NULL ni estar vacío.
</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" aliases=""><maml:name>FailureConditionLevel</maml:name><maml:description><maml:para>Determina el comportamiento de la conmutación automática por error del grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>OnServerDown: se conmuta por error o se reinicia cuando el servicio SQL Server se detiene.
</maml:para><maml:para>OnServerUnresponsive: se conmuta por error o se reinicia cuando se cumple alguna condición de un valor inferior, además de cuando el servicio SQL Server se conecta al clúster y se supera el umbral "HealthCheckTimeout" o cuando la réplica de disponibilidad que actualmente está en el rol principal está en estado de error. (Vea el parámetro HealthCheckTimeout).
</maml:para><maml:para>OnCriticalServerError: se conmuta por error o se reinicia cuando se satisface alguna condición de valor inferior, además de cuando se produce un error crítico interno de servidor (condición de falta de memoria, infracción grave de acceso de escritura o un volcado excesivo).
</maml:para><maml:para>OnModerateServerError: se conmuta por error o se reinicia cuando se alcanza cualquier condición de un valor inferior, además de cuando se produce un error moderado en el servidor (una condición de falta de memoria persistente).
</maml:para><maml:para>OnAnyQualifiedFailureConditions: se conmuta por error o se reinicia cuando se satisface cualquier condición de un valor inferior además de cuando se produce una condición de error adecuada (agotamiento de los subprocesos de trabajo del motor o la detección de un interbloqueo irresoluble).
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>HealthCheckTimeout</maml:name><maml:description><maml:para>Cantidad de tiempo transcurrida la cual un servidor que no responde se declara en mal estado.
</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia del host que hospeda la réplica principal.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue><dev:type><maml:name>Context</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre del grupo de disponibilidad que se va a crear.
</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="3" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server que hospedará la réplica principal inicial del grupo de disponibilidad. Si la ruta de acceso especificada no existe, se genera un error. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.Server</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Especifica la instancia del servidor que contiene la réplica principal.
</maml:para><maml:para>
</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><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Nuevo objeto de PowerShell que contiene el grupo de disponibilidad.
 
 
</maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$primaryServer = Get-Item "SQLSERVER:\SQL\PrimaryServer\InstanceName"
$secondaryServer = Get-Item "SQLSERVER:\SQL\SecondaryServer\InstanceName"
 
$primaryReplica = New-SqlAvailabilityReplica `
-Name "PrimaryServer\InstanceName" `
-EndpointUrl "TCP://PrimaryServer.domain:5022" `
-FailoverMode "Automatic" `
-AvailabilityMode "SynchronousCommit" `
-AsTemplate `
-Version ($primaryServer.Version)
 
# Create the initial secondary replica
$secondaryReplica = New-SqlAvailabilityReplica `
-Name "SecondaryServer\InstanceName" `
-EndpointUrl "TCP://SecondaryServer.domain:5022" `
-FailoverMode "Automatic" `
-AvailabilityMode "SynchronousCommit" `
-AsTemplate `
-Version ($secondaryServer.Version)
 
# Create the Availability Group.
New-SqlAvailabilityGroup -InputObject $primaryServer -Name MyAG -AvailabilityReplica ($primaryReplica, $secondaryReplica) -Database @("MyDatabase1","MyDatabase2")
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se crea un nuevo un grupo de disponibilidad, 'MyAG', con dos réplicas de disponibilidad y dos bases de datos ('MyDatabase1' y 'MyDatabase2'). Primero, el ejemplo usa el cmdlet New-SqlAvailabilityReplica para crear representaciones en memoria de las dos réplicas ('$primaryReplica' y '$secondaryReplica'). Estas réplicas se configuran para usar el modo de disponibilidad de confirmación sincrónica con conmutación por error automática. Sus extremos de creación de reflejo de la base de datos usan el puerto 5022. El ejemplo usa entonces el cmdlet New-SqlAvailabilityGroup para crear el grupo de disponibilidad.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText>SQL Server Books Online: Creating an Availability Group (SQL Server)</maml:linkText><maml:uri /></maml:navigationLink><maml:navigationLink><maml:linkText>SQL Server Books Online: "HADR" Prerequisites and Restrictions</maml:linkText><maml:uri /></maml:navigationLink><maml:navigationLink><maml:linkText>SQL Server Books Online: Specifying the Endpoint URL for an Availability Replica (SQL Server)</maml:linkText><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"><command:details><command:name>New-SqlAvailabilityGroupListener</command:name><maml:description><maml:para>Crea un nuevo agente de escucha del grupo de disponibilidad y lo adjunta a un grupo de disponibilidad existente.</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>El cmdlet New-SqlAvailabilityGroupListener crea un nuevo agente de escucha de grupo de disponibilidad y lo asocia a un grupo de disponibilidad. Acepta parámetros que identifican el grupo de disponibilidad y las direcciones IP. Este cmdlet se puede ejecutar únicamente en la instancia del servidor que hospeda la réplica principal.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>New-SqlAvailabilityGroupListener</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre del agente de escucha.
</maml:para></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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. El nuevo agente de escucha se asociará al grupo de disponibilidad especificado por esta ruta de acceso. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DhcpSubnet</maml:name><maml:description><maml:para>Especifica que el agente de escucha debe usar DHCP en la subred especificada por el argumento. Este argumento debe ser una dirección IPv4 y una máscara de subred en notación de barra diagonal, por ejemplo, 192.168.0.1\255.255.255.0.
</maml:para><maml:para>StaticIp y DhcpSubnet son opciones que se excluyen mutuamente.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto que el agente de escucha usará para escuchar las conexiones. El puerto predeterminado es el puerto TCP 1433. Si le preocupa la seguridad, le recomendamos que use otro número de puerto.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StaticIp</maml:name><maml:description><maml:para>Especifica que el agente de escucha debe configurarse con las direcciones IP estáticas especificadas por el argumento. Este argumento debería ser una lista de cadenas. Cada una de estas cadenas puede ser una dirección IPv4 y una máscara de subred en notación de barra diagonal o una dirección IPv6.
</maml:para><maml:para>StaticIp y DhcpSubnet son opciones que se excluyen mutuamente.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>New-SqlAvailabilityGroupListener</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre del agente de escucha.
</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="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup del grupo de disponibilidad al que debe asociarse el agente de escucha.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DhcpSubnet</maml:name><maml:description><maml:para>Especifica que el agente de escucha debe usar DHCP en la subred especificada por el argumento. Este argumento debe ser una dirección IPv4 y una máscara de subred en notación de barra diagonal, por ejemplo, 192.168.0.1\255.255.255.0.
</maml:para><maml:para>StaticIp y DhcpSubnet son opciones que se excluyen mutuamente.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto que el agente de escucha usará para escuchar las conexiones. El puerto predeterminado es el puerto TCP 1433. Si le preocupa la seguridad, le recomendamos que use otro número de puerto.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StaticIp</maml:name><maml:description><maml:para>Especifica que el agente de escucha debe configurarse con las direcciones IP estáticas especificadas por el argumento. Este argumento debería ser una lista de cadenas. Cada una de estas cadenas puede ser una dirección IPv4 y una máscara de subred en notación de barra diagonal o una dirección IPv6.
</maml:para><maml:para>StaticIp y DhcpSubnet son opciones que se excluyen mutuamente.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DhcpSubnet</maml:name><maml:description><maml:para>Especifica que el agente de escucha debe usar DHCP en la subred especificada por el argumento. Este argumento debe ser una dirección IPv4 y una máscara de subred en notación de barra diagonal, por ejemplo, 192.168.0.1\255.255.255.0.
</maml:para><maml:para>StaticIp y DhcpSubnet son opciones que se excluyen mutuamente.
</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="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup del grupo de disponibilidad al que debe asociarse el agente de escucha.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue><dev:type><maml:name>Context</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre del agente de escucha.
</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="3" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. El nuevo agente de escucha se asociará al grupo de disponibilidad especificado por esta ruta de acceso. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto que el agente de escucha usará para escuchar las conexiones. El puerto predeterminado es el puerto TCP 1433. Si le preocupa la seguridad, le recomendamos que use otro número de puerto.
</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>65535 </dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StaticIp</maml:name><maml:description><maml:para>Especifica que el agente de escucha debe configurarse con las direcciones IP estáticas especificadas por el argumento. Este argumento debería ser una lista de cadenas. Cada una de estas cadenas puede ser una dirección IPv4 y una máscara de subred en notación de barra diagonal o una dirección IPv6.
</maml:para><maml:para>StaticIp y DhcpSubnet son opciones que se excluyen mutuamente.
</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 1 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;New-SqlAvailabilityGroupListener -Name MyListener -Path SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MyAg
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea un agente de escucha de grupo de disponibilidad denominado 'MyListener' para el grupo de disponibilidad 'MyAg'. Este agente de escucha usará DHCP para adquirir una dirección IP virtual. Este comando debe ejecutarse en la instancia de servidor que hospeda la réplica principal.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 2 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;New-SqlAvailabilityGroupListener -Name MyListener -Path SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MyAg -Port 1434
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea un agente de escucha de grupo de disponibilidad denominado 'MyListener' para el grupo de disponibilidad 'MyAg'. Este agente de escucha usará DHCP para adquirir una dirección IP virtual y escuchar las conexiones en el puerto 1434. Este comando debe ejecutarse en la instancia de servidor que hospeda la réplica principal.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 3 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;New-SqlAvailabilityGroupListener -Name MyListener -DhcpSubnet '192.169.0.1/255.255.252.0' -Path SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MyAg
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea un agente de escucha de grupo de disponibilidad denominado 'MyListener' para el grupo de disponibilidad 'MyAg'. Este agente de escucha usará DHCP en la subred especificada para adquirir una dirección IP virtual. Este comando debe ejecutarse en la instancia de servidor que hospeda la réplica principal.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 4 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;New-SqlAvailabilityGroupListener -Name MyListener -StaticIp '192.168.3.1/255.255.252.0' -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea un agente de escucha de grupo de disponibilidad denominado 'MyListener' para el grupo de disponibilidad 'MyAg'. Este agente de escucha usará la dirección IPv4 pasada al parámetro -StaticIp como su dirección IP virtual.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 5 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;New-SqlAvailabilityGroupListener -Name MyListener -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg -Script
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando da como resultado un script de Transact-SQL que crea un agente de escucha del grupo de disponibilidad denominado 'MyListener' para el grupo de disponibilidad 'MyAg'. Este comando no crea en realidad el agente de escucha.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>New-SqlAvailabilityReplica</command:name><maml:description><maml:para>Crea una nueva réplica de disponibilidad. Este cmdlet debe ejecutarse en la instancia de servidor que hospeda la réplica de disponibilidad principal.</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>El cmdlet New-SqlAvailabilityReplica crea una réplica de disponibilidad. Este cmdlet debe ejecutarse en la instancia del servidor SQL Server que hospeda la réplica principal.
</maml:para><maml:para>Los parámetros AsTemplate, InputObject y Path se excluyen mutuamente.
</maml:para><maml:para>Para crear objetos AvailabilityReplica antes de crear un nuevo grupo de disponibilidad, use el parámetro AsTemplate.
</maml:para><maml:para>Al agregar una réplica a un grupo de disponibilidad, use el parámetro InputObject o Path para especificar la ruta de acceso del grupo de disponibilidad. Si no se especifica ninguno, se usa la ruta de acceso actual.
</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="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la nueva réplica de disponibilidad. Especifique este nombre con el formato equipo\instancia.
</maml:para></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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. La nueva réplica pertenecerá al grupo de disponibilidad en esta ruta de acceso. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupPriority</maml:name><maml:description><maml:para>Esta opción es un entero en el intervalo 0..100 y representa la prioridad deseada de las réplicas en las copias de seguridad que se realizan. Del conjunto de réplicas que están en línea y disponibles, la réplica con la prioridad más alta se elegirá para realizar la copia de seguridad.
</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" aliases=""><maml:name>ConnectionModeInPrimaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol principal. Los valores válidos son:
</maml:para><maml:para>AllowReadWriteConnections: se permiten las conexión de lectura/escritura
</maml:para><maml:para>AllowAllConnections: se permiten todas las conexiones
</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" aliases=""><maml:name>ConnectionModeInSecondaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol secundario. Los valores válidos son:
</maml:para><maml:para>AllowNoConnections: deshabilita las conexiones
</maml:para><maml:para>AllowReadIntentConnectionsOnly: permite solo las conexiones de intención de lectura
</maml:para><maml:para>AllowAllConnections: permite todas las conexiones
</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" aliases=""><maml:name>ReadonlyRoutingConnectionUrl</maml:name><maml:description><maml:para>El nombre de dominio completo (FQDN) y el puerto que se usa al enrutar a la réplica para las conexiones de solo lectura. Por ejemplo:
</maml:para><maml:para>TCP://DBSERVER8.manufacturing.Adventure-Works.com:7024
</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" aliases=""><maml:name>ReadOnlyRoutingList</maml:name><maml:description><maml:para>Lista ordenada de nombres de servidor de réplica que representa la secuencia de sondeo para que el director de conexión la use al redirigir las conexiones de solo lectura a través de esta réplica de disponibilidad. Esto es aplicable cuando la réplica de disponibilidad es la principal actual del grupo de disponibilidad.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SessionTimeout</maml:name><maml:description><maml:para>Número de segundos durante los cuales se espera una respuesta entre la réplica principal y esta réplica antes de considerar que la conexión dio error.
</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="named" aliases=""><maml:name>AvailabilityMode</maml:name><maml:description><maml:para>Indica si la réplica está en modo de confirmación sincrónica o de confirmación asincrónica. Puede ser 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" aliases=""><maml:name>EndpointUrl</maml:name><maml:description><maml:para>Dirección URL del extremo de creación de reflejo de la base de datos. Esta dirección URL es una dirección TCP/IP con el formato TCP://dirección_de_sistema:puerto.
</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" aliases=""><maml:name>FailoverMode</maml:name><maml:description><maml:para>Puede ser Automatic o Manual. Puede ser NULL.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">AvailabilityReplicaFailoverMode</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>New-SqlAvailabilityReplica</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la nueva réplica de disponibilidad. Especifique este nombre con el formato equipo\instancia.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AsTemplate</maml:name><maml:description><maml:para>Ruta de acceso de una nueva réplica de disponibilidad para la que desea crear un nuevo objeto AvailabilityReplica temporal en la memoria. Use AsTemplate para crear cada nueva réplica de disponibilidad que piense incluir en un nuevo grupo de disponibilidad. Después, cree el grupo de disponibilidad ejecutando el cmdlet New-SqlAvailabilityGroup y especifique los objetos AvailabilityReplica como valores del parámetro AvailabilityReplica.
</maml:para><maml:para>Cuando se especifica AsTemplate, los parámetros InputObject y Path se omiten.
</maml:para><maml:para>Cuando se especifica AsTemplate, debe pasar una versión de SQL al parámetro Version o la sesión actual debe tener una conexión activa a una instancia.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupPriority</maml:name><maml:description><maml:para>Esta opción es un entero en el intervalo 0..100 y representa la prioridad deseada de las réplicas en las copias de seguridad que se realizan. Del conjunto de réplicas que están en línea y disponibles, la réplica con la prioridad más alta se elegirá para realizar la copia de seguridad.
</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" aliases=""><maml:name>ConnectionModeInPrimaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol principal. Los valores válidos son:
</maml:para><maml:para>AllowReadWriteConnections: se permiten las conexión de lectura/escritura
</maml:para><maml:para>AllowAllConnections: se permiten todas las conexiones
</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" aliases=""><maml:name>ConnectionModeInSecondaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol secundario. Los valores válidos son:
</maml:para><maml:para>AllowNoConnections: deshabilita las conexiones
</maml:para><maml:para>AllowReadIntentConnectionsOnly: permite solo las conexiones de intención de lectura
</maml:para><maml:para>AllowAllConnections: permite todas las conexiones
</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" aliases=""><maml:name>ReadonlyRoutingConnectionUrl</maml:name><maml:description><maml:para>El nombre de dominio completo (FQDN) y el puerto que se usa al enrutar a la réplica para las conexiones de solo lectura. Por ejemplo:
</maml:para><maml:para>TCP://DBSERVER8.manufacturing.Adventure-Works.com:7024
</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" aliases=""><maml:name>ReadOnlyRoutingList</maml:name><maml:description><maml:para>Lista ordenada de nombres de servidor de réplica que representa la secuencia de sondeo para que el director de conexión la use al redirigir las conexiones de solo lectura a través de esta réplica de disponibilidad. Esto es aplicable cuando la réplica de disponibilidad es la principal actual del grupo de disponibilidad.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SessionTimeout</maml:name><maml:description><maml:para>Número de segundos durante los cuales se espera una respuesta entre la réplica principal y esta réplica antes de considerar que la conexión dio 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" aliases=""><maml:name>Version</maml:name><maml:description><maml:para>Especifica una versión de SQL Server. Este parámetro solo es pertinente si se especifica AsTemplate. El objeto de plantilla se crea en modo de diseño en un servidor con esta versión.
</maml:para><maml:para>La versión se puede especificar como un entero o una cadena, si se desea. Por ejemplo: -Version %PRODUCT_MAJOR_VER%, o -Version "%PRODUCT_MAJOR_VER%.0.0"
</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="named" aliases=""><maml:name>AvailabilityMode</maml:name><maml:description><maml:para>Indica si la réplica está en modo de confirmación sincrónica o de confirmación asincrónica. Puede ser 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" aliases=""><maml:name>EndpointUrl</maml:name><maml:description><maml:para>Dirección URL del extremo de creación de reflejo de la base de datos. Esta dirección URL es una dirección TCP/IP con el formato TCP://dirección_de_sistema:puerto.
</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" aliases=""><maml:name>FailoverMode</maml:name><maml:description><maml:para>Puede ser Automatic o Manual. Puede ser NULL.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">AvailabilityReplicaFailoverMode</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>New-SqlAvailabilityReplica</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la nueva réplica de disponibilidad. Especifique este nombre con el formato equipo\instancia.
</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="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup del grupo de disponibilidad al que la nueva réplica pertenecerá.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupPriority</maml:name><maml:description><maml:para>Esta opción es un entero en el intervalo 0..100 y representa la prioridad deseada de las réplicas en las copias de seguridad que se realizan. Del conjunto de réplicas que están en línea y disponibles, la réplica con la prioridad más alta se elegirá para realizar la copia de seguridad.
</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" aliases=""><maml:name>ConnectionModeInPrimaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol principal. Los valores válidos son:
</maml:para><maml:para>AllowReadWriteConnections: se permiten las conexión de lectura/escritura
</maml:para><maml:para>AllowAllConnections: se permiten todas las conexiones
</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" aliases=""><maml:name>ConnectionModeInSecondaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol secundario. Los valores válidos son:
</maml:para><maml:para>AllowNoConnections: deshabilita las conexiones
</maml:para><maml:para>AllowReadIntentConnectionsOnly: permite solo las conexiones de intención de lectura
</maml:para><maml:para>AllowAllConnections: permite todas las conexiones
</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" aliases=""><maml:name>ReadonlyRoutingConnectionUrl</maml:name><maml:description><maml:para>El nombre de dominio completo (FQDN) y el puerto que se usa al enrutar a la réplica para las conexiones de solo lectura. Por ejemplo:
</maml:para><maml:para>TCP://DBSERVER8.manufacturing.Adventure-Works.com:7024
</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" aliases=""><maml:name>ReadOnlyRoutingList</maml:name><maml:description><maml:para>Lista ordenada de nombres de servidor de réplica que representa la secuencia de sondeo para que el director de conexión la use al redirigir las conexiones de solo lectura a través de esta réplica de disponibilidad. Esto es aplicable cuando la réplica de disponibilidad es la principal actual del grupo de disponibilidad.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SessionTimeout</maml:name><maml:description><maml:para>Número de segundos durante los cuales se espera una respuesta entre la réplica principal y esta réplica antes de considerar que la conexión dio error.
</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="named" aliases=""><maml:name>AvailabilityMode</maml:name><maml:description><maml:para>Indica si la réplica está en modo de confirmación sincrónica o de confirmación asincrónica. Puede ser 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" aliases=""><maml:name>EndpointUrl</maml:name><maml:description><maml:para>Dirección URL del extremo de creación de reflejo de la base de datos. Esta dirección URL es una dirección TCP/IP con el formato TCP://dirección_de_sistema:puerto.
</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" aliases=""><maml:name>FailoverMode</maml:name><maml:description><maml:para>Puede ser Automatic o Manual. Puede ser NULL.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">AvailabilityReplicaFailoverMode</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AsTemplate</maml:name><maml:description><maml:para>Ruta de acceso de una nueva réplica de disponibilidad para la que desea crear un nuevo objeto AvailabilityReplica temporal en la memoria. Use AsTemplate para crear cada nueva réplica de disponibilidad que piense incluir en un nuevo grupo de disponibilidad. Después, cree el grupo de disponibilidad ejecutando el cmdlet New-SqlAvailabilityGroup y especifique los objetos AvailabilityReplica como valores del parámetro AvailabilityReplica.
</maml:para><maml:para>Cuando se especifica AsTemplate, los parámetros InputObject y Path se omiten.
</maml:para><maml:para>Cuando se especifica AsTemplate, debe pasar una versión de SQL al parámetro Version o la sesión actual debe tener una conexión activa a una instancia.
</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>0</dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AvailabilityMode</maml:name><maml:description><maml:para>Indica si la réplica está en modo de confirmación sincrónica o de confirmación asincrónica. Puede ser 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupPriority</maml:name><maml:description><maml:para>Esta opción es un entero en el intervalo 0..100 y representa la prioridad deseada de las réplicas en las copias de seguridad que se realizan. Del conjunto de réplicas que están en línea y disponibles, la réplica con la prioridad más alta se elegirá para realizar la copia de seguridad.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ConnectionModeInPrimaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol principal. Los valores válidos son:
</maml:para><maml:para>AllowReadWriteConnections: se permiten las conexión de lectura/escritura
</maml:para><maml:para>AllowAllConnections: se permiten todas las conexiones
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ConnectionModeInSecondaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol secundario. Los valores válidos son:
</maml:para><maml:para>AllowNoConnections: deshabilita las conexiones
</maml:para><maml:para>AllowReadIntentConnectionsOnly: permite solo las conexiones de intención de lectura
</maml:para><maml:para>AllowAllConnections: permite todas las conexiones
</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EndpointUrl</maml:name><maml:description><maml:para>Dirección URL del extremo de creación de reflejo de la base de datos. Esta dirección URL es una dirección TCP/IP con el formato TCP://dirección_de_sistema:puerto.
</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" aliases=""><maml:name>FailoverMode</maml:name><maml:description><maml:para>Puede ser Automatic o Manual. Puede ser 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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup del grupo de disponibilidad al que la nueva réplica pertenecerá.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue><dev:type><maml:name>Context</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la nueva réplica de disponibilidad. Especifique este nombre con el formato equipo\instancia.
</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="3" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. La nueva réplica pertenecerá al grupo de disponibilidad en esta ruta de acceso. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>ReadonlyRoutingConnectionUrl</maml:name><maml:description><maml:para>El nombre de dominio completo (FQDN) y el puerto que se usa al enrutar a la réplica para las conexiones de solo lectura. Por ejemplo:
</maml:para><maml:para>TCP://DBSERVER8.manufacturing.Adventure-Works.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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ReadOnlyRoutingList</maml:name><maml:description><maml:para>Lista ordenada de nombres de servidor de réplica que representa la secuencia de sondeo para que el director de conexión la use al redirigir las conexiones de solo lectura a través de esta réplica de disponibilidad. Esto es aplicable cuando la réplica de disponibilidad es la principal actual del grupo de disponibilidad.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SessionTimeout</maml:name><maml:description><maml:para>Número de segundos durante los cuales se espera una respuesta entre la réplica principal y esta réplica antes de considerar que la conexión dio 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Version</maml:name><maml:description><maml:para>Especifica una versión de SQL Server. Este parámetro solo es pertinente si se especifica AsTemplate. El objeto de plantilla se crea en modo de diseño en un servidor con esta versión.
</maml:para><maml:para>La versión se puede especificar como un entero o una cadena, si se desea. Por ejemplo: -Version %PRODUCT_MAJOR_VER%, o -Version "%PRODUCT_MAJOR_VER%.0.0"
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Especifica el grupo de disponibilidad para la réplica.
 
 
</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><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Objeto de PowerShell que contiene la réplica de disponibilidad recién creada.
 
 
</maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$serverObject = (Get-Item SQLSERVER:\Sql\PrimaryServer\InstanceName)
$serverVersion = $serverObject.Version
$endpointURL = "TCP://PrimaryServerName.domain.com:5022"
$failoverMode = "Automatic"
$availabilityMode = "SynchronousCommit"
New-SqlAvailabilityReplica -Name PrimaryServer\Instance -EndpointUrl $endpointURL -FailoverMode $failoverMode -AvailabilityMode $availabilityMode -AsTemplate -Version $serverVersion
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se crea una representación en memoria de una réplica de disponibilidad. No se confirma ningún cambio en el servidor. Esta réplica debe pasarse al parámetro AvailabilityReplica del cmdlet New-SqlAvailabilityGroup. Esta réplica usará el extremo de reflejo de base de datos que se encuentra en la dirección URL especificada para comunicarse con otras réplicas del grupo de disponibilidad. Esta réplica admite la conmutación por error automática y el modo de disponibilidad de confirmación sincrónica. Los parámetros -AsTemplate y -Version se requieren para construir la representación en memoria. El parámetro -Version especifica la versión de la instancia de servidor que hospedará esta réplica. El número de versión debe ser 11.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$serverObject = (Get-Item SQLSERVER:\Sql\PrimaryServer\InstanceName)
$serverVersion = $serverObject.Version
$endpointURL = "TCP://PrimaryServerName.domain.com:5022"
$failoverMode = "Manual"
$availabilityMode = "AsynchronousCommit"
New-SqlAvailabilityReplica -Name SecondaryServer\Instance -EndpointUrl $endpointURL -FailoverMode $failoverMode -AvailabilityMode $availabilityMode -AsTemplate -Version $serverVersion
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea una representación en memoria de una réplica de disponibilidad. No se confirma ningún cambio en el servidor. Esta réplica debe pasarse al parámetro AvailabilityReplica del cmdlet New-SqlAvailabilityGroup. Esta réplica usará el extremo que se encuentra en la dirección URL especificada para comunicarse con otras réplicas del grupo de disponibilidad. Esta réplica admite la conmutación por error manual y el modo de disponibilidad de confirmación asincrónica. Los parámetros -AsTemplate y -Version se requieren para construir la representación en memoria. El parámetro -Version especifica la versión de la instancia de servidor que hospedará esta réplica. El número de versión debe ser 11.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 3 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$agPath = "SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAg"
$endpointURL = "TCP://PrimaryServerName.domain.com:5022"
$failoverMode = "Manual"
$availabilityMode = "AsynchronousCommit"
$secondaryReadMode = "AllowAllConnections"
New-SqlAvailabilityReplica -Name SecondaryServer\Instance -EndpointUrl $endpointURL -FailoverMode $failoverMode -AvailabilityMode $availabilityMode -ConnectionModeInSecondaryRole $secondaryReadMode -Path $agPath
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se agrega una réplica de disponibilidad a un grupo de disponibilidad existente denominado 'MyAg'. Esta réplica admite la conmutación por error manual y el modo de disponibilidad de confirmación asincrónica. En el rol secundario, esta réplica admitirá conexiones de acceso de lectura, lo que permite descargar a esta réplica del procesamiento de solo lectura.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText>SQL Server Books Online: Specifying the Endpoint URL for an Availability Replica (SQL Server)</maml:linkText><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"><command:details><command:name>New-SqlBackupEncryptionOption</command:name><maml:description><maml:para>Define las opciones de cifrado para el cmdlet Backup-SqlDatabase o Set-SqlSmartAdmin.</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></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" aliases=""><maml:name>Algorithm</maml:name><maml:description><maml:para>Algoritmo de cifrado. Los valores posibles son: AES128, AES192, AES256 y 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" aliases=""><maml:name>EncryptorName</maml:name><maml:description><maml:para>Nombre del certificado o de la clave asimétrica del servidor.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EncryptorType</maml:name><maml:description><maml:para>Tipo de sistema de cifrado. Los valores posibles son ServerCertificate y 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" aliases=""><maml:name>NoEncryption</maml:name><maml:description><maml:para>Especifica que se ha deshabilitado el cifrado. Este parámetro no se puede usar con ningún otro parámetro.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Algorithm</maml:name><maml:description><maml:para>Algoritmo de cifrado. Los valores posibles son: AES128, AES192, AES256 y 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EncryptorName</maml:name><maml:description><maml:para>Nombre del certificado o de la clave asimétrica del servidor.</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" aliases=""><maml:name>EncryptorType</maml:name><maml:description><maml:para>Tipo de sistema de cifrado. Los valores posibles son ServerCertificate y 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoEncryption</maml:name><maml:description><maml:para>Especifica que se ha deshabilitado el cifrado. Este parámetro no se puede usar con ningún otro parámetro.</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:parameters><command:inputTypes><command:inputType><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para>Se usa como entrada del parámetro –EncryptionOption de los cmdlets Backup-SqlDatabase y Set-SqlSmartAdmin.</maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
-------------------------- EXAMPLE 1 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$encryptionOption = New-SqlBackupEncryptionOption -Algorithm Aes256 -EncryptorType ServerCertificate -EncryptorName "BackupCert"
</dev:code><dev:code>C:\PS&gt;Backup-SqlDatabase -ServerInstance . -Database "db1" -BackupFile "db1.bak" -CompressionOption On -EncryptionOption $encryptionOption
 
</dev:code><dev:remarks><maml:para>En este ejemplo se crean las opciones de cifrado y se usan como valor de parámetro de Backup-SqlDatabase para crear una copia de seguridad cifrada.</maml:para></dev:remarks><command:commandLines><command:commandLine><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: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"><command:details><command:name>New-SqlCredential</command:name><maml:description><maml:para>Crea un nuevo objeto Credential de SQL Server.</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>El cmdlet New-SqlCredential crea un nuevo objeto Credential de SQL Server. El objeto Credential de SQL Server se usa para almacenar información de autenticación. La credencial de SQL Server es necesaria cuando se realizan copias de seguridad en el servicio de almacenamiento de Windows Azure, o cuando se restauran copias de seguridad desde dicho servicio, y se emplea para almacenar el nombre de la cuenta y la información de clave de acceso del almacenamiento de Windows Azure.
</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="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la credencial.
</maml:para></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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso de la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor de este parámetro usa la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ProviderName</maml:name><maml:description><maml:para>Nombre del proveedor criptográfico. Especifica el nombre de un Proveedor de administración de claves de la empresa (EKM).
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Secret</maml:name><maml:description><maml:para>Contraseña del usuario o de la cuenta. Para la autenticación en el servicio de almacenamiento de Windows Azure, es el valor de la clave de acceso de la cuenta de almacenamiento.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Identity</maml:name><maml:description><maml:para>Nombre del usuario o de la cuenta. Para la autenticación en el servicio de almacenamiento de Windows Azure, es el nombre de la cuenta de almacenamiento de Windows Azure.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>New-SqlCredential</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la credencial.
</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="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server donde se debe crear la credencial.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ProviderName</maml:name><maml:description><maml:para>Nombre del proveedor criptográfico. Especifica el nombre de un Proveedor de administración de claves de la empresa (EKM).
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Secret</maml:name><maml:description><maml:para>Contraseña del usuario o de la cuenta. Para la autenticación en el servicio de almacenamiento de Windows Azure, es el valor de la clave de acceso de la cuenta de almacenamiento.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Identity</maml:name><maml:description><maml:para>Nombre del usuario o de la cuenta. Para la autenticación en el servicio de almacenamiento de Windows Azure, es el nombre de la cuenta de almacenamiento de Windows Azure.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Identity</maml:name><maml:description><maml:para>Nombre del usuario o de la cuenta. Para la autenticación en el servicio de almacenamiento de Windows Azure, es el nombre de la cuenta de almacenamiento de Windows 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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server donde se debe crear la credencial.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue><dev:type><maml:name>Context</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre de la credencial.
</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="3" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso de la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor de este parámetro usa la ubicación de trabajo actual.
</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" aliases=""><maml:name>ProviderName</maml:name><maml:description><maml:para>Nombre del proveedor criptográfico. Especifica el nombre de un Proveedor de administración de claves de la empresa (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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Secret</maml:name><maml:description><maml:para>Contraseña del usuario o de la cuenta. Para la autenticación en el servicio de almacenamiento de Windows Azure, es el valor de la clave de acceso de la cuenta de almacenamiento.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
-------------------------- EXAMPLE 1 --------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt; cd SQLServer:\SQL\Computer\Instance
$storageAccount = “myWindowsAzureStorageAccount”
$storageKey = “&lt;storage account access key value&gt;”
New-SqlCredential – name “mysqlcredential” –Identity $storageAccount –secret $storageKey
 
 
</dev:code><dev:remarks><maml:para>Este comando crea la credencial de SQL “mysqlcredential” en la instancia actual de SQL Server.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
-------------------------- EXAMPLE 2 --------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;#cd to computer level
cd sqlserver:\sql\computer
$storageAccount = “myWindowsAzureStorageAccount”
$storageKey = “&lt;storage account access key value&gt;”
$secureString = convertto-securestring $storageKey -asplaintext -force
# get the list of instances
$instances = Get-childitem
#pipe the instances to new-sqlcredentail cmdlet to create SQL credential
$instances | new-sqlcredential -Name “mysqlcredential” -Identity storageAccount -Secret $secureString
 
 
 
</dev:code><dev:remarks><maml:para>Este comando crea una credencial de SQL “mysqlcredential” en todas las instancias de SQL Server.
</maml:para></dev:remarks><command:commandLines><command:commandLine><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"><command:details><command:name>New-SqlHADREndpoint</command:name><maml:description><maml:para>Crea un extremo de creación de reflejo de la base de datos en una instancia de SQL Server.</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>El cmdlet New-SqlHadrndpoint crea un extremo de creación de reflejo de la base de datos en la instancia de SQL Server especificada. Este extremo se requiere en cada instancia de servidor que hospede una réplica de disponibilidad de algún grupo de disponibilidad. Cada instancia de servidor solo puede tener un extremo de creación de reflejo de la base de datos. Si una instancia de servidor ya posee un extremo de creación de reflejo de la base de datos, use el extremo existente.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>New-SqlHADREndpoint</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre del extremo que se va a crear. Este parámetro es obligatorio.
</maml:para></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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que el extremo va a crearse. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AuthenticationOrder</maml:name><maml:description><maml:para>Orden y tipo de autenticación que usa el extremo. Las opciones son Certificate, CertificateKerberos , CertificateNegotiate, CertificateNtlm, Kerberos, KerberosCertificate, Negotiate, NegotiateCertificate, Ntlm y NtlmCertificate. Si la opción especificada necesita un certificado, se debe establecer también el parámetro -Certificate.
</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" aliases=""><maml:name>Certificate</maml:name><maml:description><maml:para>Nombre del certificado que el extremo debe usar para autenticar las conexiones. El extremo alejado debe tener un certificado con la clave pública que coincida con la clave privada del certificado especificado.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Encryption</maml:name><maml:description><maml:para>Opción de cifrado para el extremo. Las opciones son Disabled, Supported o Required. El valor predeterminado es 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" aliases=""><maml:name>EncryptionAlgorithm</maml:name><maml:description><maml:para>Forma del cifrado que usa el extremo. Las opciones son Aes, AesRC4, None, RC4 y RC4Aes. De forma predeterminada, el extremo usará el cifrado Aes.
</maml:para><maml:para>NOTA: el algoritmo RC4 se admite únicamente por razones de compatibilidad con versiones anteriores. El material nuevo solo se puede cifrar con RC4 o RC4_128 cuando la base de datos tenga el nivel de compatibilidad 90 o 100. (No se recomienda). Use un algoritmo más reciente como uno de los algoritmos AES en su lugar.
</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" aliases=""><maml:name>IpAddress</maml:name><maml:description><maml:para>Dirección IP en la que escuchará el extremo. El valor predeterminado es ALL, que indica que el agente de escucha aceptará una conexión en cualquier dirección IP válida.
</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" aliases=""><maml:name>Owner</maml:name><maml:description><maml:para>Inicio de sesión del propietario del extremo. De forma predeterminada, se trata del inicio de sesión actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto TCP en el que el extremo escuchará las conexiones. El puerto predeterminado es 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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>New-SqlHADREndpoint</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre del extremo que se va a crear. Este parámetro es obligatorio.
</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="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia de SQL Server en la que el extremo debe crearse.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AuthenticationOrder</maml:name><maml:description><maml:para>Orden y tipo de autenticación que usa el extremo. Las opciones son Certificate, CertificateKerberos , CertificateNegotiate, CertificateNtlm, Kerberos, KerberosCertificate, Negotiate, NegotiateCertificate, Ntlm y NtlmCertificate. Si la opción especificada necesita un certificado, se debe establecer también el parámetro -Certificate.
</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" aliases=""><maml:name>Certificate</maml:name><maml:description><maml:para>Nombre del certificado que el extremo debe usar para autenticar las conexiones. El extremo alejado debe tener un certificado con la clave pública que coincida con la clave privada del certificado especificado.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Encryption</maml:name><maml:description><maml:para>Opción de cifrado para el extremo. Las opciones son Disabled, Supported o Required. El valor predeterminado es 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" aliases=""><maml:name>EncryptionAlgorithm</maml:name><maml:description><maml:para>Forma del cifrado que usa el extremo. Las opciones son Aes, AesRC4, None, RC4 y RC4Aes. De forma predeterminada, el extremo usará el cifrado Aes.
</maml:para><maml:para>NOTA: el algoritmo RC4 se admite únicamente por razones de compatibilidad con versiones anteriores. El material nuevo solo se puede cifrar con RC4 o RC4_128 cuando la base de datos tenga el nivel de compatibilidad 90 o 100. (No se recomienda). Use un algoritmo más reciente como uno de los algoritmos AES en su lugar.
</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" aliases=""><maml:name>IpAddress</maml:name><maml:description><maml:para>Dirección IP en la que escuchará el extremo. El valor predeterminado es ALL, que indica que el agente de escucha aceptará una conexión en cualquier dirección IP válida.
</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" aliases=""><maml:name>Owner</maml:name><maml:description><maml:para>Inicio de sesión del propietario del extremo. De forma predeterminada, se trata del inicio de sesión actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto TCP en el que el extremo escuchará las conexiones. El puerto predeterminado es 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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AuthenticationOrder</maml:name><maml:description><maml:para>Orden y tipo de autenticación que usa el extremo. Las opciones son Certificate, CertificateKerberos , CertificateNegotiate, CertificateNtlm, Kerberos, KerberosCertificate, Negotiate, NegotiateCertificate, Ntlm y NtlmCertificate. Si la opción especificada necesita un certificado, se debe establecer también el parámetro -Certificate.
</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>SMO.EndpointAuthenticationOrder.Negotiate</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Certificate</maml:name><maml:description><maml:para>Nombre del certificado que el extremo debe usar para autenticar las conexiones. El extremo alejado debe tener un certificado con la clave pública que coincida con la clave privada del certificado especificado.
</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" aliases=""><maml:name>Encryption</maml:name><maml:description><maml:para>Opción de cifrado para el extremo. Las opciones son Disabled, Supported o Required. El valor predeterminado es 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>SMO.EndpointAuthentication.Required</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EncryptionAlgorithm</maml:name><maml:description><maml:para>Forma del cifrado que usa el extremo. Las opciones son Aes, AesRC4, None, RC4 y RC4Aes. De forma predeterminada, el extremo usará el cifrado Aes.
</maml:para><maml:para>NOTA: el algoritmo RC4 se admite únicamente por razones de compatibilidad con versiones anteriores. El material nuevo solo se puede cifrar con RC4 o RC4_128 cuando la base de datos tenga el nivel de compatibilidad 90 o 100. (No se recomienda). Use un algoritmo más reciente como uno de los algoritmos AES en su lugar.
</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>RC4</dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="3" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia de SQL Server en la que el extremo debe crearse.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Context</command:parameterValue><dev:type><maml:name>Context</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>IpAddress</maml:name><maml:description><maml:para>Dirección IP en la que escuchará el extremo. El valor predeterminado es ALL, que indica que el agente de escucha aceptará una conexión en cualquier dirección IP válida.
</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>Nombre del extremo que se va a crear. Este parámetro es obligatorio.
</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" aliases=""><maml:name>Owner</maml:name><maml:description><maml:para>Inicio de sesión del propietario del extremo. De forma predeterminada, se trata del inicio de sesión actual.
</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="3" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que el extremo va a crearse. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto TCP en el que el extremo escuchará las conexiones. El puerto predeterminado es 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>5022</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>SMO.Server</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Este parámetro especifica la instancia de servidor en la que se va a crear el extremo.
 
 
</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><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;New-SqlHADREndpoint -Path SQLSERVER:\Sql\Computer\Instance -Name MyEndpoint
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea un extremo de creación de reflejo de la base de datos denominado 'MyEndpoint' en la instancia que se encuentra en la ruta de acceso especificada. Este extremo usa el puerto predeterminado, 5022.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;New-SqlHADREndpoint -Path SQLSERVER:\Sql\Computer\Instance -Name EndpointName -Port 4022 -EncryptionAlgorithm 'Aes' -Encryption 'Required'
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea un extremo de creación de reflejo de la base de datos denominado 'MyEndpoint' en la instancia que se encuentra en la ruta de acceso especificada. Este extremo escucha en el puerto 4022. El extremo usa el algoritmo AES para el cifrado y requiere que las conexiones usen el cifrado.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 3 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;New-SqlHADREndpoint -Path SQLSERVER:\Sql\Computer\Instance -Name EndpointName -AuthenticationOrder 'Certificate' -Certificate 'MyCertificate'
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando crea un extremo de creación de reflejo de la base de datos denominado 'MyEndpoint' en la instancia que se encuentra en la ruta de acceso especificada. Este extremo usa el certificado denominado 'MyCertificate' para autenticar las conexiones.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 4 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;New-SqlHADREndpoint -Path SQLSERVER:\Sql\Computer\Instance -Name MyEndpoint -Script
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando da como resultado el script de Transact-SQL que crea un extremo de creación de reflejo de la base de datos denominado 'MyEndpoint' en la instancia que se encuentra en la ruta de acceso especificada. Este comando no crea en realidad el extremo.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Remove-SqlAvailabilityDatabase</command:name><maml:description><maml:para>Quita la base de datos de disponibilidad especificada por el parámetro InputObject o Path de su grupo de disponibilidad. </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>El cmdlet Remove-SqlAvailabilityDatabase quita la base de datos de disponibilidad especificada por el parámetro InputObject or Path que se va a quitar de su grupo de disponibilidad. Si se ejecuta en la instancia de servidor que hospeda la réplica principal, este cmdlet quita la base de datos principal y todas sus bases de datos secundarias correspondientes del grupo de disponibilidad. Si se ejecuta en una instancia de servidor que hospeda una réplica secundaria, este cmdlet quita solo la base de datos secundaria del grupo de disponibilidad; esta base de datos secundaria ya no está unida al grupo de disponibilidad, pero otras copias de la misma continuarán estando unidas.
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso de la base de datos de disponibilidad. Este parámetro es obligatorio.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Remove-SqlAvailabilityDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityDatabase de la base de datos de disponibilidad que se va a quitar.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityDatabase de la base de datos de disponibilidad que se va a quitar.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso de la base de datos de disponibilidad. Este parámetro es obligatorio.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityDatabase</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Especifica la base de datos de disponibilidad que se va a quitar.
 
 
</maml:para></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Remove-SqlAvailabilityDatabase -Path SQLSERVER:\Sql\PrimaryComputer\InstanceName\AvailabilityGroups\MyAg\AvailabilityDatabases\MyDatabase
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando quita la base de datos de disponibilidad denominada 'MyDatabase' del grupo de disponibilidad denominado 'MyAg'. Dado que este comando se ejecuta en la instancia del servidor que hospeda la réplica principal, la base de datos principal y todas sus bases de datos secundarias correspondientes se quitarán del grupo de disponibilidad. La sincronización de datos ya no se producirá para esta base de datos en ninguna réplica secundaria.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Get-ChildItem SQLSERVER:\Sql\PrimaryComputer\InstanceName\AvailabilityGroups\MyAg\AvailabilityDatabases | Remove-SqlAvailabilityDatabase
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando quita todas las bases de datos de disponibilidad del grupo de disponibilidad denominado 'MyAg'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 3 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Remove-SqlAvailabilityDatabase -Path SQLSERVER:\Sql\SecondaryComputer\InstanceName\AvailabilityGroups\MyAg\AvailabilityDatabases\MyDatabase
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando quita la base de datos secundaria 'MyDatabase' de la réplica secundaria hospedada por la instancia de servidor denominada 'SecondaryComputer\Instance'. La sincronización de datos cesa en las bases de datos secundarias quitadas. Este comando no afecta a la base de datos principal ni a ninguna otra base de datos secundaria.
</maml:para><maml:para>Nota: para reiniciar la sincronización de datos en esta base de datos secundaria, vuelva a unirla al grupo de disponibilidad usando el cmdlet Add-SqlAvailabilityDatabase en la misma instancia de servidor.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 4 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Remove-SqlAvailabilityDatabase -Path SQLSERVER:\Sql\PrimaryComputer\InstanceName\AvailabilityGroups\MyAg\AvailabilityDatabases\MyDatabase -Script
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando da como resultado el comando de Transact-SQL que quita la base de datos de disponibilidad 'MyDatabase' del grupo de disponibilidad 'MyAg'. Este comando no quita en realidad la base de datos de disponibilidad.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Remove-SqlAvailabilityGroup</command:name><maml:description><maml:para>Quita el grupo de disponibilidad especificado por el parámetro InputObject o Path.
 
 
 
 
 
 
 
                    </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>El cmdlet Remove-SqlAvailabilityGroup quita el grupo de disponibilidad especificado por el parámetro InputObject o Path. Este cmdlet puede quitar los grupos de disponibilidad que hayan sido creados parcialmente. El cmdlet se puede ejecutar en cualquier instancia de SQL Server que se haya habilitado para Grupos de disponibilidad AlwaysOn en un nodo WSFC que posea las credenciales de seguridad correctas para el grupo de disponibilidad. Los errores se generan si la instancia en la que se ejecuta este cmdlet no está habilitada para Grupos de disponibilidad AlwaysOn o si el grupo de disponibilidad especificado por el parámetro Path no existe.
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. Este parámetro es obligatorio.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Remove-SqlAvailabilityGroup</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup del grupo de disponibilidad que se va a quitar.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup del grupo de disponibilidad que se va a quitar.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. Este parámetro es obligatorio.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 1 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Remove-SqlAvailabilityGroup -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando quita el grupo de disponibilidad denominado 'MyAg'. Este comando se puede ejecutar en cualquier instancia de servidor que hospede una réplica de disponibilidad para el grupo de disponibilidad.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 2 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Get-ChildItem SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups | Remove-SqlAvailabilityGroup
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando quita todos los grupos de disponibilidad con réplicas de disponibilidad que se hospeden en la instancia de servidor denominada 'Computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 3 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Remove-SqlAvailabilityGroup -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg -Script
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando da como resultado el script de Transact-SQL que quita el grupo de disponibilidad denominado 'MyAg'. Este comando no quita en realidad el grupo de disponibilidad.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText>SQL Server Books Online: DROP AVAILABILITY GROUP (Transact-SQL)</maml:linkText><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"><command:details><command:name>Remove-SqlAvailabilityReplica</command:name><maml:description><maml:para>Quita la réplica de disponibilidad secundaria especificada por el parámetro InputObject o Path. </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>El cmdlet Remove-SqlAvailabilityGroup quita la réplica secundaria especificada por el parámetro InputObject o Path. Este cmdlet se puede ejecutar únicamente en la instancia del servidor que hospeda la réplica principal.
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la réplica de disponibilidad. Este parámetro es obligatorio.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Remove-SqlAvailabilityReplica</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityReplica de la réplica que se debe quitar.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityReplica de la réplica que se debe quitar.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la réplica de disponibilidad. Este parámetro es obligatorio.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityReplica</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Réplica de disponibilidad que se va a quitar.
 
 
</maml:para></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Remove-SqlAvailabilityReplica -Path SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MyAg\AvailabilityReplicas\MyReplica
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando quita la réplica de disponibilidad denominada 'MyReplica' del grupo de disponibilidad denominado 'MyAg'. Este comando debe ejecutarse en la instancia del servidor que hospeda la réplica principal del grupo de disponibilidad.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Remove-SqlAvailabilityReplica -Path SQLSERVER:\SQL\PrimaryServer\InstanceName\AvailabilityGroups\MyAg\AvailabilityReplicas\MyReplica -Script
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando da como resultado el script de Transact-SQL que quita la réplica de disponibilidad denominada 'MyListener' del grupo de disponibilidad denominado 'MyAg'. Este comando no quita en realidad la réplica.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText>SQL Server Books Online: Deleting an Availability Group (SQL Server)</maml:linkText><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"><command:details><command:name>Remove-SqlCredential</command:name><maml:description><maml:para>Elimina un objeto Credencial de SQL.</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>El cmdlet Remove-SqlCredential elimina un objeto Credential de SQL Server. Este cmdlet admite los dos modos de funcionamiento siguientes:
 
1. Especificar la ruta de acceso o la ubicación de la credencial, incluido el nombre de la credencial, mediante el parámetro –path.
 
2. Pasar un objeto Smo.Credential al objeto mediante el parámetro –InputObject.
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso del objeto Credential en el que desea realizar esta operación. Por ejemplo: 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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Remove-SqlCredential</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Credential de entrada. Este objeto se puede recuperar con el cmdlet Get-SqlCredential.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Credential de entrada. Este objeto se puede recuperar con el cmdlet Get-SqlCredential.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso del objeto Credential en el que desea realizar esta operación. Por ejemplo: 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
-------------------------- EXAMPLE 1 --------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;Remove-SqlCredential -Path SQLSERVER:\SQL\Computer\Instance\Credentials\MySqlCredential
 
 
</dev:code><dev:remarks><maml:para>Este comando elimina el objeto Credential de SQL ‘MySqlCredential’ usando la ruta de acceso especificada en el parámetro –path.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
-------------------------- EXAMPLE 2 --------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;The command retrieves the credential object from the Get-Credential cmdlet and then pipes it to the Remove-Sql Credential cmdlet to delete the SQL Credential ‘MySqlCredential’.
PS C:\&gt;$cred = Get-SqlCredential -Name MySqlCredential
$cred | Remove-SqlCredential
 
 
</dev:code><dev:remarks></dev:remarks><command:commandLines><command:commandLine><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"><command:details><command:name>Remove-SqlFirewallRule</command:name><maml:description><maml:para>Deshabilita la regla de Firewall de Windows que permite conexiones con una instancia específica de 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>Deshabilita la regla de Firewall de Windows que permite conexiones con una instancia específica de SQL Server.</maml:para><maml:para>El Adaptador para la nube de SQL Server debe estar en ejecución y ser accessible en el equipo que hospeda la instancia de SQL Server.</maml:para><maml:para>Este cmdlet admite los modos de funcionamiento siguientes:</maml:para><maml:para>1. Especificando la ruta de acceso de PowerShell de la instancia.</maml:para><maml:para>2. Especificando el objeto de servidor.</maml:para><maml:para>3. Especificando el valor de ServerInstance de la instancia de destino de SQL Server.</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Remove-SqlFirewallRule</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Remove-SqlFirewallRule</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</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="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Remove-SqlFirewallRule</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</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="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
Remove-SqlFirewallRule -Credential $credential -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para>Este comando deshabilita la regla de Firewall de Windows en el equipo ‘Computer’ para bloquear conexiones con la instancia ‘Instance’ de SQL Server en este equipo. El directorio de trabajo actual se usa para determinar la instancia de servidor donde se debe realizar la operación. El certificado autofirmado del equipo de destino se aceptará automáticamente sin preguntar al usuario.</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>This command retrieves all instances of SQL Server on the machine ‘MachineName’ and disables the Windows Firewall rules to block connections to each one of them. The self-signed certificate of the target machine will be automatically accepted without prompting the user.
PS C:\&gt;Get-SqlInstance -Credential $credential -MachineName "MachineName" | Remove-SqlFirewallRule -Credential $credential -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para></maml:para></dev:remarks><command:commandLines><command:commandLine><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: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"><command:details><command:name>Restore-SqlDatabase</command:name><maml:description><maml:para>Restaura todo o parte de una base de datos o las copias de seguridad de los registros de transacciones.</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>El cmdlet Restore-SqlDatabase realiza operaciones de restauración en una base de datos de SQL Server. Esto incluye restauraciones de base de datos, restauraciones del registro de transacciones y restauraciones del archivo de base de datos. Este cmdlet se modela después de la clase Microsoft.SqlServer.Management.Restore.Backup. El parámetro de esta clase generalmente se corresponde con las propiedades en ese objeto Smo.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Restore-SqlDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>El nombre de la base de datos que se va a restaurar. No se puede usar con el parámetro -DatabaseObject.
</maml:para><maml:para>Cuando se usa el parámetro -Database, también debe especificarse el parámetro -Path, -InputObject o -ServerInstance.
</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="3" aliases=""><maml:name>BackupFile</maml:name><maml:description><maml:para>Ubicación o ubicaciones donde se almacenan los archivos de copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, en la ubicación de copia de seguridad predeterminada del servidor se busca el nombre "basededatos.trn" para las restauraciones de registros o "basededatos.bak" para todos los demás tipos de restauraciones. Este parámetro no se puede utilizar con el parámetro BackupDevice. Si va a realizar una copia de seguridad en el servicio de almacenamiento Blob (dirección URL) de Windows Azure, es necesario este parámetro o el parámetro BackupDevice.
</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" aliases=""><maml:name>BackupDevice</maml:name><maml:description><maml:para>Dispositivos donde se van a almacenar las copias de seguridad. Este parámetro no se puede usar con el parámetro BackupFile. Use este parámetro si va a realizar la copia de seguridad en un dispositivo de cinta.
</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" aliases=""><maml:name>BlockSize</maml:name><maml:description><maml:para>Tamaño de bloque físico de la copia de seguridad, en bytes. Los tamaños admitidos son 512, 1024, 2048, 4096, 8192, 16384, 32768 y 65536 (64 KB) bytes. El valor predeterminado es 65536 para dispositivos de cinta y 512 para otros dispositivos.
</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" aliases=""><maml:name>BufferCount</maml:name><maml:description><maml:para>Número total de búferes de E/S que se van a utilizar para la operación de copia de seguridad. Puede especificar cualquier entero positivo. Si se usan muchos búferes pueden producirse errores de "memoria insuficiente" causados por un espacio de direcciones virtuales insuficiente en el proceso Sqlservr.exe.
</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" aliases=""><maml:name>Checksum</maml:name><maml:description><maml:para>Calcula el valor de la suma de comprobación durante la operación de restauración. Si no se establece, no se calcula el valor de la suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ClearSuspectPageTable</maml:name><maml:description><maml:para>Elimina la tabla de páginas sospechosas después de la operación de restauración. Si no se establece, no se realizará ninguna acción con la tabla de páginas sospechosas.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>La operación continúa cuando se produce un error de suma de comprobación. Cuando no se establece, la operación dará error cuando se produzca un error de suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DatabaseFile</maml:name><maml:description><maml:para>Archivos de base de datos destino de la operación de restauración. Solo se usa cuando la propiedad RestoreAction se establece en Files. Cuando el parámetro RestoreAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>DatabaseFileGroup</maml:name><maml:description><maml:para>Grupos de archivos de copia de seguridad que constituyen el destino de la operación de restauración. Solo se usa cuando la propiedad RestoreAction se establece en Files. Cuando el parámetro RestoreAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>FileNumber</maml:name><maml:description><maml:para>Número de índice que se usa para identificar el conjunto de copia de seguridad de destino en el medio de copia de seguridad.
</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" aliases=""><maml:name>KeepReplication</maml:name><maml:description><maml:para>Preserva la configuración de replicación. Si no se establece, la operación de restauración omite la configuración de replicación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MaxTransferSize</maml:name><maml:description><maml:para>Número máximo de bytes que se van a transferir entre el medio de copia de seguridad y la instancia de SQL Server. Los valores posibles son múltiplos de 65536 bytes (64 KB), hasta un máximo de 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" aliases=""><maml:name>MediaName</maml:name><maml:description><maml:para>Nombre que se usa para identificar un conjunto de medios concreto.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRecovery</maml:name><maml:description><maml:para>La base de datos se restaura en el estado de restauración. La reversión no se produce. Pueden restaurarse copias de seguridad adicionales.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRewind</maml:name><maml:description><maml:para>Deja una unidad de cinta abierta en la posición final cuando se completa la restauración. Si no se establece, la cinta se rebobina una vez que se completa la operación. No se aplica a una restauración de disco.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Offset</maml:name><maml:description><maml:para>Las direcciones de página que se van a restaurar. Solo es pertinente cuando -RestoreAction se establece en OnlinePage.
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">Int64[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Partial</maml:name><maml:description><maml:para>La operación de restauración es una restauración parcial.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>PassThru</maml:name><maml:description><maml:para>Da como resultado el objeto Smo Backup que se usa para realizar la operación de copia de seguridad.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso de la instancia de SQL Server en la que desea ejecutar la operación de restauración. Se trata de un parámetro opcional. Si no se especifica, el valor de este parámetro usa la ubicación de trabajo actual.
</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" aliases=""><maml:name>RelocateFile</maml:name><maml:description><maml:para>Lista de objetos de archivo Smo.Relocate. Cada objeto consta de un nombre de archivo de copia de seguridad lógica y una ubicación de sistema de archivos físico. La restauración mueve la base de datos restaurada en la ubicación física especificada en el servidor de destino.
</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" aliases=""><maml:name>ReplaceDatabase</maml:name><maml:description><maml:para>Crea una nueva imagen de la base de datos. Sobrescribe cualquier base de datos existente con el mismo nombre. Cuando no se establece, la operación de restauración dará error si ya existe una base de datos con ese nombre.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>Continúa procesando una operación de restauración completada parcialmente. Si no se establece (valor predeterminado), el cmdlet reinicia desde el principio del conjunto de copia de seguridad una operación de restauración interrumpida.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RestoreAction</maml:name><maml:description><maml:para>Tipo de operación de restauración que se debe realizar. Las opciones válidas son Database, Files, Log, OnlinePage y OnlineFiles.
</maml:para><maml:para>Database: se restaura la base de datos.
</maml:para><maml:para>Files: se restaura uno o varios archivos de datos. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</maml:para><maml:para>Log: se restaura el registro de transacciones.
</maml:para><maml:para>OnlinePage: se restaura una página de datos en línea mientras la base de datos sigue estando disponible para otros usuarios.
</maml:para><maml:para>OnlineFiles: se restaura uno o varios archivos de datos mientras la base de datos sigue estando disponible para otros usuarios. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</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" aliases=""><maml:name>RestrictedUser</maml:name><maml:description><maml:para>Restringe el acceso a la base de datos restaurada al rol fijo de base de datos db_owner y a los roles fijos de servidor dbcreator y sysadmin.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Objeto Credential de SQL Server que almacena la información de autenticación para autenticarse en el servicio de almacenamiento Blob de Windows Azure. La información de autenticación almacenada incluye el nombre de la cuenta de almacenamiento de Windows Azure y los valores de clave de acceso asociados. Es un parámetro obligatorio cuando se restaura desde el servicio de almacenamiento Blob (dirección URL) de Windows Azure. Este parámetro no se usa cuando la copia de seguridad se realiza en un disco o en una cinta.
</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" aliases=""><maml:name>StandbyFile</maml:name><maml:description><maml:para>Nombre de un archivo para deshacer que se usa como parte de la estrategia de creación de imágenes para una instancia de 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" aliases=""><maml:name>StopAtMarkAfterDate</maml:name><maml:description><maml:para>Especifica la fecha que se va a usar junto con el nombre de marca especificado por el parámetro StopAtMarkName para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopAtMarkName</maml:name><maml:description><maml:para>Detiene la recuperación después de una transacción marcada. Se usa con el parámetro StopAtMarkAfterDate para determinar el punto de detención de la operación de recuperación. La recuperación incluye el punto de recuperación que contiene la marca. Si el valor StopAtMarkAfterDate no se establece, la recuperación se detiene en la primera marca con el nombre especificado.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopBeforeMarkAfterDate</maml:name><maml:description><maml:para>Especifica la fecha que se va a usar junto con StopBeforeMarkName para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopBeforeMarkName</maml:name><maml:description><maml:para>Detiene la recuperación antes de una transacción marcada. Se usa con el parámetro StopBeforeMarkAfterDate para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ToPointInTime</maml:name><maml:description><maml:para>Extremo para la restauración del registro de la base de datos. Solo se aplica cuando el parámetro -RestoreAction se establece en Log.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>UnloadTapeAfter</maml:name><maml:description><maml:para>El dispositivo de cinta se rebobina y se descarga una vez que se completa la operación. Cuando no se establece, no se intenta rebobinar ni descargar el medio de cinta. No se aplica a las copias de seguridad de disco.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Restore-SqlDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>El nombre de la base de datos que se va a restaurar. No se puede usar con el parámetro -DatabaseObject.
</maml:para><maml:para>Cuando se usa el parámetro -Database, también debe especificarse el parámetro -Path, -InputObject o -ServerInstance.
</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="3" aliases=""><maml:name>BackupFile</maml:name><maml:description><maml:para>Ubicación o ubicaciones donde se almacenan los archivos de copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, en la ubicación de copia de seguridad predeterminada del servidor se busca el nombre "basededatos.trn" para las restauraciones de registros o "basededatos.bak" para todos los demás tipos de restauraciones. Este parámetro no se puede utilizar con el parámetro BackupDevice. Si va a realizar una copia de seguridad en el servicio de almacenamiento Blob (dirección URL) de Windows Azure, es necesario este parámetro o el parámetro BackupDevice.
</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" aliases=""><maml:name>BackupDevice</maml:name><maml:description><maml:para>Dispositivos donde se van a almacenar las copias de seguridad. Este parámetro no se puede usar con el parámetro BackupFile. Use este parámetro si va a realizar la copia de seguridad en un dispositivo de cinta.
</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" aliases=""><maml:name>BlockSize</maml:name><maml:description><maml:para>Tamaño de bloque físico de la copia de seguridad, en bytes. Los tamaños admitidos son 512, 1024, 2048, 4096, 8192, 16384, 32768 y 65536 (64 KB) bytes. El valor predeterminado es 65536 para dispositivos de cinta y 512 para otros dispositivos.
</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" aliases=""><maml:name>BufferCount</maml:name><maml:description><maml:para>Número total de búferes de E/S que se van a utilizar para la operación de copia de seguridad. Puede especificar cualquier entero positivo. Si se usan muchos búferes pueden producirse errores de "memoria insuficiente" causados por un espacio de direcciones virtuales insuficiente en el proceso Sqlservr.exe.
</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" aliases=""><maml:name>Checksum</maml:name><maml:description><maml:para>Calcula el valor de la suma de comprobación durante la operación de restauración. Si no se establece, no se calcula el valor de la suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ClearSuspectPageTable</maml:name><maml:description><maml:para>Elimina la tabla de páginas sospechosas después de la operación de restauración. Si no se establece, no se realizará ninguna acción con la tabla de páginas sospechosas.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ConnectionTimeout</maml:name><maml:description><maml:para>Número de segundos que hay que esperar a que se establezca una conexión de servidor antes de que se produzca un error de tiempo de espera. El valor del tiempo de espera debe ser un entero comprendido entre 0 y 65534. Si se especifica 0, los intentos de conexión no tienen tiempo de espera.
</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" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>La operación continúa cuando se produce un error de suma de comprobación. Cuando no se establece, la operación dará error cuando se produzca un error de suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Objeto PSCredential que especifica las credenciales para un inicio de sesión de SQL Server que tenga permiso para realizar esta operación.
</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" aliases=""><maml:name>DatabaseFile</maml:name><maml:description><maml:para>Archivos de base de datos destino de la operación de restauración. Solo se usa cuando la propiedad RestoreAction se establece en Files. Cuando el parámetro RestoreAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>DatabaseFileGroup</maml:name><maml:description><maml:para>Grupos de archivos de copia de seguridad que constituyen el destino de la operación de restauración. Solo se usa cuando la propiedad RestoreAction se establece en Files. Cuando el parámetro RestoreAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>FileNumber</maml:name><maml:description><maml:para>Número de índice que se usa para identificar el conjunto de copia de seguridad de destino en el medio de copia de seguridad.
</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" aliases=""><maml:name>KeepReplication</maml:name><maml:description><maml:para>Preserva la configuración de replicación. Si no se establece, la operación de restauración omite la configuración de replicación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MaxTransferSize</maml:name><maml:description><maml:para>Número máximo de bytes que se van a transferir entre el medio de copia de seguridad y la instancia de SQL Server. Los valores posibles son múltiplos de 65536 bytes (64 KB), hasta un máximo de 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" aliases=""><maml:name>MediaName</maml:name><maml:description><maml:para>Nombre que se usa para identificar un conjunto de medios concreto.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRecovery</maml:name><maml:description><maml:para>La base de datos se restaura en el estado de restauración. La reversión no se produce. Pueden restaurarse copias de seguridad adicionales.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRewind</maml:name><maml:description><maml:para>Deja una unidad de cinta abierta en la posición final cuando se completa la restauración. Si no se establece, la cinta se rebobina una vez que se completa la operación. No se aplica a una restauración de disco.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Offset</maml:name><maml:description><maml:para>Las direcciones de página que se van a restaurar. Solo es pertinente cuando -RestoreAction se establece en OnlinePage.
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">Int64[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Partial</maml:name><maml:description><maml:para>La operación de restauración es una restauración parcial.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>PassThru</maml:name><maml:description><maml:para>Da como resultado el objeto Smo Backup que se usa para realizar la operación de copia de seguridad.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RelocateFile</maml:name><maml:description><maml:para>Lista de objetos de archivo Smo.Relocate. Cada objeto consta de un nombre de archivo de copia de seguridad lógica y una ubicación de sistema de archivos físico. La restauración mueve la base de datos restaurada en la ubicación física especificada en el servidor de destino.
</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" aliases=""><maml:name>ReplaceDatabase</maml:name><maml:description><maml:para>Crea una nueva imagen de la base de datos. Sobrescribe cualquier base de datos existente con el mismo nombre. Cuando no se establece, la operación de restauración dará error si ya existe una base de datos con ese nombre.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>Continúa procesando una operación de restauración completada parcialmente. Si no se establece (valor predeterminado), el cmdlet reinicia desde el principio del conjunto de copia de seguridad una operación de restauración interrumpida.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RestoreAction</maml:name><maml:description><maml:para>Tipo de operación de restauración que se debe realizar. Las opciones válidas son Database, Files, Log, OnlinePage y OnlineFiles.
</maml:para><maml:para>Database: se restaura la base de datos.
</maml:para><maml:para>Files: se restaura uno o varios archivos de datos. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</maml:para><maml:para>Log: se restaura el registro de transacciones.
</maml:para><maml:para>OnlinePage: se restaura una página de datos en línea mientras la base de datos sigue estando disponible para otros usuarios.
</maml:para><maml:para>OnlineFiles: se restaura uno o varios archivos de datos mientras la base de datos sigue estando disponible para otros usuarios. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</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" aliases=""><maml:name>RestrictedUser</maml:name><maml:description><maml:para>Restringe el acceso a la base de datos restaurada al rol fijo de base de datos db_owner y a los roles fijos de servidor dbcreator y sysadmin.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Objeto Credential de SQL Server que almacena la información de autenticación para autenticarse en el servicio de almacenamiento Blob de Windows Azure. La información de autenticación almacenada incluye el nombre de la cuenta de almacenamiento de Windows Azure y los valores de clave de acceso asociados. Es un parámetro obligatorio cuando se restaura desde el servicio de almacenamiento Blob (dirección URL) de Windows Azure. Este parámetro no se usa cuando la copia de seguridad se realiza en un disco o en una cinta.
</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" aliases=""><maml:name>StandbyFile</maml:name><maml:description><maml:para>Nombre de un archivo para deshacer que se usa como parte de la estrategia de creación de imágenes para una instancia de 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" aliases=""><maml:name>StopAtMarkAfterDate</maml:name><maml:description><maml:para>Especifica la fecha que se va a usar junto con el nombre de marca especificado por el parámetro StopAtMarkName para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopAtMarkName</maml:name><maml:description><maml:para>Detiene la recuperación después de una transacción marcada. Se usa con el parámetro StopAtMarkAfterDate para determinar el punto de detención de la operación de recuperación. La recuperación incluye el punto de recuperación que contiene la marca. Si el valor StopAtMarkAfterDate no se establece, la recuperación se detiene en la primera marca con el nombre especificado.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopBeforeMarkAfterDate</maml:name><maml:description><maml:para>Especifica la fecha que se va a usar junto con StopBeforeMarkName para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopBeforeMarkName</maml:name><maml:description><maml:para>Detiene la recuperación antes de una transacción marcada. Se usa con el parámetro StopBeforeMarkAfterDate para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ToPointInTime</maml:name><maml:description><maml:para>Extremo para la restauración del registro de la base de datos. Solo se aplica cuando el parámetro -RestoreAction se establece en Log.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>UnloadTapeAfter</maml:name><maml:description><maml:para>El dispositivo de cinta se rebobina y se descarga una vez que se completa la operación. Cuando no se establece, no se intenta rebobinar ni descargar el medio de cinta. No se aplica a las copias de seguridad de disco.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de una instancia de SQL Server. Esta instancia de servidor se convierte en el destino de la operación de restauración.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Restore-SqlDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>El nombre de la base de datos que se va a restaurar. No se puede usar con el parámetro -DatabaseObject.
</maml:para><maml:para>Cuando se usa el parámetro -Database, también debe especificarse el parámetro -Path, -InputObject o -ServerInstance.
</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="3" aliases=""><maml:name>BackupFile</maml:name><maml:description><maml:para>Ubicación o ubicaciones donde se almacenan los archivos de copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, en la ubicación de copia de seguridad predeterminada del servidor se busca el nombre "basededatos.trn" para las restauraciones de registros o "basededatos.bak" para todos los demás tipos de restauraciones. Este parámetro no se puede utilizar con el parámetro BackupDevice. Si va a realizar una copia de seguridad en el servicio de almacenamiento Blob (dirección URL) de Windows Azure, es necesario este parámetro o el parámetro BackupDevice.
</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" aliases=""><maml:name>BackupDevice</maml:name><maml:description><maml:para>Dispositivos donde se van a almacenar las copias de seguridad. Este parámetro no se puede usar con el parámetro BackupFile. Use este parámetro si va a realizar la copia de seguridad en un dispositivo de cinta.
</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" aliases=""><maml:name>BlockSize</maml:name><maml:description><maml:para>Tamaño de bloque físico de la copia de seguridad, en bytes. Los tamaños admitidos son 512, 1024, 2048, 4096, 8192, 16384, 32768 y 65536 (64 KB) bytes. El valor predeterminado es 65536 para dispositivos de cinta y 512 para otros dispositivos.
</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" aliases=""><maml:name>BufferCount</maml:name><maml:description><maml:para>Número total de búferes de E/S que se van a utilizar para la operación de copia de seguridad. Puede especificar cualquier entero positivo. Si se usan muchos búferes pueden producirse errores de "memoria insuficiente" causados por un espacio de direcciones virtuales insuficiente en el proceso Sqlservr.exe.
</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" aliases=""><maml:name>Checksum</maml:name><maml:description><maml:para>Calcula el valor de la suma de comprobación durante la operación de restauración. Si no se establece, no se calcula el valor de la suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ClearSuspectPageTable</maml:name><maml:description><maml:para>Elimina la tabla de páginas sospechosas después de la operación de restauración. Si no se establece, no se realizará ninguna acción con la tabla de páginas sospechosas.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>La operación continúa cuando se produce un error de suma de comprobación. Cuando no se establece, la operación dará error cuando se produzca un error de suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DatabaseFile</maml:name><maml:description><maml:para>Archivos de base de datos destino de la operación de restauración. Solo se usa cuando la propiedad RestoreAction se establece en Files. Cuando el parámetro RestoreAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>DatabaseFileGroup</maml:name><maml:description><maml:para>Grupos de archivos de copia de seguridad que constituyen el destino de la operación de restauración. Solo se usa cuando la propiedad RestoreAction se establece en Files. Cuando el parámetro RestoreAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>FileNumber</maml:name><maml:description><maml:para>Número de índice que se usa para identificar el conjunto de copia de seguridad de destino en el medio de copia de seguridad.
</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" aliases=""><maml:name>KeepReplication</maml:name><maml:description><maml:para>Preserva la configuración de replicación. Si no se establece, la operación de restauración omite la configuración de replicación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MaxTransferSize</maml:name><maml:description><maml:para>Número máximo de bytes que se van a transferir entre el medio de copia de seguridad y la instancia de SQL Server. Los valores posibles son múltiplos de 65536 bytes (64 KB), hasta un máximo de 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" aliases=""><maml:name>MediaName</maml:name><maml:description><maml:para>Nombre que se usa para identificar un conjunto de medios concreto.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRecovery</maml:name><maml:description><maml:para>La base de datos se restaura en el estado de restauración. La reversión no se produce. Pueden restaurarse copias de seguridad adicionales.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRewind</maml:name><maml:description><maml:para>Deja una unidad de cinta abierta en la posición final cuando se completa la restauración. Si no se establece, la cinta se rebobina una vez que se completa la operación. No se aplica a una restauración de disco.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Offset</maml:name><maml:description><maml:para>Las direcciones de página que se van a restaurar. Solo es pertinente cuando -RestoreAction se establece en OnlinePage.
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">Int64[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Partial</maml:name><maml:description><maml:para>La operación de restauración es una restauración parcial.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>PassThru</maml:name><maml:description><maml:para>Da como resultado el objeto Smo Backup que se usa para realizar la operación de copia de seguridad.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RelocateFile</maml:name><maml:description><maml:para>Lista de objetos de archivo Smo.Relocate. Cada objeto consta de un nombre de archivo de copia de seguridad lógica y una ubicación de sistema de archivos físico. La restauración mueve la base de datos restaurada en la ubicación física especificada en el servidor de destino.
</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" aliases=""><maml:name>ReplaceDatabase</maml:name><maml:description><maml:para>Crea una nueva imagen de la base de datos. Sobrescribe cualquier base de datos existente con el mismo nombre. Cuando no se establece, la operación de restauración dará error si ya existe una base de datos con ese nombre.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>Continúa procesando una operación de restauración completada parcialmente. Si no se establece (valor predeterminado), el cmdlet reinicia desde el principio del conjunto de copia de seguridad una operación de restauración interrumpida.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RestoreAction</maml:name><maml:description><maml:para>Tipo de operación de restauración que se debe realizar. Las opciones válidas son Database, Files, Log, OnlinePage y OnlineFiles.
</maml:para><maml:para>Database: se restaura la base de datos.
</maml:para><maml:para>Files: se restaura uno o varios archivos de datos. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</maml:para><maml:para>Log: se restaura el registro de transacciones.
</maml:para><maml:para>OnlinePage: se restaura una página de datos en línea mientras la base de datos sigue estando disponible para otros usuarios.
</maml:para><maml:para>OnlineFiles: se restaura uno o varios archivos de datos mientras la base de datos sigue estando disponible para otros usuarios. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</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" aliases=""><maml:name>RestrictedUser</maml:name><maml:description><maml:para>Restringe el acceso a la base de datos restaurada al rol fijo de base de datos db_owner y a los roles fijos de servidor dbcreator y sysadmin.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Objeto Credential de SQL Server que almacena la información de autenticación para autenticarse en el servicio de almacenamiento Blob de Windows Azure. La información de autenticación almacenada incluye el nombre de la cuenta de almacenamiento de Windows Azure y los valores de clave de acceso asociados. Es un parámetro obligatorio cuando se restaura desde el servicio de almacenamiento Blob (dirección URL) de Windows Azure. Este parámetro no se usa cuando la copia de seguridad se realiza en un disco o en una cinta.
</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" aliases=""><maml:name>StandbyFile</maml:name><maml:description><maml:para>Nombre de un archivo para deshacer que se usa como parte de la estrategia de creación de imágenes para una instancia de 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" aliases=""><maml:name>StopAtMarkAfterDate</maml:name><maml:description><maml:para>Especifica la fecha que se va a usar junto con el nombre de marca especificado por el parámetro StopAtMarkName para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopAtMarkName</maml:name><maml:description><maml:para>Detiene la recuperación después de una transacción marcada. Se usa con el parámetro StopAtMarkAfterDate para determinar el punto de detención de la operación de recuperación. La recuperación incluye el punto de recuperación que contiene la marca. Si el valor StopAtMarkAfterDate no se establece, la recuperación se detiene en la primera marca con el nombre especificado.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopBeforeMarkAfterDate</maml:name><maml:description><maml:para>Especifica la fecha que se va a usar junto con StopBeforeMarkName para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopBeforeMarkName</maml:name><maml:description><maml:para>Detiene la recuperación antes de una transacción marcada. Se usa con el parámetro StopBeforeMarkAfterDate para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ToPointInTime</maml:name><maml:description><maml:para>Extremo para la restauración del registro de la base de datos. Solo se aplica cuando el parámetro -RestoreAction se establece en Log.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>UnloadTapeAfter</maml:name><maml:description><maml:para>El dispositivo de cinta se rebobina y se descarga una vez que se completa la operación. Cuando no se establece, no se intenta rebobinar ni descargar el medio de cinta. No se aplica a las copias de seguridad de disco.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia de SQL Server donde debe realizarse la restauración.
</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="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Restore-SqlDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>DatabaseObject</maml:name><maml:description><maml:para>Objeto Database. La operación de restauración restaurará la copia de seguridad en esta base de datos.
</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="3" aliases=""><maml:name>BackupFile</maml:name><maml:description><maml:para>Ubicación o ubicaciones donde se almacenan los archivos de copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, en la ubicación de copia de seguridad predeterminada del servidor se busca el nombre "basededatos.trn" para las restauraciones de registros o "basededatos.bak" para todos los demás tipos de restauraciones. Este parámetro no se puede utilizar con el parámetro BackupDevice. Si va a realizar una copia de seguridad en el servicio de almacenamiento Blob (dirección URL) de Windows Azure, es necesario este parámetro o el parámetro BackupDevice.
</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" aliases=""><maml:name>BackupDevice</maml:name><maml:description><maml:para>Dispositivos donde se van a almacenar las copias de seguridad. Este parámetro no se puede usar con el parámetro BackupFile. Use este parámetro si va a realizar la copia de seguridad en un dispositivo de cinta.
</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" aliases=""><maml:name>BlockSize</maml:name><maml:description><maml:para>Tamaño de bloque físico de la copia de seguridad, en bytes. Los tamaños admitidos son 512, 1024, 2048, 4096, 8192, 16384, 32768 y 65536 (64 KB) bytes. El valor predeterminado es 65536 para dispositivos de cinta y 512 para otros dispositivos.
</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" aliases=""><maml:name>BufferCount</maml:name><maml:description><maml:para>Número total de búferes de E/S que se van a utilizar para la operación de copia de seguridad. Puede especificar cualquier entero positivo. Si se usan muchos búferes pueden producirse errores de "memoria insuficiente" causados por un espacio de direcciones virtuales insuficiente en el proceso Sqlservr.exe.
</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" aliases=""><maml:name>Checksum</maml:name><maml:description><maml:para>Calcula el valor de la suma de comprobación durante la operación de restauración. Si no se establece, no se calcula el valor de la suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ClearSuspectPageTable</maml:name><maml:description><maml:para>Elimina la tabla de páginas sospechosas después de la operación de restauración. Si no se establece, no se realizará ninguna acción con la tabla de páginas sospechosas.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>La operación continúa cuando se produce un error de suma de comprobación. Cuando no se establece, la operación dará error cuando se produzca un error de suma de comprobación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DatabaseFile</maml:name><maml:description><maml:para>Archivos de base de datos destino de la operación de restauración. Solo se usa cuando la propiedad RestoreAction se establece en Files. Cuando el parámetro RestoreAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>DatabaseFileGroup</maml:name><maml:description><maml:para>Grupos de archivos de copia de seguridad que constituyen el destino de la operación de restauración. Solo se usa cuando la propiedad RestoreAction se establece en Files. Cuando el parámetro RestoreAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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" aliases=""><maml:name>FileNumber</maml:name><maml:description><maml:para>Número de índice que se usa para identificar el conjunto de copia de seguridad de destino en el medio de copia de seguridad.
</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" aliases=""><maml:name>KeepReplication</maml:name><maml:description><maml:para>Preserva la configuración de replicación. Si no se establece, la operación de restauración omite la configuración de replicación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MaxTransferSize</maml:name><maml:description><maml:para>Número máximo de bytes que se van a transferir entre el medio de copia de seguridad y la instancia de SQL Server. Los valores posibles son múltiplos de 65536 bytes (64 KB), hasta un máximo de 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" aliases=""><maml:name>MediaName</maml:name><maml:description><maml:para>Nombre que se usa para identificar un conjunto de medios concreto.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRecovery</maml:name><maml:description><maml:para>La base de datos se restaura en el estado de restauración. La reversión no se produce. Pueden restaurarse copias de seguridad adicionales.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRewind</maml:name><maml:description><maml:para>Deja una unidad de cinta abierta en la posición final cuando se completa la restauración. Si no se establece, la cinta se rebobina una vez que se completa la operación. No se aplica a una restauración de disco.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Offset</maml:name><maml:description><maml:para>Las direcciones de página que se van a restaurar. Solo es pertinente cuando -RestoreAction se establece en OnlinePage.
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">Int64[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Partial</maml:name><maml:description><maml:para>La operación de restauración es una restauración parcial.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>PassThru</maml:name><maml:description><maml:para>Da como resultado el objeto Smo Backup que se usa para realizar la operación de copia de seguridad.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RelocateFile</maml:name><maml:description><maml:para>Lista de objetos de archivo Smo.Relocate. Cada objeto consta de un nombre de archivo de copia de seguridad lógica y una ubicación de sistema de archivos físico. La restauración mueve la base de datos restaurada en la ubicación física especificada en el servidor de destino.
</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" aliases=""><maml:name>ReplaceDatabase</maml:name><maml:description><maml:para>Crea una nueva imagen de la base de datos. Sobrescribe cualquier base de datos existente con el mismo nombre. Cuando no se establece, la operación de restauración dará error si ya existe una base de datos con ese nombre.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>Continúa procesando una operación de restauración completada parcialmente. Si no se establece (valor predeterminado), el cmdlet reinicia desde el principio del conjunto de copia de seguridad una operación de restauración interrumpida.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RestoreAction</maml:name><maml:description><maml:para>Tipo de operación de restauración que se debe realizar. Las opciones válidas son Database, Files, Log, OnlinePage y OnlineFiles.
</maml:para><maml:para>Database: se restaura la base de datos.
</maml:para><maml:para>Files: se restaura uno o varios archivos de datos. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</maml:para><maml:para>Log: se restaura el registro de transacciones.
</maml:para><maml:para>OnlinePage: se restaura una página de datos en línea mientras la base de datos sigue estando disponible para otros usuarios.
</maml:para><maml:para>OnlineFiles: se restaura uno o varios archivos de datos mientras la base de datos sigue estando disponible para otros usuarios. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</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" aliases=""><maml:name>RestrictedUser</maml:name><maml:description><maml:para>Restringe el acceso a la base de datos restaurada al rol fijo de base de datos db_owner y a los roles fijos de servidor dbcreator y sysadmin.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Objeto Credential de SQL Server que almacena la información de autenticación para autenticarse en el servicio de almacenamiento Blob de Windows Azure. La información de autenticación almacenada incluye el nombre de la cuenta de almacenamiento de Windows Azure y los valores de clave de acceso asociados. Es un parámetro obligatorio cuando se restaura desde el servicio de almacenamiento Blob (dirección URL) de Windows Azure. Este parámetro no se usa cuando la copia de seguridad se realiza en un disco o en una cinta.
</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" aliases=""><maml:name>StandbyFile</maml:name><maml:description><maml:para>Nombre de un archivo para deshacer que se usa como parte de la estrategia de creación de imágenes para una instancia de 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" aliases=""><maml:name>StopAtMarkAfterDate</maml:name><maml:description><maml:para>Especifica la fecha que se va a usar junto con el nombre de marca especificado por el parámetro StopAtMarkName para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopAtMarkName</maml:name><maml:description><maml:para>Detiene la recuperación después de una transacción marcada. Se usa con el parámetro StopAtMarkAfterDate para determinar el punto de detención de la operación de recuperación. La recuperación incluye el punto de recuperación que contiene la marca. Si el valor StopAtMarkAfterDate no se establece, la recuperación se detiene en la primera marca con el nombre especificado.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopBeforeMarkAfterDate</maml:name><maml:description><maml:para>Especifica la fecha que se va a usar junto con StopBeforeMarkName para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopBeforeMarkName</maml:name><maml:description><maml:para>Detiene la recuperación antes de una transacción marcada. Se usa con el parámetro StopBeforeMarkAfterDate para determinar el punto de detención de la operación de recuperación.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ToPointInTime</maml:name><maml:description><maml:para>Extremo para la restauración del registro de la base de datos. Solo se aplica cuando el parámetro -RestoreAction se establece en Log.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>UnloadTapeAfter</maml:name><maml:description><maml:para>El dispositivo de cinta se rebobina y se descarga una vez que se completa la operación. Cuando no se establece, no se intenta rebobinar ni descargar el medio de cinta. No se aplica a las copias de seguridad de disco.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupDevice</maml:name><maml:description><maml:para>Dispositivos donde se van a almacenar las copias de seguridad. Este parámetro no se puede usar con el parámetro BackupFile. Use este parámetro si va a realizar la copia de seguridad en un dispositivo de cinta.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="3" aliases=""><maml:name>BackupFile</maml:name><maml:description><maml:para>Ubicación o ubicaciones donde se almacenan los archivos de copia de seguridad. Se trata de un parámetro opcional. Si no se especifica, en la ubicación de copia de seguridad predeterminada del servidor se busca el nombre "basededatos.trn" para las restauraciones de registros o "basededatos.bak" para todos los demás tipos de restauraciones. Este parámetro no se puede utilizar con el parámetro BackupDevice. Si va a realizar una copia de seguridad en el servicio de almacenamiento Blob (dirección URL) de Windows Azure, es necesario este parámetro o el parámetro BackupDevice.
</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" aliases=""><maml:name>BlockSize</maml:name><maml:description><maml:para>Tamaño de bloque físico de la copia de seguridad, en bytes. Los tamaños admitidos son 512, 1024, 2048, 4096, 8192, 16384, 32768 y 65536 (64 KB) bytes. El valor predeterminado es 65536 para dispositivos de cinta y 512 para otros dispositivos.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BufferCount</maml:name><maml:description><maml:para>Número total de búferes de E/S que se van a utilizar para la operación de copia de seguridad. Puede especificar cualquier entero positivo. Si se usan muchos búferes pueden producirse errores de "memoria insuficiente" causados por un espacio de direcciones virtuales insuficiente en el proceso Sqlservr.exe.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Checksum</maml:name><maml:description><maml:para>Calcula el valor de la suma de comprobación durante la operación de restauración. Si no se establece, no se calcula el valor de la suma de comprobación.
</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" aliases=""><maml:name>ClearSuspectPageTable</maml:name><maml:description><maml:para>Elimina la tabla de páginas sospechosas después de la operación de restauración. Si no se establece, no se realizará ninguna acción con la tabla de páginas sospechosas.
</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" aliases=""><maml:name>ConnectionTimeout</maml:name><maml:description><maml:para>Número de segundos que hay que esperar a que se establezca una conexión de servidor antes de que se produzca un error de tiempo de espera. El valor del tiempo de espera debe ser un entero comprendido entre 0 y 65534. Si se especifica 0, los intentos de conexión no tienen tiempo de espera.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>La operación continúa cuando se produce un error de suma de comprobación. Cuando no se establece, la operación dará error cuando se produzca un error de suma de comprobación.
</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" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Objeto PSCredential que especifica las credenciales para un inicio de sesión de SQL Server que tenga permiso para realizar esta operación.
</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Database</maml:name><maml:description><maml:para>El nombre de la base de datos que se va a restaurar. No se puede usar con el parámetro -DatabaseObject.
</maml:para><maml:para>Cuando se usa el parámetro -Database, también debe especificarse el parámetro -Path, -InputObject o -ServerInstance.
</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="false" position="named" aliases=""><maml:name>DatabaseFile</maml:name><maml:description><maml:para>Archivos de base de datos destino de la operación de restauración. Solo se usa cuando la propiedad RestoreAction se establece en Files. Cuando el parámetro RestoreAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DatabaseFileGroup</maml:name><maml:description><maml:para>Grupos de archivos de copia de seguridad que constituyen el destino de la operación de restauración. Solo se usa cuando la propiedad RestoreAction se establece en Files. Cuando el parámetro RestoreAction se establece en Files, debe especificarse la propiedad DatabaseFileGroups o la propiedad DatabaseFiles.
</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="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>DatabaseObject</maml:name><maml:description><maml:para>Objeto Database. La operación de restauración restaurará la copia de seguridad en esta base de datos.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>FileNumber</maml:name><maml:description><maml:para>Número de índice que se usa para identificar el conjunto de copia de seguridad de destino en el medio de copia de seguridad.
</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Server de la instancia de SQL Server donde debe realizarse la restauración.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>KeepReplication</maml:name><maml:description><maml:para>Preserva la configuración de replicación. Si no se establece, la operación de restauración omite la configuración de replicación.
</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" aliases=""><maml:name>MaxTransferSize</maml:name><maml:description><maml:para>Número máximo de bytes que se van a transferir entre el medio de copia de seguridad y la instancia de SQL Server. Los valores posibles son múltiplos de 65536 bytes (64 KB), hasta un máximo de 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MediaName</maml:name><maml:description><maml:para>Nombre que se usa para identificar un conjunto de medios concreto.
</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" aliases=""><maml:name>NoRecovery</maml:name><maml:description><maml:para>La base de datos se restaura en el estado de restauración. La reversión no se produce. Pueden restaurarse copias de seguridad adicionales.
</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" aliases=""><maml:name>NoRewind</maml:name><maml:description><maml:para>Deja una unidad de cinta abierta en la posición final cuando se completa la restauración. Si no se establece, la cinta se rebobina una vez que se completa la operación. No se aplica a una restauración de disco.
</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="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Offset</maml:name><maml:description><maml:para>Las direcciones de página que se van a restaurar. Solo es pertinente cuando -RestoreAction se establece en 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Partial</maml:name><maml:description><maml:para>La operación de restauración es una restauración parcial.
</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" aliases=""><maml:name>PassThru</maml:name><maml:description><maml:para>Da como resultado el objeto Smo Backup que se usa para realizar la operación de copia de seguridad.
</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="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso de la instancia de SQL Server en la que desea ejecutar la operación de restauración. Se trata de un parámetro opcional. Si no se especifica, el valor de este parámetro usa la ubicación de trabajo actual.
</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="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RelocateFile</maml:name><maml:description><maml:para>Lista de objetos de archivo Smo.Relocate. Cada objeto consta de un nombre de archivo de copia de seguridad lógica y una ubicación de sistema de archivos físico. La restauración mueve la base de datos restaurada en la ubicación física especificada en el servidor de destino.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ReplaceDatabase</maml:name><maml:description><maml:para>Crea una nueva imagen de la base de datos. Sobrescribe cualquier base de datos existente con el mismo nombre. Cuando no se establece, la operación de restauración dará error si ya existe una base de datos con ese nombre.
</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" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>Continúa procesando una operación de restauración completada parcialmente. Si no se establece (valor predeterminado), el cmdlet reinicia desde el principio del conjunto de copia de seguridad una operación de restauración interrumpida.
</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" aliases=""><maml:name>RestoreAction</maml:name><maml:description><maml:para>Tipo de operación de restauración que se debe realizar. Las opciones válidas son Database, Files, Log, OnlinePage y OnlineFiles.
</maml:para><maml:para>Database: se restaura la base de datos.
</maml:para><maml:para>Files: se restaura uno o varios archivos de datos. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</maml:para><maml:para>Log: se restaura el registro de transacciones.
</maml:para><maml:para>OnlinePage: se restaura una página de datos en línea mientras la base de datos sigue estando disponible para otros usuarios.
</maml:para><maml:para>OnlineFiles: se restaura uno o varios archivos de datos mientras la base de datos sigue estando disponible para otros usuarios. Esto hace necesario que se establezca el parámetro DatabaseFile o DatabaseFileGroup.
</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>Microsoft.SqlServer.Management.Smo.RestoreActionType.Database</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RestrictedUser</maml:name><maml:description><maml:para>Restringe el acceso a la base de datos restaurada al rol fijo de base de datos db_owner y a los roles fijos de servidor dbcreator y sysadmin.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Nombre de una instancia de SQL Server. Esta instancia de servidor se convierte en el destino de la operación de restauración.
</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" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Objeto Credential de SQL Server que almacena la información de autenticación para autenticarse en el servicio de almacenamiento Blob de Windows Azure. La información de autenticación almacenada incluye el nombre de la cuenta de almacenamiento de Windows Azure y los valores de clave de acceso asociados. Es un parámetro obligatorio cuando se restaura desde el servicio de almacenamiento Blob (dirección URL) de Windows Azure. Este parámetro no se usa cuando la copia de seguridad se realiza en un disco o en una cinta.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StandbyFile</maml:name><maml:description><maml:para>Nombre de un archivo para deshacer que se usa como parte de la estrategia de creación de imágenes para una instancia de 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>StopAtMarkAfterDate</maml:name><maml:description><maml:para>Especifica la fecha que se va a usar junto con el nombre de marca especificado por el parámetro StopAtMarkName para determinar el punto de detención de la operación de recuperación.
</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" aliases=""><maml:name>StopAtMarkName</maml:name><maml:description><maml:para>Detiene la recuperación después de una transacción marcada. Se usa con el parámetro StopAtMarkAfterDate para determinar el punto de detención de la operación de recuperación. La recuperación incluye el punto de recuperación que contiene la marca. Si el valor StopAtMarkAfterDate no se establece, la recuperación se detiene en la primera marca con el nombre especificado.
</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" aliases=""><maml:name>StopBeforeMarkAfterDate</maml:name><maml:description><maml:para>Especifica la fecha que se va a usar junto con StopBeforeMarkName para determinar el punto de detención de la operación de recuperación.
</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" aliases=""><maml:name>StopBeforeMarkName</maml:name><maml:description><maml:para>Detiene la recuperación antes de una transacción marcada. Se usa con el parámetro StopBeforeMarkAfterDate para determinar el punto de detención de la operación de recuperación.
</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" aliases=""><maml:name>ToPointInTime</maml:name><maml:description><maml:para>Extremo para la restauración del registro de la base de datos. Solo se aplica cuando el parámetro -RestoreAction se establece en 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>UnloadTapeAfter</maml:name><maml:description><maml:para>El dispositivo de cinta se rebobina y se descarga una vez que se completa la operación. Cuando no se establece, no se intenta rebobinar ni descargar el medio de cinta. No se aplica a las copias de seguridad de disco.
</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Smo.Server</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Objeto SMO.Server que hace referencia a la instancia de SQL Server en la que desea que se produzca la operación de restauración.
 
 
</maml:para></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
-------------------------- EXAMPLE 1 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Restore-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupFile "\\share\folder\MyDB.bak"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando restaura la base de datos completa 'MyDB' del archivo '\\share\folder\MyDB.bak' en la instancia de servidor 'computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 2 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Restore-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupFile "\\share\folder\MyDB.trn" -RestoreAction Log
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando restaura el registro de transacciones de la base de datos 'MyDB' del archivo '\\share\folder\MyDB.trn' en la instancia de servidor 'computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 3 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Restore-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupFile "\\share\folder\MyDB.bak" -Credential (Get-Credential sa)
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando restaura la base de datos completa 'MyDB' desde el archivo '\\share\folder\MyDB.trn' en la instancia de servidor 'Computer\Instance' usando el inicio de sesión sa de SQL. Este comando le pedirá una contraseña para completar la autenticación de SQL Server.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 4 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Restore-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupFile "\\share\folder\MyDB.trn" -RestoreAction Log -NoRecovery
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando restaura el registro de transacciones de la base de datos 'MyDB' con la opción NORECOVERY del archivo '\\share\folder\MyDB.trn' en la instancia de servidor 'Computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 5 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Restore-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupFile "\\share\folder\MyDB.trn" -RestoreAction Log -ToPointInTime "Nov 11, 2011 11:11 AM"
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando restaura el registro de transacciones de la base de datos 'MyDB' hasta la fecha que se pasa al parámetro -ToPointInTime, 'Nov 11, 2011 11:11 AM'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 6 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$RelocateData = New-Object Microsoft.SqlServer.Management.Smo.RelocateFile("MyDB_Data", "c:\MySQLServer\MyDB.mdf")
$RelocateLog = New-Object Microsoft.SqlServer.Management.Smo.RelocateFile("MyDB_Log", "c:\MySQLServer\MyDB.ldf")
Restore-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupFile "\\share\folder\MyDB.trn" -RelocateFile @($RelocateData,$RelocateLog)
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se restaura la base de datos completa 'MyDB' a la instancia de servidor 'Computer\Instance' y se reubican los archivos de datos y de registro. Para cada archivo que se va a mover, el archivo construye una instancia de Microsoft.SqlServer.Management.Smo.RelocateFile: '$RelocateData' y '$RelocateLog'. Cada constructor acepta dos argumentos: el nombre lógico del archivo y la ubicación física donde el archivo se colocará en el servidor de destino. Estos objetos RelocateFile se pasan al parámetro -RelocateFile del cmdlet Restore-SqlDatabase.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 7 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$tapeDevice = New-Object Microsoft.Sqlserver.Management.Smo.BackupDeviceItem("\\.\tape0", "Tape")
Restore-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupDevice $tapeDevice
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se restaura la base de datos 'MyDB' del dispositivo de cinta denominado '\\.\tape0'' a la instancia de servidor 'computer\Instance'. Para representar este dispositivo, el ejemplo construye una instancia de Microsoft.Sqlserver.Management.Smo.BackupDeviceItem. El constructor acepta dos argumentos: el nombre del dispositivo de copia de seguridad ('\\.\tape0') y el tipo del dispositivo de copia de seguridad ('Tape'). Este objeto BackupDeviceItem se pasa entonces al parámetro -BackupDevice del cmdlet Restore-SqlDatabase.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
-------------------------- EXAMPLE 8 --------------------------
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;Restore-SqlDatabase -ServerInstance Computer\Instance -Database MyDB -BackupFile "https://mystorageaccountname.blob.core.windows.net/container/MyDB.bak" https://mystorageaccountname.blob.core.windows.net/container/MyDB.bak" -SqlCredential "mySqlCredential"
 
</dev:code><dev:remarks><maml:para>Este comando restaura la base de datos completa 'MyDB' desde el archivo del servicio de almacenamiento Blob de Windows Azure en la instancia de servidor 'computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Resume-SqlAvailabilityDatabase</command:name><maml:description><maml:para>Reanuda el movimiento de datos en una base de datos de disponibilidad. </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>El cmdlet Resume-SqlAvailabilityDatabase reanuda el movimiento de datos en una base de datos de disponibilidad. Al reanudar una base de datos principal, se reanuda el movimiento de datos en las bases de datos secundarias correspondientes. Cuando se reanuda una base de datos secundaria concreta, el movimiento de datos se reanuda en esa base de datos únicamente.
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la base de datos de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Resume-SqlAvailabilityDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityDatabase de la base de datos principal o secundaria en la que el movimiento de datos va a reanudarse.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityDatabase de la base de datos principal o secundaria en la que el movimiento de datos va a reanudarse.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la base de datos de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityDatabase</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name>SQL Server Books Online: Resuming a Database in an Availability Group (SQL Server)</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 1 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Resume-SqlAvailabilityDatabase -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityDatabases\MyDatabase
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando reanuda la sincronización de datos para la base de datos de disponibilidad 'MyDatabase' en el grupo de disponibilidad 'MyAg'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 2 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;dir SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\AgName\AvailabilityDatabases | Resume-SqlAvailabilityDatabase
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando reanuda la sincronización de datos de todas las bases de datos de disponibilidad del grupo de disponibilidad 'MyAg' en la instancia de servidor denominada 'Computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 3 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Resume-SqlAvailabilityDatabase -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityDatabases\MyDatabase -Script
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando da como resultado el script de Transact-SQL que reanuda la sincronización de datos de la base de datos de disponibilidad 'MyDatabase' del grupo de disponibilidad 'MyAg' en la instancia de servidor denominada 'Computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Set-SqlAuthenticationMode</command:name><maml:description><maml:para>Configura el modo de autenticación de la instancia de destino de 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>Configura el modo de autenticación de la instancia de destino de SQL Server.</maml:para><maml:para>El Adaptador para la nube de SQL Server debe estar en ejecución y ser accessible en el equipo que hospeda la instancia de SQL Server.</maml:para><maml:para>Este cmdlet admite los modos de funcionamiento siguientes:</maml:para><maml:para>1. Especificando la ruta de acceso de PowerShell de la instancia.</maml:para><maml:para>2. Especificando el objeto de servidor.</maml:para><maml:para>3. Especificando el valor de ServerInstance de la instancia de destino de 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" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Mode</maml:name><maml:description><maml:para>Modo de autenticación que se configurará en la instancia de destino de SQL Server.</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="3" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Credenciales de administrador que se crearán en la instancia de destino de SQL Server si se habilita la autenticación “Modo mixto”.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ForceServiceRestart</maml:name><maml:description><maml:para>Fuerza el reinicio del servicio SQL Server, si es necesario, sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>Impide el reinicio del servicio SQL Server sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Set-SqlAuthenticationMode</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Mode</maml:name><maml:description><maml:para>Modo de autenticación que se configurará en la instancia de destino de SQL Server.</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="3" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Credenciales de administrador que se crearán en la instancia de destino de SQL Server si se habilita la autenticación “Modo mixto”.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ForceServiceRestart</maml:name><maml:description><maml:para>Fuerza el reinicio del servicio SQL Server, si es necesario, sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>Impide el reinicio del servicio SQL Server sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</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="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Set-SqlAuthenticationMode</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Mode</maml:name><maml:description><maml:para>Modo de autenticación que se configurará en la instancia de destino de SQL Server.</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="3" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Credenciales de administrador que se crearán en la instancia de destino de SQL Server si se habilita la autenticación “Modo mixto”.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ForceServiceRestart</maml:name><maml:description><maml:para>Fuerza el reinicio del servicio SQL Server, si es necesario, sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>Impide el reinicio del servicio SQL Server sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</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="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ForceServiceRestart</maml:name><maml:description><maml:para>Fuerza el reinicio del servicio SQL Server, si es necesario, sin preguntar al usuario.</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="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Mode</maml:name><maml:description><maml:para>Modo de autenticación que se configurará en la instancia de destino de SQL Server.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>Impide el reinicio del servicio SQL Server sin preguntar al usuario.</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="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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="3" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Credenciales de administrador que se crearán en la instancia de destino de SQL Server si se habilita la autenticación “Modo mixto”.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
Set-SqlAuthenticationMode -Credential $credential  Integrated -ForceServiceRestart  -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para>Este comando configura el modo de autenticación en ‘Integrated’ para la instancia de servidor ‘Computer\Instance’. El directorio de trabajo actual se usa para determinar la instancia de servidor donde se debe realizar la operación. El servicio SQL Server se reiniciará automáticamente sin preguntar al usuario. El certificado autofirmado del equipo de destino se aceptará automáticamente sin preguntar al usuario.</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>This command retrieves all instances of SQL Server on the machine ‘MachineName’ and configures the authentication mode to ‘Mixed’, with the provided SQL credentials for each one of them. The SQL Server service will not be restarted automatically. The self-signed certificate of the target machine will be automatically accepted without prompting the user.
PS C:\&gt;Get-SqlInstance -Credential $credential -MachineName "MachineName" | Set-SqlAuthenticationMode -Credential $credential -Mode Mixed -SqlCredential $sqlCredential -NoServiceRestart  -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para></maml:para></dev:remarks><command:commandLines><command:commandLine><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: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"><command:details><command:name>Set-SqlAvailabilityGroup</command:name><maml:description><maml:para>Este cmdlet modifica la configuración en un grupo de disponibilidad existente.</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>El cmdlet Set-SqlAvailabilityGroup modifica las opciones AutomatedBackupPreference, FailureConditionLevel y HealthCheckTimeout en un grupo de disponibilidad existente. Este cmdlet se puede ejecutar únicamente en la instancia del servidor que hospeda la réplica principal.
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AutomatedBackupPreference</maml:name><maml:description><maml:para>Preferencia de la copia de seguridad automatizada para el grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>Primary: especifica que las copias de seguridad se realizan siempre en la réplica principal. Esta opción es frecuente porque el usuario necesita características no disponibles cuando la copia de seguridad se ejecuta en un medio secundario, como las copias de seguridad diferenciales.
</maml:para><maml:para>SecondaryOnly: especifica que las copias de seguridad nunca se realizan en las réplicas principales. Si la réplica principal es la única réplica en línea, la copia de seguridad no se realizará.
</maml:para><maml:para>Secondary: especifica que las copias de seguridad se producen en las réplicas secundarias a menos que la réplica principal sea la única réplica en línea. En ese caso, la copia de seguridad se produce en la réplica principal.
</maml:para><maml:para>None: esta opción especifica que el usuario no desea que el estado principal/secundario se tenga en cuenta al elegir la réplica para realizar copias de seguridad. Los únicos factores considerados son BackupPriority en combinación con el estado En línea/Conectado.
</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" aliases=""><maml:name>FailureConditionLevel</maml:name><maml:description><maml:para>Determina el comportamiento de la conmutación automática por error del grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>OnServerDown: se conmuta por error o se reinicia cuando el servicio SQL Server se detiene.
</maml:para><maml:para>OnServerUnresponsive: se conmuta por error o se reinicia cuando se cumple alguna condición de un valor inferior, además de cuando el servicio SQL Server se conecta al clúster y se supera el umbral "HealthCheckTimeout" o cuando la réplica de disponibilidad que actualmente está en el rol principal está en estado de error. (Vea el parámetro HealthCheckTimeout).
</maml:para><maml:para>OnCriticalServerError: se conmuta por error o se reinicia cuando se satisface alguna condición de valor inferior, además de cuando se produce un error crítico interno de servidor (condición de falta de memoria, infracción grave de acceso de escritura o un volcado excesivo).
</maml:para><maml:para>OnModerateServerError: se conmuta por error o se reinicia cuando se alcanza cualquier condición de un valor inferior, además de cuando se produce un error moderado en el servidor (una condición de falta de memoria persistente).
</maml:para><maml:para>OnAnyQualifiedFailureConditions: se conmuta por error o se reinicia cuando se satisface cualquier condición de un valor inferior además de cuando se produce una condición de error adecuada (agotamiento de los subprocesos de trabajo del motor o la detección de un interbloqueo irresoluble).
</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" aliases=""><maml:name>HealthCheckTimeout</maml:name><maml:description><maml:para>Cantidad de tiempo, en milisegundos, transcurrida la cual un servidor que no responde se declara en mal estado.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Set-SqlAvailabilityGroup</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup del grupo de disponibilidad que se va a modificar.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AutomatedBackupPreference</maml:name><maml:description><maml:para>Preferencia de la copia de seguridad automatizada para el grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>Primary: especifica que las copias de seguridad se realizan siempre en la réplica principal. Esta opción es frecuente porque el usuario necesita características no disponibles cuando la copia de seguridad se ejecuta en un medio secundario, como las copias de seguridad diferenciales.
</maml:para><maml:para>SecondaryOnly: especifica que las copias de seguridad nunca se realizan en las réplicas principales. Si la réplica principal es la única réplica en línea, la copia de seguridad no se realizará.
</maml:para><maml:para>Secondary: especifica que las copias de seguridad se producen en las réplicas secundarias a menos que la réplica principal sea la única réplica en línea. En ese caso, la copia de seguridad se produce en la réplica principal.
</maml:para><maml:para>None: esta opción especifica que el usuario no desea que el estado principal/secundario se tenga en cuenta al elegir la réplica para realizar copias de seguridad. Los únicos factores considerados son BackupPriority en combinación con el estado En línea/Conectado.
</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" aliases=""><maml:name>FailureConditionLevel</maml:name><maml:description><maml:para>Determina el comportamiento de la conmutación automática por error del grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>OnServerDown: se conmuta por error o se reinicia cuando el servicio SQL Server se detiene.
</maml:para><maml:para>OnServerUnresponsive: se conmuta por error o se reinicia cuando se cumple alguna condición de un valor inferior, además de cuando el servicio SQL Server se conecta al clúster y se supera el umbral "HealthCheckTimeout" o cuando la réplica de disponibilidad que actualmente está en el rol principal está en estado de error. (Vea el parámetro HealthCheckTimeout).
</maml:para><maml:para>OnCriticalServerError: se conmuta por error o se reinicia cuando se satisface alguna condición de valor inferior, además de cuando se produce un error crítico interno de servidor (condición de falta de memoria, infracción grave de acceso de escritura o un volcado excesivo).
</maml:para><maml:para>OnModerateServerError: se conmuta por error o se reinicia cuando se alcanza cualquier condición de un valor inferior, además de cuando se produce un error moderado en el servidor (una condición de falta de memoria persistente).
</maml:para><maml:para>OnAnyQualifiedFailureConditions: se conmuta por error o se reinicia cuando se satisface cualquier condición de un valor inferior además de cuando se produce una condición de error adecuada (agotamiento de los subprocesos de trabajo del motor o la detección de un interbloqueo irresoluble).
</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" aliases=""><maml:name>HealthCheckTimeout</maml:name><maml:description><maml:para>Cantidad de tiempo, en milisegundos, transcurrida la cual un servidor que no responde se declara en mal estado.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AutomatedBackupPreference</maml:name><maml:description><maml:para>Preferencia de la copia de seguridad automatizada para el grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>Primary: especifica que las copias de seguridad se realizan siempre en la réplica principal. Esta opción es frecuente porque el usuario necesita características no disponibles cuando la copia de seguridad se ejecuta en un medio secundario, como las copias de seguridad diferenciales.
</maml:para><maml:para>SecondaryOnly: especifica que las copias de seguridad nunca se realizan en las réplicas principales. Si la réplica principal es la única réplica en línea, la copia de seguridad no se realizará.
</maml:para><maml:para>Secondary: especifica que las copias de seguridad se producen en las réplicas secundarias a menos que la réplica principal sea la única réplica en línea. En ese caso, la copia de seguridad se produce en la réplica principal.
</maml:para><maml:para>None: esta opción especifica que el usuario no desea que el estado principal/secundario se tenga en cuenta al elegir la réplica para realizar copias de seguridad. Los únicos factores considerados son BackupPriority en combinación con el estado En línea/Conectado.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>FailureConditionLevel</maml:name><maml:description><maml:para>Determina el comportamiento de la conmutación automática por error del grupo de disponibilidad. Las opciones válidas son:
</maml:para><maml:para>OnServerDown: se conmuta por error o se reinicia cuando el servicio SQL Server se detiene.
</maml:para><maml:para>OnServerUnresponsive: se conmuta por error o se reinicia cuando se cumple alguna condición de un valor inferior, además de cuando el servicio SQL Server se conecta al clúster y se supera el umbral "HealthCheckTimeout" o cuando la réplica de disponibilidad que actualmente está en el rol principal está en estado de error. (Vea el parámetro HealthCheckTimeout).
</maml:para><maml:para>OnCriticalServerError: se conmuta por error o se reinicia cuando se satisface alguna condición de valor inferior, además de cuando se produce un error crítico interno de servidor (condición de falta de memoria, infracción grave de acceso de escritura o un volcado excesivo).
</maml:para><maml:para>OnModerateServerError: se conmuta por error o se reinicia cuando se alcanza cualquier condición de un valor inferior, además de cuando se produce un error moderado en el servidor (una condición de falta de memoria persistente).
</maml:para><maml:para>OnAnyQualifiedFailureConditions: se conmuta por error o se reinicia cuando se satisface cualquier condición de un valor inferior además de cuando se produce una condición de error adecuada (agotamiento de los subprocesos de trabajo del motor o la detección de un interbloqueo irresoluble).
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>HealthCheckTimeout</maml:name><maml:description><maml:para>Cantidad de tiempo, en milisegundos, transcurrida la cual un servidor que no responde se declara en mal estado.
</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup del grupo de disponibilidad que se va a modificar.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">T</command:parameterValue><dev:type><maml:name>T</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 1 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-SqlAvailabilityGroup -Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAG -HealthCheckTimeout 120000
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando establece la propiedad HealhCheckTimeout del grupo de disponibilidad 'MyAg' en 120.000 milisegundos (dos minutos). Si el servidor principal no responde durante este intervalo de tiempo y la conmutación automática por error está habilitada, se iniciará una conmutación automática por error.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 2 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-SqlAvailabilityGroup -Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAg -AutomatedBackupPreference SecondaryOnly
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando establece la propiedad AutomatedBackupPreference del grupo de disponibilidad 'MyAg' en 'SecondaryOnly'. Las copias de seguridad automáticas en este grupo de disponibilidad nunca se producirán en la réplica principal, sino que se redirigirán a la réplica secundaria con la mayor prioridad de copia de seguridad (vea la propiedad BackupPriority de las réplicas de disponibilidad).
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 3 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-SqlAvailabilityGroup -Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAg -FailureConditionLevel OnServerDown
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando establece la propiedad FailureConditionLevel del grupo de disponibilidad 'MyAg' en 'OnServerDown'. Esto significa que, cuando la instancia de servidor que hospeda la réplica principal se ponga sin conexión y la conmutación por error automática esté habilitada, se iniciará una conmutación por error automática.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Set-SqlAvailabilityGroupListener</command:name><maml:description><maml:para>Este cmdlet modifica la configuración del puerto en un agente de escucha del grupo de disponibilidad existente.</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>El cmdlet Set-SqlAvailabilityGroupListener modifica la configuración del puerto en un agente de escucha del grupo de disponibilidad existente. Este cmdlet se puede ejecutar únicamente en la instancia del servidor que hospeda la réplica principal.
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al agente de escucha del grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto TCP que el agente de escucha usará para escuchar las conexiones. El puerto predeterminado es el puerto TCP 1433. Si le preocupa la seguridad, le recomendamos que use otro número de puerto.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Set-SqlAvailabilityGroupListener</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto SMO AvailabilityGroupListener del agente de escucha que se va a modificar.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto TCP que el agente de escucha usará para escuchar las conexiones. El puerto predeterminado es el puerto TCP 1433. Si le preocupa la seguridad, le recomendamos que use otro número de puerto.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto SMO AvailabilityGroupListener del agente de escucha que se va a modificar.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">T</command:parameterValue><dev:type><maml:name>T</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al agente de escucha del grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto TCP que el agente de escucha usará para escuchar las conexiones. El puerto predeterminado es el puerto TCP 1433. Si le preocupa la seguridad, le recomendamos que use otro número de puerto.
</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>1433</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 1 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-SqlAvailabilityGroupListener -Port 1535 -Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAg\AvailabilityGroupListeners\MyListener
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando establece el número de puerto para el agente de escucha de grupo de disponibilidad denominado 'MyListener' en 1535. Este puerto se usa para escuchar las conexiones del agente de escucha.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 2 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-SqlAvailabilityGroupListener -Port 1535 -Script -Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAg\AvailabilityGroupListeners\MyListener
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando genera el script de Transact-SQL que establece en 1535 el número de puerto para el agente de escucha del grupo de disponibilidad denominado 'MyListener'. Este comando no cambia en realidad el número de puerto.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Set-SqlAvailabilityReplica</command:name><maml:description><maml:para>Este cmdlet modifica la configuración en una réplica de disponibilidad existente.</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>El cmdlet Set-SqlAvailabilityReplica establece o modifica diversas propiedades de una réplica de disponibilidad. Este cmdlet se puede ejecutar únicamente en la instancia del servidor que hospeda la réplica principal.
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la réplica de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AvailabilityMode</maml:name><maml:description><maml:para>Modo de disponibilidad de la réplica. Las opciones son SynchronousCommit o AsynchronousCommit.
</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" aliases=""><maml:name>BackupPriority</maml:name><maml:description><maml:para>Esta opción es un entero en el intervalo 0..100 y representa la prioridad deseada de las réplicas en las copias de seguridad que se realizan. Del conjunto de réplicas que están en línea y disponibles, la réplica con la prioridad más alta se elegirá para realizar la copia de seguridad.
</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" aliases=""><maml:name>ConnectionModeInPrimaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol principal. Los valores válidos son:
</maml:para><maml:para>AllowReadWriteConnections: se permiten las conexión de lectura/escritura
</maml:para><maml:para>AllowAllConnections: se permiten todas las conexiones
</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" aliases=""><maml:name>ConnectionModeInSecondaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol secundario. Los valores válidos son:
</maml:para><maml:para>AllowNoConnections: deshabilita las conexiones
</maml:para><maml:para>AllowReadIntentConnectionsOnly: permite solo las conexiones de intención de lectura
</maml:para><maml:para>AllowAllConnections: permite todas las conexiones
</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" aliases=""><maml:name>EndpointUrl</maml:name><maml:description><maml:para>Dirección URL del extremo en el formato de TCP://DirecciónDeSistema:puerto
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>FailoverMode</maml:name><maml:description><maml:para>Modo de conmutación por error de la réplica. Las opciones son Manual o Automatic.
</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" aliases=""><maml:name>ReadonlyRoutingConnectionUrl</maml:name><maml:description><maml:para>Nombre de dominio completo (FQDN) y puerto que se usa al enrutar a la réplica para las conexiones de solo lectura. Por ejemplo:
</maml:para><maml:para>TCP://DBSERVER8.manufacturing.Adventure-Works.com:7024
</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" aliases=""><maml:name>ReadOnlyRoutingList</maml:name><maml:description><maml:para>Lista ordenada de nombres de servidor de réplica que representa la secuencia de sondeo para que el director de conexión la use al redirigir las conexiones de solo lectura a través de esta réplica de disponibilidad. Esto es aplicable cuando la réplica de disponibilidad es la principal actual del grupo de disponibilidad.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SessionTimeout</maml:name><maml:description><maml:para>Número de segundos durante los cuales se espera una respuesta entre la réplica principal y esta réplica antes de considerar que la conexión dio error.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Set-SqlAvailabilityReplica</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityReplica de la réplica que se va a modificar.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AvailabilityMode</maml:name><maml:description><maml:para>Modo de disponibilidad de la réplica. Las opciones son SynchronousCommit o AsynchronousCommit.
</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" aliases=""><maml:name>BackupPriority</maml:name><maml:description><maml:para>Esta opción es un entero en el intervalo 0..100 y representa la prioridad deseada de las réplicas en las copias de seguridad que se realizan. Del conjunto de réplicas que están en línea y disponibles, la réplica con la prioridad más alta se elegirá para realizar la copia de seguridad.
</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" aliases=""><maml:name>ConnectionModeInPrimaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol principal. Los valores válidos son:
</maml:para><maml:para>AllowReadWriteConnections: se permiten las conexión de lectura/escritura
</maml:para><maml:para>AllowAllConnections: se permiten todas las conexiones
</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" aliases=""><maml:name>ConnectionModeInSecondaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol secundario. Los valores válidos son:
</maml:para><maml:para>AllowNoConnections: deshabilita las conexiones
</maml:para><maml:para>AllowReadIntentConnectionsOnly: permite solo las conexiones de intención de lectura
</maml:para><maml:para>AllowAllConnections: permite todas las conexiones
</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" aliases=""><maml:name>EndpointUrl</maml:name><maml:description><maml:para>Dirección URL del extremo en el formato de TCP://DirecciónDeSistema:puerto
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>FailoverMode</maml:name><maml:description><maml:para>Modo de conmutación por error de la réplica. Las opciones son Manual o Automatic.
</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" aliases=""><maml:name>ReadonlyRoutingConnectionUrl</maml:name><maml:description><maml:para>Nombre de dominio completo (FQDN) y puerto que se usa al enrutar a la réplica para las conexiones de solo lectura. Por ejemplo:
</maml:para><maml:para>TCP://DBSERVER8.manufacturing.Adventure-Works.com:7024
</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" aliases=""><maml:name>ReadOnlyRoutingList</maml:name><maml:description><maml:para>Lista ordenada de nombres de servidor de réplica que representa la secuencia de sondeo para que el director de conexión la use al redirigir las conexiones de solo lectura a través de esta réplica de disponibilidad. Esto es aplicable cuando la réplica de disponibilidad es la principal actual del grupo de disponibilidad.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SessionTimeout</maml:name><maml:description><maml:para>Número de segundos durante los cuales se espera una respuesta entre la réplica principal y esta réplica antes de considerar que la conexión dio error.
</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AvailabilityMode</maml:name><maml:description><maml:para>Modo de disponibilidad de la réplica. Las opciones son SynchronousCommit o AsynchronousCommit.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupPriority</maml:name><maml:description><maml:para>Esta opción es un entero en el intervalo 0..100 y representa la prioridad deseada de las réplicas en las copias de seguridad que se realizan. Del conjunto de réplicas que están en línea y disponibles, la réplica con la prioridad más alta se elegirá para realizar la copia de seguridad.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ConnectionModeInPrimaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol principal. Los valores válidos son:
</maml:para><maml:para>AllowReadWriteConnections: se permiten las conexión de lectura/escritura
</maml:para><maml:para>AllowAllConnections: se permiten todas las conexiones
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ConnectionModeInSecondaryRole</maml:name><maml:description><maml:para>Cómo debe controlar la réplica de disponibilidad las conexiones cuando está en el rol secundario. Los valores válidos son:
</maml:para><maml:para>AllowNoConnections: deshabilita las conexiones
</maml:para><maml:para>AllowReadIntentConnectionsOnly: permite solo las conexiones de intención de lectura
</maml:para><maml:para>AllowAllConnections: permite todas las conexiones
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EndpointUrl</maml:name><maml:description><maml:para>Dirección URL del extremo en el formato de TCP://DirecciónDeSistema:puerto
</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" aliases=""><maml:name>FailoverMode</maml:name><maml:description><maml:para>Modo de conmutación por error de la réplica. Las opciones son Manual o Automatic.
</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityReplica de la réplica que se va a modificar.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">T</command:parameterValue><dev:type><maml:name>T</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la réplica de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>ReadonlyRoutingConnectionUrl</maml:name><maml:description><maml:para>Nombre de dominio completo (FQDN) y puerto que se usa al enrutar a la réplica para las conexiones de solo lectura. Por ejemplo:
</maml:para><maml:para>TCP://DBSERVER8.manufacturing.Adventure-Works.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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ReadOnlyRoutingList</maml:name><maml:description><maml:para>Lista ordenada de nombres de servidor de réplica que representa la secuencia de sondeo para que el director de conexión la use al redirigir las conexiones de solo lectura a través de esta réplica de disponibilidad. Esto es aplicable cuando la réplica de disponibilidad es la principal actual del grupo de disponibilidad.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SessionTimeout</maml:name><maml:description><maml:para>Número de segundos durante los cuales se espera una respuesta entre la réplica principal y esta réplica antes de considerar que la conexión dio 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityReplica</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Réplica de disponibilidad que se va a modificar.
 
 
</maml:para></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-SqlAvailabilityReplica -AvailabilityMode "SynchronousCommit" -FailoverMode "Automatic" -Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAg\AvailabilityReplicas\MyReplica
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando modifica la réplica 'MyReplica' en el grupo de disponibilidad 'MyAg' para usar el modo de disponibilidad de confirmación sincrónica y permitir la conmutación automática por error.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-SqlAvailabilityReplica -AvailabilityMode "AsynchronousCommit" -FailoverMode "Manual" -Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAg\AvailabilityReplicas\MyReplica
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando modifica la réplica 'MyReplica' en el grupo de disponibilidad 'MyAg' para usar el modo de disponibilidad de confirmación asincrónica y admitir únicamente la conmutación por error manual forzada (con posible pérdida de datos).
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 3 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-SqlAvailabilityReplica -ConnectionModeInSecondaryRole "AllowAllConnections" -Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAg\AvailabilityReplicas\MyReplica
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando modifica la réplica 'MyReplica' en el grupo de disponibilidad 'MyAg' para permitir todas las conexiones en el rol secundario. Esto resulta útil si desea descargar el procesamiento de los datos de solo lectura en las réplicas secundarias.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 4 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-Location SQLSERVER:\SQL\PrimaryServer\default\AvailabilityGroups\MyAg
$primaryReplica = Get-Item "AvailabilityReplicas\PrimaryServer"
$secondaryReplica = Get-Item "AvailabilityReplicas\SecondaryServer"
 
Set-SqlAvailabilityReplica -ReadOnlyRoutingConnectionUrl "TCP://PrimaryServer.domain.com:5022" -InputObject $primaryReplica
Set-SqlAvailabilityReplica -ReadOnlyRoutingConnectionUrl "TCP://SecondaryServer.domain.com:5022" -InputObject $secondaryReplica
Set-SqlAvailabilityReplica -ReadOnlyRoutingList "SecondaryServer","PrimaryServer" -InputObject $primaryReplica
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se configura la réplica principal y una réplica secundaria en un grupo de disponibilidad para el enrutamiento de solo lectura. Si la opción ConnectionModeInSecondaryRole se establece en AllowAllConnections o en AllowReadIntentConnectionsOnly, el enrutamiento de solo lectura permite a la réplica secundaria recibir y aceptar las solicitudes de lectura cuando el cliente se conecte al grupo de disponibilidad con un nombre de red virtual. Primero, en el el ejemplo se asigna una dirección URL de solo lectura de enrutamiento a cada réplica. Después, establece la lista de enrutamiento de solo lectura en la réplica principal. Las conexiones con la propiedad "ReadOnly" establecida en la cadena de conexión se redirigirán a la réplica secundaria. Si esta réplica secundaria no es legible (según determina la opción ConnectionModeInSecondaryRole), la conexión se dirigirá a la réplica principal.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 5 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-SqlAvailabilityReplica -BackupPriority 60 -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityReplicas\MyReplica
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando establece la prioridad de copia de seguridad de la réplica de disponibilidad 'MyReplica' en 60. La instancia del servidor que hospeda la réplica principal usa esta prioridad para decidir qué réplica debe atender una solicitud de copia de seguridad automatizada en una base de datos del grupo de disponibilidad (se elige la réplica con mayor prioridad). Esta prioridad puede ser cualquier número comprendido entre 0 y 100, ambos incluidos. Si la prioridad es 0, indica que la réplica no debe considerarse candidata para atender solicitudes de copia de seguridad.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Set-SqlCredential</command:name><maml:description><maml:para>Configura las propiedades del objeto Credential de SQL.</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>Puede establecer las propiedades Identity y Password de un objeto Credential de SQL con este cmdlet. Este cmdlet admite los dos modos de funcionamiento siguientes:
 
1. Especificar la ruta de acceso o la ubicación de la credencial, incluido el nombre de la credencial, mediante el parámetro –path.
 
2. Pasar un objeto Smo.Credential al objeto mediante el parámetro –InputObject.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Set-SqlCredential</maml:name><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al objeto Credential en el que desea realizar esta operación. Por ejemplo: SQLSERVER:\SQL\Computer\Instance\Credentials\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="false" position="3" aliases=""><maml:name>Identity</maml:name><maml:description><maml:para>Especifique el nombre de usuario o de cuenta del recurso en el que SQL Server necesita autenticarse. Para el servicio de almacenamiento de Windows Azure, es el nombre de la cuenta de almacenamiento de Windows 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="4" aliases=""><maml:name>Secret</maml:name><maml:description><maml:para>Use este parámetro para especificar la contraseña del usuario o de la cuenta. Para el servicio Almacenamiento de Windows Azure, es el valor de clave de acceso de la cuenta de almacenamiento de Windows Azure.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Set-SqlCredential</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Credential de entrada. Este objeto se puede recuperar con el cmdlet Get-SqlCredential.
</maml:para></maml:description></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases=""><maml:name>Identity</maml:name><maml:description><maml:para>Especifique el nombre de usuario o de cuenta del recurso en el que SQL Server necesita autenticarse. Para el servicio de almacenamiento de Windows Azure, es el nombre de la cuenta de almacenamiento de Windows 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="4" aliases=""><maml:name>Secret</maml:name><maml:description><maml:para>Use este parámetro para especificar la contraseña del usuario o de la cuenta. Para el servicio Almacenamiento de Windows Azure, es el valor de clave de acceso de la cuenta de almacenamiento de Windows Azure.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases=""><maml:name>Identity</maml:name><maml:description><maml:para>Especifique el nombre de usuario o de cuenta del recurso en el que SQL Server necesita autenticarse. Para el servicio de almacenamiento de Windows Azure, es el nombre de la cuenta de almacenamiento de Windows 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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Credential de entrada. Este objeto se puede recuperar con el cmdlet Get-SqlCredential.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">T</command:parameterValue><dev:type><maml:name>T</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al objeto Credential en el que desea realizar esta operación. Por ejemplo: 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases=""><maml:name>Secret</maml:name><maml:description><maml:para>Use este parámetro para especificar la contraseña del usuario o de la cuenta. Para el servicio Almacenamiento de Windows Azure, es el valor de clave de acceso de la cuenta de almacenamiento de Windows Azure.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
-------------------------- EXAMPLE 1 --------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;Set-SqlCredential -Path SQLSERVER:\SQL\Computer\Instance\Credentials\MySqlCredential –Identity "mystorageaccount"
 
 
</dev:code><dev:remarks><maml:para>Este comando establece la identidad de MySqlCredential en ‘mystorageaccount’ especificando la ruta de acceso del objeto Credential de SQL.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
-------------------------- EXAMPLE 2 --------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;The command retrieves the credential object from the Get-Credential cmdlet and then pipes it to the Set-Sql Credential cmdlet to set the identity of mySqLCrendential to ‘mystorageaccount’.
PS C:\&gt; $cred = Get-SqlCredential -Name MySqlCredential
$cred | Set-SqlCredential –Identity "mystorageaccount"
 
 
</dev:code><dev:remarks></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
-------------------------- EXAMPLE 3--------------------------
 
 
                      </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;The command prompts for the storage access key information and the Set-Sql Credential cmdlet to set the value for SECRET with the input value.
PS C:\&gt; $secret = read-host "Please enter the storage account access key"
PS C:\&gt; Set-SqlCredential –Identity "mystorageaccount" –Secret $secret
 
 
</dev:code><dev:remarks></dev:remarks><command:commandLines><command:commandLine><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"><command:details><command:name>Set-SqlHADREndpoint</command:name><maml:description><maml:para>Establece las propiedades de un extremo de creación de reflejo de la base de datos existente.</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>El cmdlet Set-SqlHadrEndpoint permite un cambio en las propiedades de un extremo de creación de reflejo de la base de datos existente (nombre, estado, propiedades de autenticación, etc.).
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al extremo de creación de reflejo de la base de datos. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AuthenticationOrder</maml:name><maml:description><maml:para>Orden y tipo de autenticación que usa el extremo. Las opciones son Certificate, CertificateKerberos , CertificateNegotiate, CertificateNtlm, Kerberos, KerberosCertificate, Negotiate, NegotiateCertificate, Ntlm y NtlmCertificate. Si la opción especificada necesita un certificado, también debe establecerse el parámetro -Certificate, a menos que un certificado ya esté asociado al extremo.
</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" aliases=""><maml:name>Certificate</maml:name><maml:description><maml:para>Nombre del certificado que el extremo debe usar para autenticar las conexiones. El extremo alejado debe tener un certificado con la clave pública que coincida con la clave privada del certificado especificado.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Encryption</maml:name><maml:description><maml:para>Opción de cifrado para el extremo. Las opciones son Disabled, Supported o 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" aliases=""><maml:name>EncryptionAlgorithm</maml:name><maml:description><maml:para>Forma del cifrado que usa el extremo. Las opciones son Aes, AesRC4, None, RC4 y RC4Aes.
</maml:para><maml:para>NOTA: el algoritmo RC4 se admite únicamente por razones de compatibilidad con versiones anteriores. El material nuevo solo se puede cifrar con RC4 o RC4_128 cuando la base de datos tenga el nivel de compatibilidad 90 o 100. (No se recomienda). En su lugar, use un algoritmo más reciente como uno de los algoritmos AES.
</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" aliases=""><maml:name>IpAddress</maml:name><maml:description><maml:para>Dirección IP en la que escuchará el extremo.
</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" aliases=""><maml:name>Owner</maml:name><maml:description><maml:para>Propietario del extremo.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Número de puerto TCP que usa el extremo para escuchar las conexiones.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>State</maml:name><maml:description><maml:para>Estado del extremo: Started, Stopped o Disabled.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">EndpointState</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Set-SqlHADREndpoint</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Endpoint del extremo que se va a modificar. Debe ser un extremo de creación del reflejo de la base de datos.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AuthenticationOrder</maml:name><maml:description><maml:para>Orden y tipo de autenticación que usa el extremo. Las opciones son Certificate, CertificateKerberos , CertificateNegotiate, CertificateNtlm, Kerberos, KerberosCertificate, Negotiate, NegotiateCertificate, Ntlm y NtlmCertificate. Si la opción especificada necesita un certificado, también debe establecerse el parámetro -Certificate, a menos que un certificado ya esté asociado al extremo.
</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" aliases=""><maml:name>Certificate</maml:name><maml:description><maml:para>Nombre del certificado que el extremo debe usar para autenticar las conexiones. El extremo alejado debe tener un certificado con la clave pública que coincida con la clave privada del certificado especificado.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Encryption</maml:name><maml:description><maml:para>Opción de cifrado para el extremo. Las opciones son Disabled, Supported o 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" aliases=""><maml:name>EncryptionAlgorithm</maml:name><maml:description><maml:para>Forma del cifrado que usa el extremo. Las opciones son Aes, AesRC4, None, RC4 y RC4Aes.
</maml:para><maml:para>NOTA: el algoritmo RC4 se admite únicamente por razones de compatibilidad con versiones anteriores. El material nuevo solo se puede cifrar con RC4 o RC4_128 cuando la base de datos tenga el nivel de compatibilidad 90 o 100. (No se recomienda). En su lugar, use un algoritmo más reciente como uno de los algoritmos AES.
</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" aliases=""><maml:name>IpAddress</maml:name><maml:description><maml:para>Dirección IP en la que escuchará el extremo.
</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" aliases=""><maml:name>Owner</maml:name><maml:description><maml:para>Propietario del extremo.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Número de puerto TCP que usa el extremo para escuchar las conexiones.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>State</maml:name><maml:description><maml:para>Estado del extremo: Started, Stopped o Disabled.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">EndpointState</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AuthenticationOrder</maml:name><maml:description><maml:para>Orden y tipo de autenticación que usa el extremo. Las opciones son Certificate, CertificateKerberos , CertificateNegotiate, CertificateNtlm, Kerberos, KerberosCertificate, Negotiate, NegotiateCertificate, Ntlm y NtlmCertificate. Si la opción especificada necesita un certificado, también debe establecerse el parámetro -Certificate, a menos que un certificado ya esté asociado al extremo.
</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>SMO.EndpointAuthenticationOrder.Negotiate</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Certificate</maml:name><maml:description><maml:para>Nombre del certificado que el extremo debe usar para autenticar las conexiones. El extremo alejado debe tener un certificado con la clave pública que coincida con la clave privada del certificado especificado.
</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" aliases=""><maml:name>Encryption</maml:name><maml:description><maml:para>Opción de cifrado para el extremo. Las opciones son Disabled, Supported o 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>SMO.EndpointAuthentication.Required</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EncryptionAlgorithm</maml:name><maml:description><maml:para>Forma del cifrado que usa el extremo. Las opciones son Aes, AesRC4, None, RC4 y RC4Aes.
</maml:para><maml:para>NOTA: el algoritmo RC4 se admite únicamente por razones de compatibilidad con versiones anteriores. El material nuevo solo se puede cifrar con RC4 o RC4_128 cuando la base de datos tenga el nivel de compatibilidad 90 o 100. (No se recomienda). Use un algoritmo más reciente como uno de los algoritmos AES en su lugar.
</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>RC4</dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Endpoint del extremo que se va a modificar. Debe ser un extremo de creación del reflejo de la base de datos.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">T</command:parameterValue><dev:type><maml:name>T</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>IpAddress</maml:name><maml:description><maml:para>Dirección IP en la que escuchará el extremo.
</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Owner</maml:name><maml:description><maml:para>Propietario del extremo.
</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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al extremo de creación de reflejo de la base de datos. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Número de puerto TCP que usa el extremo para escuchar las conexiones.
</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>4022</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>State</maml:name><maml:description><maml:para>Estado del extremo: Started, Stopped o 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>SMO.EndpointState.Stopped</dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>SMO.Endpoint</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Extremo AlwaysOn cuyas propiedades van a establecerse.
 
 
</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><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-SqlHadrEndpoint -Path SQLSERVER:\Sql\Computer\Instance\Endpoints\MyDbmEndpoint -Port 5050
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando establece el número de puerto del extremo de reflejo de la base de datos denominado 'MyDbmEndpoint' en 5050 en la instancia de servidor 'Computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Set-SqlHadrEndpoint -Path SQLSERVER:\Sql\Computer\Instance\Endpoints\MyDbmEndpoint -State Started
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando inicia el extremo de reflejo de la base de datos denominado 'MyDbmEndpoint' en la instancia de servidor 'Computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Set-SqlNetworkConfiguration</command:name><maml:description><maml:para>Establece la configuración de red de la instancia de destino de 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>Establece la configuración de red de la instancia de destino de SQL Server.</maml:para><maml:para>El Adaptador para la nube de SQL Server debe estar en ejecución y ser accessible en el equipo que hospeda la instancia de SQL Server.</maml:para><maml:para>Este cmdlet admite los modos de funcionamiento siguientes:</maml:para><maml:para>1. Especificando la ruta de acceso de PowerShell de la instancia.</maml:para><maml:para>2. Especificando el objeto de servidor.</maml:para><maml:para>3. Especificando el valor de ServerInstance de la instancia de destino de 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" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Protocol</maml:name><maml:description><maml:para>Especifica el protocolo de red que se desea configurar en la instancia de destino de SQL Server.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Protocols</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto en el que se aceptarán conexiones TCP. Para configurar puertos dinámicos, este parámetro se debe establecer en cero.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Disable</maml:name><maml:description><maml:para>Especifica que se desea deshabilitar el protocolo de red especificado en la instancia de destino de SQL Server.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ForceServiceRestart</maml:name><maml:description><maml:para>Fuerza el reinicio del servicio SQL Server, si es necesario, sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>Impide el reinicio del servicio SQL Server sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Set-SqlNetworkConfiguration</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Protocol</maml:name><maml:description><maml:para>Especifica el protocolo de red que se desea configurar en la instancia de destino de SQL Server.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Protocols</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto en el que se aceptarán conexiones TCP. Para configurar puertos dinámicos, este parámetro se debe establecer en cero.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Disable</maml:name><maml:description><maml:para>Especifica que se desea deshabilitar el protocolo de red especificado en la instancia de destino de SQL Server.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ForceServiceRestart</maml:name><maml:description><maml:para>Fuerza el reinicio del servicio SQL Server, si es necesario, sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>Impide el reinicio del servicio SQL Server sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</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="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Set-SqlNetworkConfiguration</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Protocol</maml:name><maml:description><maml:para>Especifica el protocolo de red que se desea configurar en la instancia de destino de SQL Server.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Protocols</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto en el que se aceptarán conexiones TCP. Para configurar puertos dinámicos, este parámetro se debe establecer en cero.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Disable</maml:name><maml:description><maml:para>Especifica que se desea deshabilitar el protocolo de red especificado en la instancia de destino de SQL Server.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ForceServiceRestart</maml:name><maml:description><maml:para>Fuerza el reinicio del servicio SQL Server, si es necesario, sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>Impide el reinicio del servicio SQL Server sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</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="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Disable</maml:name><maml:description><maml:para>Especifica que se desea deshabilitar el protocolo de red especificado en la instancia de destino de 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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ForceServiceRestart</maml:name><maml:description><maml:para>Fuerza el reinicio del servicio SQL Server, si es necesario, sin preguntar al usuario.</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="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoServiceRestart</maml:name><maml:description><maml:para>Impide el reinicio del servicio SQL Server sin preguntar al usuario.</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="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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="3" aliases=""><maml:name>Port</maml:name><maml:description><maml:para>Puerto en el que se aceptarán conexiones TCP. Para configurar puertos dinámicos, este parámetro se debe establecer en cero.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Protocol</maml:name><maml:description><maml:para>Especifica el protocolo de red que se desea configurar en la instancia de destino de SQL Server.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Protocols</command:parameterValue><dev:type><maml:name>Protocols</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
Set-SqlNetworkConfiguration -Credential $credential -Protocol TCP -Port 1433 -NoServiceRestart -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para>Este comando establece la configuración de red para aceptar conexiones TCP en el puerto 1433 para la instancia de servidor ‘Computer\Instance’. El directorio de trabajo actual se usa para determinar la instancia de servidor donde se debe realizar la operación. El servicio SQL Server no se reiniciará automáticamente. El certificado autofirmado del equipo de destino se aceptará automáticamente sin preguntar al usuario.</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>This command retrieves all instances of SQL Server on the machine ‘MachineName’ and disables TCP connections for each one of them. The SQL Server service will not be restarted automatically. The self-signed certificate of the target machine will be automatically accepted without prompting the user.
PS C:\&gt;Get-SqlInstance -Credential $credential -MachineName "MachineName" | Set-SqlNetworkConfiguration -Credential $credential -Protocol TCP -Disable -NoServiceRestart -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para></maml:para></dev:remarks><command:commandLines><command:commandLine><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: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"><command:details><command:name>Set-SqlSmartAdmin</command:name><maml:description><maml:para>Este cmdlet configura o modifica los valores de retención y almacenamiento de copia de seguridad.</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>El cmdlet Set-SqlSmartAdmin configura o modifica los valores de los parámetros BackupEnabled, BackupRetentionPeriodinDays, MasterSwitch y SqlCredential. Este cmdlet solo se puede ejecutar para configuraciones de nivel de instancia, no para una base de datos específica.</maml:para><maml:para>Este cmdlet admite los siguientes modos de funcionamiento para devolver el objeto:
 
 1. Pasar un objeto Smo.Server al parámetro -InputObject, ya sea directamente o a través de la canalización.
 
 2. Pasar la ruta de acceso de la instancia de SQL Server al parámetro -Path.</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server. Se trata de un parámetro opcional. Si no se especifica, el valor del parámetro usa el directorio de trabajo actual. Resulta útil cuando se crean scripts para administrar varias instancias.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupEnabled</maml:name><maml:description><maml:para>Parámetro usado para habilitar o deshabilitar Copia de seguridad administrada de SQL Server en Windows Azure.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupRetentionPeriodInDays</maml:name><maml:description><maml:para>Número de días que se deben conservar los archivos de copia de seguridad. Este valor determina el margen de tiempo durante el cual se pueden recuperar las bases de datos. Por ejemplo, si establece el valor en 30 días, puede recuperar una base de datos hasta un momento dado de los últimos 30 días.</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" aliases=""><maml:name>EncryptionOption</maml:name><maml:description><maml:para>Opciones de cifrado.</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" aliases=""><maml:name>MasterSwitch</maml:name><maml:description><maml:para>Se usa para pausar o reiniciar todos los servicios que se ejecutan bajo Smart Admin, incluido Copia de seguridad administrada de SQL Server en Windows Azure. Este parámetro es obligatorio.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Objeto SqlCredential que se usa para autenticarse en la cuenta de almacenamiento de Windows Azure. Este parámetro es obligatorio.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Set-SqlSmartAdmin</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Smart Admin de Smo. Este objeto se puede recuperar con el cmdlet Get-SqlSmartAdmin.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupEnabled</maml:name><maml:description><maml:para>Parámetro usado para habilitar o deshabilitar Copia de seguridad administrada de SQL Server en Windows Azure.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupRetentionPeriodInDays</maml:name><maml:description><maml:para>Número de días que se deben conservar los archivos de copia de seguridad. Este valor determina el margen de tiempo durante el cual se pueden recuperar las bases de datos. Por ejemplo, si establece el valor en 30 días, puede recuperar una base de datos hasta un momento dado de los últimos 30 días.</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" aliases=""><maml:name>EncryptionOption</maml:name><maml:description><maml:para>Opciones de cifrado.</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" aliases=""><maml:name>MasterSwitch</maml:name><maml:description><maml:para>Se usa para pausar o reiniciar todos los servicios que se ejecutan bajo Smart Admin, incluido Copia de seguridad administrada de SQL Server en Windows Azure. Este parámetro es obligatorio.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Objeto SqlCredential que se usa para autenticarse en la cuenta de almacenamiento de Windows Azure. Este parámetro es obligatorio.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupEnabled</maml:name><maml:description><maml:para>Parámetro usado para habilitar o deshabilitar Copia de seguridad administrada de SQL Server en Windows Azure.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue><dev:type><maml:name>Boolean</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupRetentionPeriodInDays</maml:name><maml:description><maml:para>Número de días que se deben conservar los archivos de copia de seguridad. Este valor determina el margen de tiempo durante el cual se pueden recuperar las bases de datos. Por ejemplo, si establece el valor en 30 días, puede recuperar una base de datos hasta un momento dado de los últimos 30 días.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EncryptionOption</maml:name><maml:description><maml:para>Opciones de cifrado.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto Smart Admin de Smo. Este objeto se puede recuperar con el cmdlet Get-SqlSmartAdmin.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">T</command:parameterValue><dev:type><maml:name>T</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>MasterSwitch</maml:name><maml:description><maml:para>Se usa para pausar o reiniciar todos los servicios que se ejecutan bajo Smart Admin, incluido Copia de seguridad administrada de SQL Server en Windows Azure. Este parámetro es obligatorio.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue><dev:type><maml:name>Boolean</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server. Se trata de un parámetro opcional. Si no se especifica, el valor del parámetro usa el directorio de trabajo actual. Resulta útil cuando se crean scripts para administrar varias instancias.</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SqlCredential</maml:name><maml:description><maml:para>Objeto SqlCredential que se usa para autenticarse en la cuenta de almacenamiento de Windows Azure. Este parámetro es obligatorio.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\ PS&gt; cd SQLSERVER:\SQL\Computer\MyInstance
</dev:code><dev:code>PS C:\&gt;Get-SqlSmartAdmin | Set-SqlSmartAdmin –BackupEnabled $True –BackupRetentionPeriodInDays 10
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se configuran los valores de Copia de seguridad en la nube de ‘MyInstance’. Se recupera el objeto Smart Admin mediante el cmdlet Get-SqlSmartAdmin y se canaliza al cmdlet Set-SqlSmartAdmin. </maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\ PS&gt; cd SQLSERVER:\SQL\Computer\MyInstance
</dev:code><dev:code>PS C:\&gt;Get-SqlSmartAdmin | Set-SqlSmartAdmin –MasterSwitch $False
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se pausan los servicios Copia de seguridad administrada de SQL Server para toda la instancia.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 3 --------------------------
  
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\ PS&gt; cd SQLSERVER:\SQL\Computer\MyInstance
</dev:code><dev:code>PS C:\&gt;Get-SqlSmartAdmin | Set-SqlSmartAdmin –MasterSwitch $True
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este ejemplo devuelve los servicios Copia de seguridad administrada de SQL Server en Windows Azure.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 4 --------------------------
  
                       </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;$encryptionOption = New-SqlBackupEncryptionOption -EncryptionAlgorithm Aes128 -EncryptorType ServerCertificate -EncryptorName "MyBackupCert"
</dev:code><dev:code>PS C:\&gt;Get-SqlSmartAdmin | Set-SqlSmartAdmin -EncryptionOption $encryptionOption
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>En este ejemplo se establece la opción de cifrado de Copia de seguridad administrada de SQL Server en Windows Azure proporcionando el parámetro –EncryptionOption.</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Start-SqlInstance</command:name><maml:description><maml:para>Inicia la instancia especificada de 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>Inicia la instancia especificada de SQL Server.</maml:para><maml:para>El Adaptador para la nube de SQL Server debe estar en ejecución y ser accessible en el equipo que hospeda la instancia de SQL Server.</maml:para><maml:para>Este cmdlet admite los modos de funcionamiento siguientes:</maml:para><maml:para>1. Especificando la ruta de acceso de PowerShell de la instancia.</maml:para><maml:para>2. Especificando el objeto de servidor.</maml:para><maml:para>3. Especificando el valor de ServerInstance de la instancia de destino de SQL Server.</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Start-SqlInstance</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Start-SqlInstance</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</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="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Start-SqlInstance</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</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="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
Start-SqlInstance -Credential $credential -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para>Este comando inicia la instancia de servidor ‘Computer\Instance’. El directorio de trabajo actual se usa para determinar la instancia de servidor donde se debe realizar la operación. El certificado autofirmado del equipo de destino se aceptará automáticamente sin preguntar al usuario.</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>This command retrieves all instances of SQL Server on the machine ‘MachineName’ and starts all the instances. The self-signed certificate of the target machine will be automatically accepted without prompting the user.
PS C:\&gt;Get-SqlInstance -Credential $credential -MachineName "MachineName" | Start-SqlInstance -Credential $credential -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para></maml:para></dev:remarks><command:commandLines><command:commandLine><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: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"><command:details><command:name>Stop-SqlInstance</command:name><maml:description><maml:para>Detiene la instancia especificada de 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>Detiene la instancia especificada de SQL Server.</maml:para><maml:para>El Adaptador para la nube de SQL Server debe estar en ejecución y ser accessible en el equipo que hospeda la instancia de SQL Server.</maml:para><maml:para>Este cmdlet admite los modos de funcionamiento siguientes:</maml:para><maml:para>1. Especificando la ruta de acceso de PowerShell de la instancia.</maml:para><maml:para>2. Especificando el objeto de servidor.</maml:para><maml:para>3. Especificando el valor de ServerInstance de la instancia de destino de SQL Server.</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Stop-SqlInstance</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Stop-SqlInstance</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</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="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Stop-SqlInstance</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>Fuerza que el cmdlet acepte automáticamente el certificado autofirmado del Adaptador para la nube de SQL Server del equipo de destino sin preguntar al usuario.</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="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>Especifica una cuenta de usuario con credenciales de Administrador de Windows en el equipo de destino.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto de servidor de la instancia de destino.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ManagementPublicPort</maml:name><maml:description><maml:para>Puerto de administración público del equipo de destino. Este parámetro debe usarse cuando los puertos del equipo de destino no son accesibles directamente sino que se exponen mediante extremos, lo que significa que hay que conectarse a un puerto diferente.</maml:para><maml:para>Este puerto debe poder obtener acceso al Adaptador para la nube de SQL Server.</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></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la instancia de SQL Server en la que desea ejecutar la operación. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.</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" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>Período de tiempo para reintentar el comando en el servidor de destino. Cuando termine el tiempo de espera, no se realizará ningún reintento más.</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></dev:defaultValue></command:parameter><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>Este parámetro especifica el nombre de una instancia de SQL Server que se convierte en el destino de la operación.</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;CD SQLSERVER:\SQL\Computer\Instance;
Stop-SqlInstance -Credential $credential -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para>Este comando detiene la instancia de servidor ‘Computer\Instance’. El directorio de trabajo actual se usa para determinar la instancia de servidor donde se debe realizar la operación. El certificado autofirmado del equipo de destino se aceptará automáticamente sin preguntar al usuario.</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title></maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>This command retrieves all instances of SQL Server on the machine ‘MachineName’ and stops all the instances. The self-signed certificate of the target machine will be automatically accepted without prompting the user.
PS C:\&gt;Get-SqlInstance -Credential $credential -MachineName "MachineName" | Stop-SqlInstance -Credential $credential -AcceptSelfSignedCertificate;
 
</dev:code><dev:remarks><maml:para></maml:para></dev:remarks><command:commandLines><command:commandLine><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: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"><command:details><command:name>Suspend-SqlAvailabilityDatabase</command:name><maml:description><maml:para>Suspende el movimiento de datos en la base de datos de disponibilidad en la réplica hospedada por la instancia de servidor actual. </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>El cmdlet Suspend-SqlAvailabilityDatabase suspende el movimiento de datos en una base de datos de disponibilidad en la réplica que la instancia de servidor actual hospeda. Cuando se suspende una base de datos secundaria, su estado se establece en SUSPENDED y comenzará a quedar rezagada respecto de la base de datos principal correspondiente. Al suspender una base de datos, se suspende el movimiento de datos en todas las réplicas secundarias.
</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="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la base de datos de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Suspend-SqlAvailabilityDatabase</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityDatabase de la base de datos principal o secundaria para la que el movimiento de datos va a suspenderse.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityDatabase de la base de datos principal o secundaria para la que el movimiento de datos va a suspenderse.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso a la base de datos de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityDatabase</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Especifica la base de datos de disponibilidad para la que el movimiento de datos se va a suspender.
 
 
</maml:para></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><maml:alertSet><maml:title /><maml:alert><maml:para>La instancia en la que este comando se ejecuta debe habilitarse para que tenga una alta disponibilidad.
</maml:para></maml:alert><maml:alert></maml:alert></maml:alertSet><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Suspend-SqlAvailabilityDatabase -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityDatabases\MyDatabase
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando suspende la sincronización de datos de la base de datos de disponibilidad 'MyDatabase' del grupo de disponibilidad 'MyAg' en la instancia de servidor denominada 'Computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;dir SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityDatabases | Suspend-SqlAvailabilityDatabase
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando suspende la sincronización de datos de todas las bases de datos de disponibilidad del grupo de disponibilidad 'MyAg' en la instancia de servidor denominada 'Computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 3 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Suspend-SqlAvailabilityDatabase -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityDatabases\MyDatabase -Script
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando da como resultado el script de Transact-SQL que suspende la sincronización de datos de la base de datos de disponibilidad 'MyDatabase' del grupo de disponibilidad 'MyAg' en la instancia de servidor denominada 'Computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText>SQL Server Books Online: Suspending a Database in an Availability Group (SQL Server)</maml:linkText><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"><command:details><command:name>Switch-SqlAvailabilityGroup</command:name><maml:description><maml:para>Inicia una conmutación por error de un grupo de disponibilidad en una réplica secundaria específica. </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>El cmdlet Switch-SqlAvailabilityGroup inicia una conmutación por error de un grupo de disponibilidad en una réplica secundaria específica. Este cmdlet solo se puede ejecutar en la réplica secundaria de destino. Después de la conmutación por error, la réplica secundaria objeto de conmutación por error se convierte en la nueva réplica principal.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Switch-SqlAvailabilityGroup</maml:name><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>AllowDataLoss</maml:name><maml:description><maml:para>Inicia una conmutación por error forzada a la réplica secundaria de destino. Es posible que se pierdan datos. Por lo tanto, se le pedirá su confirmación a menos que especifique el parámetro -Force o -Script.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>Especifique -Force con -AllowDataLoss para iniciar una conmutación por error forzada sin confirmación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Switch-SqlAvailabilityGroup</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup que representa al grupo de disponibilidad en el que se realizará la conmutación por error.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AllowDataLoss</maml:name><maml:description><maml:para>Inicia una conmutación por error forzada a la réplica secundaria de destino. Es posible que se pierdan datos. Por lo tanto, se le pedirá su confirmación a menos que especifique el parámetro -Force o -Script.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>Especifique -Force con -AllowDataLoss para iniciar una conmutación por error forzada sin confirmación.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este cmdlet.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AllowDataLoss</maml:name><maml:description><maml:para>Inicia una conmutación por error forzada a la réplica secundaria de destino. Es posible que se pierdan datos. Por lo tanto, se le pedirá su confirmación a menos que especifique el parámetro -Force o -Script.
</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" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>Especifique -Force con -AllowDataLoss para iniciar una conmutación por error forzada sin confirmación.
</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="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto AvailabilityGroup que representa al grupo de disponibilidad en el que se realizará la conmutación por error.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>Da como resultado un script de Transact-SQL que realiza la tarea ejecutada por este 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description><maml:para>
 
Especifica el grupo de disponibilidad al que se conmutará por error.
 
 
</maml:para></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Switch-SqlAvailabilityGroup -Path SQLSERVER:\Sql\SecondaryServer\InstanceName\AvailabilityGroups\MyAg
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando realiza una conmutación por error planeada (sin pérdida de datos) del grupo de disponibilidad 'MyAg' a la instancia de servidor denominada 'SecondaryServer\InstanceName'. Este comando debe ejecutarse con la instancia del servidor que hospeda la réplica secundaria que va a ser objeto de conmutación por error.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Switch-SqlAvailabilityGroup -Path SQLSERVER:\Sql\SecondaryServer\InstanceName\AvailabilityGroups\MyAg -AllowDataLoss
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando realiza una conmutación por error forzada (con posible pérdida de datos) del grupo de disponibilidad 'MyAg' a la instancia de servidor denominada 'SecondaryServer\InstanceName'. Dado que una conmutación por error forzada podría producir la pérdida de datos, se le pedirá que confirme esta operación. Este comando debe ejecutarse con la instancia del servidor que hospeda la réplica secundaria que va a ser objeto de conmutación por error.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 3 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Switch-SqlAvailabilityGroup -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\AgName -AllowDataLoss -Force
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando realiza una conmutación por error forzada (con posible pérdida de datos) del grupo de disponibilidad 'MyAg' a la instancia de servidor denominada 'SecondaryServer\InstanceName'. La opción -Force suprime la confirmación de esta operación. Use la opción -Force con precaución, porque una conmutación por error forzada podría provocar la pérdida de datos de las bases de datos que participan en el grupo de disponibilidad. Este comando debe ejecutarse con la instancia del servidor que hospeda la réplica secundaria que va a ser objeto de conmutación por error.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 4 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Switch-SqlAvailabilityGroup -Path SQLSERVER:\Sql\SecondaryServer\InstanceName\AvailabilityGroups\MyAg -Script
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando da como resultado el script de Transact-SQL que realiza una conmutación por error planeada (sin pérdida de datos) del grupo de disponibilidad 'MyAg' a la instancia de servidor denominada 'SecondaryServer\InstanceName'. Observe que este comando no provoca una conmutación por error.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText>SQL Server Books Online: Forcing Failover of an Availability Group (SQL Server)</maml:linkText><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"><command:details><command:name>Test-SqlAvailabilityGroup</command:name><maml:description><maml:para>Evalúa el estado de un grupo de disponibilidad mediante la evaluación de las directivas de administración basada en directivas (PBM) de SQL Server.</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>El cmdlet Test-SqlAvailabilityGroup evalúa el estado de un grupo de disponibilidad evaluando las directivas de administración basada en directivas (PBM) de SQL Server. Debe tener permisos CONNECT, VIEW SERVER STATE, y VIEW ANY DEFINITION para ejecutar este cmdlet.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Test-SqlAvailabilityGroup</maml:name><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario que se encuentran en las categorías de directiva de AlwaysOn.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente los objetos especificados por el parámetro -Path o -InputObject.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de cada evaluación de directiva realizada por este cmdlet. El cmdlet envía un objeto por evaluación de la directiva, y este objeto tiene campos que describen los resultados de la evaluación (si la directiva se ha superado o no, el nombre y la categoría de la directiva, etc.).
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Test-SqlAvailabilityGroup</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Colección de objetos que representan los grupos de disponibilidad. Este cmdlet calculará el estado de estos grupos de disponibilidad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario que se encuentran en las categorías de directiva de AlwaysOn.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente los objetos especificados por el parámetro -Path o -InputObject.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de cada evaluación de directiva realizada por este cmdlet. El cmdlet envía un objeto por evaluación de la directiva, y este objeto tiene campos que describen los resultados de la evaluación (si la directiva se ha superado o no, el nombre y la categoría de la directiva, etc.).
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario que se encuentran en las categorías de directiva de AlwaysOn.
</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="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Colección de objetos que representan los grupos de disponibilidad. Este cmdlet calculará el estado de estos grupos de disponibilidad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente los objetos especificados por el parámetro -Path o -InputObject.
</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="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al grupo de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de cada evaluación de directiva realizada por este cmdlet. El cmdlet envía un objeto por evaluación de la directiva, y este objeto tiene campos que describen los resultados de la evaluación (si la directiva se ha superado o no, el nombre y la categoría de la directiva, etc.).
</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityGroup</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 1 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Test-SqlAvailabilityGroup -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado del grupo de disponibilidad denominado 'MyAge' y genera un breve resumen.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 2 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Get-ChildItem SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups | Test-SqlAvailabilityGroup
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado de todos los grupos de disponibilidad de la instancia de servidor 'Computer\Instance' y genera un breve resumen para cada uno.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 3 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Test-SqlAvailabilityGroup -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\AgName -ShowPolicyDetails
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado del grupo de disponibilidad denominado 'MyAg' y genera los resultados de la evaluación para cada directiva de administración basada en directivas (PBM) que se haya ejecutado.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 4 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Test-SqlAvailabilityGroup -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\AgName -AllowUserPolicies
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado del grupo de disponibilidad denominado 'MyAg'. Las directivas definidas por el usuario se incluyen en esta evaluación.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 5 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Get-ChildItem SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups | Test-SqlAvailabilityGroup | Where-Object { $_.HealthState -eq "Error" }
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando muestra todos los grupos de disponibilidad con el estado de "Error" en la instancia de servidor 'Computer\Instance'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Test-SqlAvailabilityReplica</command:name><maml:description><maml:para>Evalúa el estado de las réplicas de disponibilidad mediante la evaluación de las directivas de administración basada en directivas (PBM) de SQL Server.</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>El cmdlet Test-SqlAvailabilityReplica evalúa el estado de las réplicas de disponibilidad evaluando las directivas de administración basada en directivas (PBM) de SQL Server. Debe tener permisos CONNECT, VIEW SERVER STATE, y VIEW ANY DEFINITION para ejecutar este cmdlet.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Test-SqlAvailabilityReplica</maml:name><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Rutas de acceso a una o varias réplicas de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario que se encuentran en las categorías de directiva de AlwaysOn.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente los objetos especificados por el parámetro -Path o -InputObject.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de cada evaluación de directiva realizada por este cmdlet. El cmdlet envía un objeto por evaluación de la directiva, y este objeto tiene campos que describen los resultados de la evaluación (si la directiva se ha superado o no, el nombre y la categoría de la directiva, etc.).
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Test-SqlAvailabilityReplica</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Colección de objetos que representan las réplicas de disponibilidad. Este cmdlet calculará el estado de estas réplicas.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario que se encuentran en las categorías de directiva de AlwaysOn.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente los objetos especificados por el parámetro -Path o -InputObject.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de cada evaluación de directiva realizada por este cmdlet. El cmdlet envía un objeto por evaluación de la directiva, y este objeto tiene campos que describen los resultados de la evaluación (si la directiva se ha superado o no, el nombre y la categoría de la directiva, etc.).
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario que se encuentran en las categorías de directiva de AlwaysOn.
</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="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Colección de objetos que representan las réplicas de disponibilidad. Este cmdlet calculará el estado de estas réplicas.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente los objetos especificados por el parámetro -Path o -InputObject.
</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="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Rutas de acceso a una o varias réplicas de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de cada evaluación de directiva realizada por este cmdlet. El cmdlet envía un objeto por evaluación de la directiva, y este objeto tiene campos que describen los resultados de la evaluación (si la directiva se ha superado o no, el nombre y la categoría de la directiva, etc.).
</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.AvailabilityReplica</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 1 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Test-SqlAvailabilityReplica -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityReplicas\MyReplica
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado de la réplica de disponibilidad denominada 'MyReplica' en el grupo de disponibilidad 'MyAg' y genera un breve resumen.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 2 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Get-ChildItem SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityReplicas | Test-SqlAvailabilityReplica
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado de todas las réplicas de disponibilidad del grupo de disponibilidad 'MyAg' y genera un breve resumen de cada réplica.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 3 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Test-SqlAvailabilityReplica -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityReplicas\MyReplica -ShowPolicyDetails
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado de la réplica de disponibilidad denominada 'MyReplica' del grupo de disponibilidad 'MyAg' y genera los resultados de la evaluación para cada directiva de administración basada en directivas (PBM) que se haya ejecutado.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 4 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Test-SqlAvailabilityReplica -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityReplicas\MyReplica -AllowUserPolicies
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado de la réplica de disponibilidad denominada 'MyReplica' en el grupo de disponibilidad 'MyAg'. Las directivas definidas por el usuario se incluyen en esta evaluación.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 5 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Get-ChildItem SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityReplicas | Test-SqlAvailabilityReplica | Where-Object { $_.HealthState -eq "Error" }
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando muestra todas las réplicas de disponibilidad con el estado de "Error" del grupo de disponibilidad 'MyAg'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Test-SqlDatabaseReplicaState</command:name><maml:description><maml:para>Evalúa el estado de una base de datos de disponibilidad en todas las réplicas de disponibilidad mediante la evaluación de directivas de administración basada en directivas (PBM) de SQL Server.</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>El cmdlet Test-SqlDatabaseReplicaState evalúa el estado de una base de datos de disponibilidad en todas las réplicas de disponibilidad mediante la evaluación de directivas de administración basada en directivas (PBM) de SQL Server. Debe tener permisos CONNECT, VIEW SERVER STATE, y VIEW ANY DEFINITION para ejecutar este cmdlet.
</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Test-SqlDatabaseReplicaState</maml:name><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al estado del clúster de la réplica de base de datos de la base de datos de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario que se encuentran en las categorías de directiva de AlwaysOn.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente los objetos especificados por el parámetro -Path o -InputObject.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de cada evaluación de directiva realizada por este cmdlet. El cmdlet envía un objeto por evaluación de la directiva, y este objeto tiene campos que describen los resultados de la evaluación (si la directiva se ha superado o no, el nombre y la categoría de la directiva, etc.).
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Test-SqlDatabaseReplicaState</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Colección de objetos que representan los estados de la base de datos de disponibilidad. Este cmdlet calculará el estado de estas bases de datos de disponibilidad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario que se encuentran en las categorías de directiva de AlwaysOn.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente los objetos especificados por el parámetro -Path o -InputObject.
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de cada evaluación de directiva realizada por este cmdlet. El cmdlet envía un objeto por evaluación de la directiva, y este objeto tiene campos que describen los resultados de la evaluación (si la directiva se ha superado o no, el nombre y la categoría de la directiva, etc.).
</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario que se encuentran en las categorías de directiva de AlwaysOn.
</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="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Colección de objetos que representan los estados de la base de datos de disponibilidad. Este cmdlet calculará el estado de estas bases de datos de disponibilidad.
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente los objetos especificados por el parámetro -Path o -InputObject.
</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="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso al estado del clúster de la réplica de base de datos de la base de datos de disponibilidad. Se trata de un parámetro opcional. Si no se especifica, el valor del valor predeterminado de este parámetro es la ubicación de trabajo actual.
</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" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de cada evaluación de directiva realizada por este cmdlet. El cmdlet envía un objeto por evaluación de la directiva, y este objeto tiene campos que describen los resultados de la evaluación (si la directiva se ha superado o no, el nombre y la categoría de la directiva, etc.).
</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.DatabaseReplicaState</maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:inputType></command:inputTypes><command:returnValues><command:returnValue><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para /></maml:description></dev:type><maml:description></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 1 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;$path = "SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\DatabaseReplicaStates\MyReplica.MyDatabase"
Test-SqlDatabaseReplicaState -Path $path
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado de la base de datos de disponibilidad denominada 'MyDatabase' en la réplica de disponibilidad 'MyReplica' y en el grupo de disponibilidad 'MyAg' y genera un breve resumen.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 2 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Get-ChildItem SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\DatabaseReplicaStates | Test-SqlDatabaseReplicaState
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado de todas las bases de datos de disponibilidad del grupo de disponibilidad 'MyAg' y genera un breve resumen de cada base de datos.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 3 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;dir SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\DatabaseReplicaStates | Test-SqlDatabaseReplicaState -ShowPolicyDetails
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado de todas las bases de datos de disponibilidad del grupo de disponibilidad 'MyAg' y genera los resultados de la evaluación para cada directiva de administración basada en directivas (PBM) que se haya ejecutado.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 4 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;dir SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\DatabaseReplicaStates | Test-SqlDatabaseReplicaState -AllowUserPolicies
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado de todas las bases de datos de disponibilidad del grupo de disponibilidad 'MyAg'. Las directivas definidas por el usuario se incluyen en esta evaluación.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
 
 
 
                -------------------------- EXAMPLE 5 --------------------------
 
 
 
            </maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\PS&gt;Get-ChildItem SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\DatabaseReplicaStates | Test-SqlDatabaseReplicaState | Where-Object { $_.HealthState -eq "Error" }
 
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando muestra todas las bases de datos de disponibilidad con el estado de "Error" del grupo de disponibilidad 'MyAg'.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example></command:examples><maml:relatedLinks><maml:navigationLink><maml:linkText></maml:linkText><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"><command:details><command:name>Test-SqlSmartAdmin</command:name><maml:description><maml:para>Este cmdlet evalúa el estado de Smart Admin mediante la evaluación de las directivas de administración basada en directivas (PBM) de SQL Server.</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>El cmdlet Test-SqlSmartAdmin evalúa el estado de Smart Admin para la instancia de SQL Server. </maml:para><maml:para>El cmdlet Test-SqlSmartAdmin evalúa el estado de Smart Admin para la instancia de SQL Server. Este cmdlet admite los siguientes modos de funcionamiento para devolver el objeto:
 
 1. Pasar la ruta de acceso de la instancia de SQL Server al parámetro -Path.
 
 
2. Pasar un objeto Smo.Server al parámetro -InputObject, ya sea directamente o a través de la canalización.</maml:para></maml:description><command:syntax><command:syntaxItem><maml:name>Test-SqlSmartAdmin</maml:name><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso de la instancia de SQL Server. Se trata de un parámetro opcional. Si no se especifica, el valor de este parámetro usa la ubicación de trabajo actual.</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" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario correspondientes a las categorías de directiva de advertencia y de error de Smart Admin.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente el objeto especificado por el parámetro Path o InputObject.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de la evaluación de directiva realizada por este cmdlet. El cmdlet genera un objeto por evaluación de directiva. La salida incluye los resultados de la evaluación: por ejemplo, el nombre de la directiva, la categoría y el estado.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Test-SqlSmartAdmin</maml:name><command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto SmartAdmin. Puede obtener este objeto desde el cmdlet Get-SqlSmartAdmin.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario correspondientes a las categorías de directiva de advertencia y de error de Smart Admin.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente el objeto especificado por el parámetro Path o InputObject.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de la evaluación de directiva realizada por este cmdlet. El cmdlet genera un objeto por evaluación de directiva. La salida incluye los resultados de la evaluación: por ejemplo, el nombre de la directiva, la categoría y el estado.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el cmdlet.</maml:para></maml:description></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</maml:para></maml:description></command:parameter></command:syntaxItem></command:syntax><command:parameters><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>Ejecuta las directivas de usuario correspondientes a las categorías de directiva de advertencia y de error de Smart Admin.</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="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>Objeto SmartAdmin. Puede obtener este objeto desde el cmdlet Get-SqlSmartAdmin.</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Target</command:parameterValue><dev:type><maml:name>Target</maml:name><maml:uri /></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoRefresh</maml:name><maml:description><maml:para>Cuando se establece este parámetro, el cmdlet no actualizará manualmente el objeto especificado por el parámetro Path o InputObject.</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="true" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>Ruta de acceso de la instancia de SQL Server. Se trata de un parámetro opcional. Si no se especifica, el valor de este parámetro usa la ubicación de trabajo actual.</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" aliases=""><maml:name>ShowPolicyDetails</maml:name><maml:description><maml:para>Muestra el resultado de la evaluación de directiva realizada por este cmdlet. El cmdlet genera un objeto por evaluación de directiva. La salida incluye los resultados de la evaluación: por ejemplo, el nombre de la directiva, la categoría y el estado.</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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>Le solicita confirmación antes de ejecutar el 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>WhatIf</maml:name><maml:description><maml:para>Describe lo que sucedería si ejecutase el cmdlet sin ejecutarlo realmente.</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>Microsoft.SqlServer.Management.Smo.SmartAdmin</maml:name><maml:uri></maml:uri><maml:description><maml:para /></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><maml:para /></maml:description></dev:type><maml:description><maml:para>La salida son los resultados de la evaluación de las directivas.</maml:para></maml:description></command:returnValue></command:returnValues><command:terminatingErrors /><command:nonTerminatingErrors /><command:examples><command:example><maml:title>
  
-------------------------- EXAMPLE 1 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\ PS&gt; cd SQLSERVER:\SQL\Computer\MyInstance
 Get-SqlSmartAdmin | Test-SqlSmartAdmin
Following is a list of the properties returned by the above command :
Name: Displays the name of the policy.
Category: Displays the category of the policy, SmartAdmin errors or SmartAdmin Warnings.
Result: Whether a result was returned or not (True or False)
Expression: Displays the policy conditions.
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado de las bases de datos en la instancia de servidor ‘MyInstance’ y genera el estado de mantenimiento. Emplea el cmdlet Get-SqlSmartAdmin para recuperar el objeto Smart Admin y lo canaliza al cmdlet Set-SqlSmartAdmin para que lo use.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 2 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>C:\ PS&gt; cd SQLSERVER:\SQL\Computer\MyInstance
 $policyResults = Get-SqlSmartAdmin | Test-SqlSmartAdmin
$policyResults.PolicyEvaluationDetails | select Name, Category, Result, Expression|f1
 
</dev:code><dev:remarks><maml:para>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando evalúa el estado de las bases de datos en la instancia de servidor ‘MyInstance’ y genera el estado y filtra la presentación. Emplea el cmdlet Get-SqlSmartAdmin para recuperar el objeto Smart Admin y lo canaliza al cmdlet Set-SqlSmartAdmin para que lo use.
</maml:para></dev:remarks><command:commandLines><command:commandLine><command:commandText /></command:commandLine></command:commandLines></command:example><command:example><maml:title>
  
-------------------------- EXAMPLE 3 --------------------------
  
</maml:title><maml:introduction><maml:para></maml:para></maml:introduction><dev:code>PS C:\&gt;PS SQLSERVER:\SQL\COMPUTER\DEFAULT&gt; (get-sqlsmartadmin ).EnumHealthStatus()
Following is a sample output generated by using the above example: 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>Descripción
</maml:para><maml:para>-----------
</maml:para><maml:para>Este comando proporciona un informe detallado del error devuelto en la instancia predeterminada:
</maml:para></dev:remarks><command:commandLines><command:commandLine><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:relatedLinks></command:command></helpItems>