bin/smo/ja/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>InputObject パラメーターまたは Path パラメーターで指定された可用性グループに 1 つ以上のプライマリ データベースを追加するか、1 つ以上のセカンダリ データベースを参加させます。</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>Add-SqlAvailabilityDatabase コマンドレットは、InputObject パラメーターまたは Path パラメーターで指定された可用性グループに 1 つ以上のプライマリ データベースを追加するか、1 つ以上のセカンダリ データベースを参加させます。
</maml:para><maml:para>1 つ以上のデータベースを可用性グループに追加するには、プライマリ レプリカをホストするサーバー インスタンスでこのコマンドレットを実行し、1 つ以上のローカル ユーザー データベースを指定します。
</maml:para><maml:para>セカンダリ データベースを可用性グループに参加させるには、セカンダリ レプリカをホストするサーバー インスタンス上でセカンダリ データベースを手動で準備し、セカンダリ レプリカをホストするサーバー インスタンスでこのコマンドレットを実行します。
</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>可用性グループへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>Path パラメーターまたは InputObject パラメーターで指定された可用性グループに追加または参加させる 1 つ以上のユーザー データベースの配列を指定します。これらのデータベースは、SQL Server のローカル インスタンス上にある必要があります。指定されたデータベースが所属できる可用性グループは 1 つだけです。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>データベースの追加先または参加先となる可用性グループの AvailabilityGroup オブジェクトです。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>Path パラメーターまたは InputObject パラメーターで指定された可用性グループに追加または参加させる 1 つ以上のユーザー データベースの配列を指定します。これらのデータベースは、SQL Server のローカル インスタンス上にある必要があります。指定されたデータベースが所属できる可用性グループは 1 つだけです。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>Path パラメーターまたは InputObject パラメーターで指定された可用性グループに追加または参加させる 1 つ以上のユーザー データベースの配列を指定します。これらのデータベースは、SQL Server のローカル インスタンス上にある必要があります。指定されたデータベースが所属できる可用性グループは 1 つだけです。
</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>データベースの追加先または参加先となる可用性グループの AvailabilityGroup オブジェクトです。
</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>可用性グループへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAG" にデータベース "MyDatabase" を追加します。このコマンドは、可用性グループのプライマリ サーバー インスタンスで実行する必要があります。このコマンドでデータの同期のためにセカンダリ データベースが準備されることはありません。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、セカンダリ レプリカをホストするいずれかのサーバー インスタンスで可用性グループ "MyAG" にセカンダリ データベース "MyDatabase" を参加させます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、可用性グループのプライマリ レプリカをホストするサーバー インスタンス上のデータベースからセカンダリ データベースを準備し、そのデータベースを (プライマリ データベースとして) 可用性グループに追加した後、セカンダリ データベースを可用性グループに参加させるすべての処理を示しています。最初に、データベースとトランザクション ログをバックアップします。次に、セカンダリ レプリカをホストするサーバー インスタンスにデータベースとログのバックアップを復元します。この例では、Add-SqlAvailabilityDatabase を 2 回呼び出します。1 回目はデータベースを可用性グループに追加するためにプライマリ レプリカで呼び出し、2 回目はセカンダリ レプリカ上のセカンダリ データベースを可用性グループに参加させるためにセカンダリ レプリカで呼び出します。セカンダリ レプリカが複数ある場合は、それぞれのセカンダリ データベースを復元して参加させます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAG" にデータベース "MyDatabase" を追加する Transact-SQL スクリプトを出力します。
</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>既存の可用性グループ リスナー構成に静的 IP アドレスを追加します。</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>Add-SqlAvailabilityGroupListenerStaticIp コマンドレットは、既存の可用性グループ リスナー構成に静的 IP アドレスを追加します。パラメーターとして、AvailabilityGroupListener、パス、および静的 IP アドレスを受け取ります。IP アドレスには、サブネットを含む IPv4 アドレス、または IPv6 アドレスを指定できます。このコマンドレットは、プライマリ レプリカをホストするサーバー インスタンスでのみ実行できます。
</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>可用性グループのリスナーへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>可用性グループのリスナーに追加する静的 IP アドレスです。この引数には、文字列の一覧を指定する必要があります。各文字列には、スラッシュを使用して表記された IPv4 アドレスとサブネット マスク (192.168.1.1/255.255.255.0 など) または 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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>IP アドレスの追加先となるリスナーの AvailabilityGroupListener オブジェクトです。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>可用性グループのリスナーに追加する静的 IP アドレスです。この引数には、文字列の一覧を指定する必要があります。各文字列には、スラッシュを使用して表記された IPv4 アドレスとサブネット マスク (192.168.1.1/255.255.255.0 など) または 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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>IP アドレスの追加先となるリスナーの AvailabilityGroupListener オブジェクトです。
</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>可用性グループのリスナーへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>可用性グループのリスナーに追加する静的 IP アドレスです。この引数には、文字列の一覧を指定する必要があります。各文字列には、スラッシュを使用して表記された IPv4 アドレスとサブネット マスク (192.168.1.1/255.255.255.0 など) または 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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、可用性グループ "MyAg" の可用性グループ リスナー "MyListener" に静的 IPv4 アドレスを追加します。この IPv4 アドレスは、サブネット 255.255.252.0 でリスナーの仮想 IP アドレスとして機能します。可用性グループが複数のサブネットにまたがっている場合は、各サブネットの静的 IP アドレスをリスナーに追加する必要があります。Add-SqlAvailabilityGroupListenerStaticIp コマンドは、プライマリ レプリカをホストするサーバー インスタンスで実行する必要があります。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAg" のリスナー "MyListener" に静的 IPv6 アドレスを追加します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAg" のリスナー "MyListener" に静的 IPv4 アドレスを追加する Transact-SQL スクリプトを出力します。
</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>SQL Server の特定のインスタンスへの接続を許可するように、Windows ファイアウォール ルールを追加します。</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>SQL Server の指定したインスタンスに対する接続を許可するように、Windows ファイアウォール ルールを追加します。</maml:para><maml:para>SQL Server クラウド アダプターが、SQL Server のインスタンスをホストするコンピューターで実行され、アクセス可能である必要があります。</maml:para><maml:para>このコマンドレットでは、次の操作モードがサポートされています。</maml:para><maml:para>1.インスタンスの PowerShell パスを指定する。</maml:para><maml:para>2.サーバー オブジェクトを指定する。</maml:para><maml:para>3.SQL Server のターゲット インスタンスの ServerInstance を指定する。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>コマンドレットが、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="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは、このコンピューターで SQL Server のインスタンス "Instance" への接続を許可するように、コンピューター "Computer" の Windows ファイアウォール ルールを追加します。現在の作業ディレクトリを使用して、操作が実行されるサーバー インスタンスを確認します。対象コンピューターの自己署名証明書は、ユーザーに問い合わせることなく自動的に受け入れられます。</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>Backup-SqlDatabase コマンドレットにより、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>Backup-SqlDatabase コマンドレットにより、SQL Server データベースでバックアップ操作が実行されます。これには、データベースの完全バックアップ、トランザクション ログのバックアップ、およびデータベース ファイルのバックアップが含まれます。このコマンドレットは、Microsoft.SqlServer.Management.Smo.Backup クラスを基に作成されています。このクラスのパラメーターは、通常、この Smo オブジェクトのプロパティに対応しています。
</maml:para><maml:para>このコマンドレットでは、サーバー インスタンス上で指定された名前のデータベースをバックアップする、4 つの操作モードをサポートしています。
</maml:para><maml:para>1.サーバー インスタンスのパスを -Path パラメーターに渡し、データベース名を -Database パラメーターに渡します。
</maml:para><maml:para>2.Smo.Server オブジェクトを -InputObject パラメーターに直接またはパイプラインを使用して渡し、データベース名を -Database パラメーターに渡します。
</maml:para><maml:para>3.サーバー インスタンスの名前を -ServerInstance パラメーターに渡し、データベース名を -Database パラメーターに渡します。
</maml:para><maml:para>4.Smo.Database オブジェクトを -DatabaseObject パラメーターに直接またはパイプラインを使用して渡します。
</maml:para><maml:para>既定では、コマンドレットはデータベースの完全バックアップを実行します。-BackupAction パラメーターを指定することで、バックアップの種類を設定できます。
</maml:para><maml:para>バックアップ ファイルは、既定で、完全バックアップやファイル バックアップの場合は "databasename.bak"、ログ バックアップの場合は "databasename.trn" という名前で、サーバーの既定のバックアップ場所に格納されます。
</maml:para><maml:para>-BackupFile パラメーターを指定することで、バックアップ ファイルの場所とファイル名を設定できます。バックアップ ファイルの場所と名前の両方を含む完全修飾名を指定するには、-BackupFile パラメーターを使用します。
</maml:para><maml:para>バックアップ ファイルの場所を設定するには、BackupContainer パラメーターを使用します。この場合、バックアップ ファイルの名前自体は自動生成されます。バックアップ ファイルの場所のみを指定するには、BackupContainer パラメーターを使用してください。詳細については、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>バックアップするデータベースの名前です。-Database パラメーターは、-DatabaseObject パラメーターと共に使用できません。-Database
</maml:para><maml:para>パラメーターを指定したら、-Path、-InputObject、または -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>バックアップの場所とファイル名。これは省略可能なパラメーターです。このパラメーターが指定されていない場合、サーバーの既定のバックアップ場所で、完全バックアップおよびファイル バックアップでは "databasename.bak"、ログ バックアップでは "databasename.trn" という名前でバックアップが格納されます。このパラメーターは、BackupDevice パラメーターまたは 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>実行するバックアップ操作の種類です。有効なオプションは、Database、Files、または Log です。オプションの詳細は次のとおりです。
</maml:para><maml:para>Database: データベース内のすべてのデータ ファイルをバックアップします。
</maml:para><maml:para>Files: 指定されたデータ ファイルをバックアップします。DatabaseFile パラメーターまたは DatabaseFileGroup パラメーターを設定する必要があります。
</maml:para><maml:para>Log: トランザクション ログをバックアップします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupContainer</maml:name><maml:description><maml:para>バックアップが格納されるフォルダーまたは場所です。これは、ディスク上のフォルダーまたは Windows Azure BLOB コンテナーの URL です。このパラメーターは、特定のインスタンスの複数のデータベースをバックアップする場合に便利です。このパラメーターは、BackupDevice パラメーターと共に使用できません。BackupContainer パラメーターは、BackupFile パラメーターと共に使用できません。
</maml:para><maml:para>注: 場所を指定するために使用するパスは、スラッシュ (/) で終わる必要があります。
</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>バックアップが格納されるデバイスです。このパラメーターは、BackupFile パラメーターと共に使用できません。テープにバックアップする場合にこのパラメーターを使用します。
</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>バックアップ セットの説明です (省略可)。
</maml:para></maml: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>バックアップ セットの名前です。
</maml:para></maml: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>バックアップの物理ブロック サイズ (バイト単位) です。サポートされるサイズは、512、1024、2048、4096、8192、16384、32768、および 65536 (64 KB) バイトです。テープ デバイスの場合の既定値は 65536 バイトで、他のデバイスの場合の既定値は 512 バイトです。
</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>バックアップ操作に使用される I/O バッファーの総数です。任意の正の整数値を指定できます。バッファー数が多いと 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>バックアップ操作中にチェックサム値を計算します。このパラメーターを設定しない場合、チェックサムは計算されません。
</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>バックアップ操作の圧縮オプションです。指定できるオプションは、Default、On、および Off です。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>チェックサム エラーが発生しても操作が続行されます。このパラメーターを設定しない場合、チェックサム エラーが発生すると操作が失敗します。
</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>バックアップがコピーのみのバックアップになります。コピーのみのバックアップは、定期的に行われる従来のバックアップの一連の作業には影響しません。
</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>バックアップする 1 つ以上のデータベース ファイルです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ操作の対象となるデータベース ファイル グループです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ操作の暗号化オプションです。
</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>バックアップ セットの有効期限が切れ、バックアップ データが有効と見なされなくなる日時です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。有効期限を過ぎた古いバックアップ セットは、後のバックアップで上書きできます。
</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>バックアップ操作の最初の手順としてテープをフォーマットします。ディスク バックアップには適用されません。
</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>差分バックアップを実行します。
</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>バックアップ操作に関連付けられているデバイスを初期化します。メディア上の既存のバックアップ セットを上書きすると、このバックアップはそのメディアでの最初のバックアップ セットになります。
</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>ログ バックアップの切り捨ての動作です。指定できるオプションは TruncateOnly、NoTruncate、または Truncate です。既定では 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>バックアップ メディアと SQL Server のインスタンス間で転送される最大バイト数です。有効値は 65536 バイト (64 KB) の倍数で、最大有効値は 4194304 バイト (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>バックアップ セットを含むメディアの説明です (省略可)。
</maml:para></maml: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>メディア セットの識別に使用する名前です。
</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>ミラー化されたバックアップで使用される BackupDeviceList オブジェクトの配列を指定します。
</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>このパラメーターを設定すると、ログの末尾がバックアップされません。データベースを復元しても、復元中の状態のままになります。このパラメーターを設定しないと、ログの末尾がバックアップされます。-BackupAction パラメーターを 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>バックアップの完了時に、テープ ドライブが終了位置で開いた状態になります。このパラメーターを設定しないと、操作の完了後、テープが巻き戻されます。ディスク バックアップまたは 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>このパラメーターを設定すると、バックアップを実行した Smo Backup オブジェクトが出力されます。
</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>バックアップ操作を実行する SQL Server のインスタンスのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Restart</maml:name><maml:description><maml:para>部分的に完了したバックアップ操作の処理を続行します。このパラメーターを設定しない場合 (既定値)、中断されたバックアップ操作は、バックアップ セットの先頭から再開されます。
</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>バックアップ セットを上書きできるようになるまでの日数です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>テープ ヘッダーの読み取りをスキップします。
</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>SQL Server 資格情報オブジェクトには、認証情報が格納されます。これは、Windows Azure BLOB ストレージ サービス (URL) にバックアップする場合の必須パラメーターです。格納される認証情報には、Windows Azure ストレージ アカウントの名前および関連付けられているアクセス キー値が含まれます。このパラメーターは、ディスクまたはテープでは使用されません。SQL Server 資格情報の名前を指定することも、パイプラインを通じてオブジェクトを渡すこともできます。
</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>復旧中にロールバックされるコミットされていないトランザクションの格納に使用される UNDO ファイルの名前です。
</maml:para></maml: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>操作の終了後、テープ デバイスが巻き戻され、アンロードされます。このパラメーターを設定しない場合、テープ メディアの巻き戻しやアンロードは行われません。ディスク バックアップまたは 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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>データベース オブジェクトです。バックアップ操作は、このデータベースで実行されます。
</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>バックアップの場所とファイル名。これは省略可能なパラメーターです。このパラメーターが指定されていない場合、サーバーの既定のバックアップ場所で、完全バックアップおよびファイル バックアップでは "databasename.bak"、ログ バックアップでは "databasename.trn" という名前でバックアップが格納されます。このパラメーターは、BackupDevice パラメーターまたは 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>実行するバックアップ操作の種類です。有効なオプションは、Database、Files、または Log です。オプションの詳細は次のとおりです。
</maml:para><maml:para>Database: データベース内のすべてのデータ ファイルをバックアップします。
</maml:para><maml:para>Files: 指定されたデータ ファイルをバックアップします。DatabaseFile パラメーターまたは DatabaseFileGroup パラメーターを設定する必要があります。
</maml:para><maml:para>Log: トランザクション ログをバックアップします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupContainer</maml:name><maml:description><maml:para>バックアップが格納されるフォルダーまたは場所です。これは、ディスク上のフォルダーまたは Windows Azure BLOB コンテナーの URL です。このパラメーターは、特定のインスタンスの複数のデータベースをバックアップする場合に便利です。このパラメーターは、BackupDevice パラメーターと共に使用できません。BackupContainer パラメーターは、BackupFile パラメーターと共に使用できません。
</maml:para><maml:para>注: 場所を指定するために使用するパスは、スラッシュ (/) で終わる必要があります。
</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>バックアップが格納されるデバイスです。このパラメーターは、BackupFile パラメーターと共に使用できません。テープにバックアップする場合にこのパラメーターを使用します。
</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>バックアップ セットの説明です (省略可)。
</maml:para></maml: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>バックアップ セットの名前です。
</maml:para></maml: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>バックアップの物理ブロック サイズ (バイト単位) です。サポートされるサイズは、512、1024、2048、4096、8192、16384、32768、および 65536 (64 KB) バイトです。テープ デバイスの場合の既定値は 65536 バイトで、他のデバイスの場合の既定値は 512 バイトです。
</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>バックアップ操作に使用される I/O バッファーの総数です。任意の正の整数値を指定できます。バッファー数が多いと 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>バックアップ操作中にチェックサム値を計算します。このパラメーターを設定しない場合、チェックサムは計算されません。
</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>バックアップ操作の圧縮オプションです。指定できるオプションは、Default、On、および Off です。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>チェックサム エラーが発生しても操作が続行されます。このパラメーターを設定しない場合、チェックサム エラーが発生すると操作が失敗します。
</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>バックアップがコピーのみのバックアップになります。コピーのみのバックアップは、定期的に行われる従来のバックアップの一連の作業には影響しません。
</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>バックアップする 1 つ以上のデータベース ファイルです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ操作の対象となるデータベース ファイル グループです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ操作の暗号化オプションです。
</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>バックアップ セットの有効期限が切れ、バックアップ データが有効と見なされなくなる日時です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。有効期限を過ぎた古いバックアップ セットは、後のバックアップで上書きできます。
</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>バックアップ操作の最初の手順としてテープをフォーマットします。ディスク バックアップには適用されません。
</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>差分バックアップを実行します。
</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>バックアップ操作に関連付けられているデバイスを初期化します。メディア上の既存のバックアップ セットを上書きすると、このバックアップはそのメディアでの最初のバックアップ セットになります。
</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>ログ バックアップの切り捨ての動作です。指定できるオプションは TruncateOnly、NoTruncate、または Truncate です。既定では 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>バックアップ メディアと SQL Server のインスタンス間で転送される最大バイト数です。有効値は 65536 バイト (64 KB) の倍数で、最大有効値は 4194304 バイト (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>バックアップ セットを含むメディアの説明です (省略可)。
</maml:para></maml: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>メディア セットの識別に使用する名前です。
</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>ミラー化されたバックアップで使用される BackupDeviceList オブジェクトの配列を指定します。
</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>このパラメーターを設定すると、ログの末尾がバックアップされません。データベースを復元しても、復元中の状態のままになります。このパラメーターを設定しないと、ログの末尾がバックアップされます。-BackupAction パラメーターを 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>バックアップの完了時に、テープ ドライブが終了位置で開いた状態になります。このパラメーターを設定しないと、操作の完了後、テープが巻き戻されます。ディスク バックアップまたは 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>このパラメーターを設定すると、バックアップを実行した Smo Backup オブジェクトが出力されます。
</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>部分的に完了したバックアップ操作の処理を続行します。このパラメーターを設定しない場合 (既定値)、中断されたバックアップ操作は、バックアップ セットの先頭から再開されます。
</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>バックアップ セットを上書きできるようになるまでの日数です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>テープ ヘッダーの読み取りをスキップします。
</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>SQL Server 資格情報オブジェクトには、認証情報が格納されます。これは、Windows Azure BLOB ストレージ サービス (URL) にバックアップする場合の必須パラメーターです。格納される認証情報には、Windows Azure ストレージ アカウントの名前および関連付けられているアクセス キー値が含まれます。このパラメーターは、ディスクまたはテープでは使用されません。SQL Server 資格情報の名前を指定することも、パイプラインを通じてオブジェクトを渡すこともできます。
</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>復旧中にロールバックされるコミットされていないトランザクションの格納に使用される UNDO ファイルの名前です。
</maml:para></maml: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>操作の終了後、テープ デバイスが巻き戻され、アンロードされます。このパラメーターを設定しない場合、テープ メディアの巻き戻しやアンロードは行われません。ディスク バックアップまたは 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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>バックアップするデータベースの名前です。-Database パラメーターは、-DatabaseObject パラメーターと共に使用できません。-Database
</maml:para><maml:para>パラメーターを指定したら、-Path、-InputObject、または -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>バックアップの場所とファイル名。これは省略可能なパラメーターです。このパラメーターが指定されていない場合、サーバーの既定のバックアップ場所で、完全バックアップおよびファイル バックアップでは "databasename.bak"、ログ バックアップでは "databasename.trn" という名前でバックアップが格納されます。このパラメーターは、BackupDevice パラメーターまたは 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>実行するバックアップ操作の種類です。有効なオプションは、Database、Files、または Log です。オプションの詳細は次のとおりです。
</maml:para><maml:para>Database: データベース内のすべてのデータ ファイルをバックアップします。
</maml:para><maml:para>Files: 指定されたデータ ファイルをバックアップします。DatabaseFile パラメーターまたは DatabaseFileGroup パラメーターを設定する必要があります。
</maml:para><maml:para>Log: トランザクション ログをバックアップします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupContainer</maml:name><maml:description><maml:para>バックアップが格納されるフォルダーまたは場所です。これは、ディスク上のフォルダーまたは Windows Azure BLOB コンテナーの URL です。このパラメーターは、特定のインスタンスの複数のデータベースをバックアップする場合に便利です。このパラメーターは、BackupDevice パラメーターと共に使用できません。BackupContainer パラメーターは、BackupFile パラメーターと共に使用できません。
</maml:para><maml:para>注: 場所を指定するために使用するパスは、スラッシュ (/) で終わる必要があります。
</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>バックアップが格納されるデバイスです。このパラメーターは、BackupFile パラメーターと共に使用できません。テープにバックアップする場合にこのパラメーターを使用します。
</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>バックアップ セットの説明です (省略可)。
</maml:para></maml: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>バックアップ セットの名前です。
</maml:para></maml: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>バックアップの物理ブロック サイズ (バイト単位) です。サポートされるサイズは、512、1024、2048、4096、8192、16384、32768、および 65536 (64 KB) バイトです。テープ デバイスの場合の既定値は 65536 バイトで、他のデバイスの場合の既定値は 512 バイトです。
</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>バックアップ操作に使用される I/O バッファーの総数です。任意の正の整数値を指定できます。バッファー数が多いと 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>バックアップ操作中にチェックサム値を計算します。このパラメーターを設定しない場合、チェックサムは計算されません。
</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>バックアップ操作の圧縮オプションです。指定できるオプションは、Default、On、および Off です。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ConnectionTimeout</maml:name><maml:description><maml:para>タイムアウト エラーが発生するまで、サーバーの接続を待機する秒数です。タイムアウト値には、0 ~ 65,534 の範囲の整数値を指定する必要があります。0 を指定した場合、接続の試行はタイムアウトしません。
</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>チェックサム エラーが発生しても操作が続行されます。このパラメーターを設定しない場合、チェックサム エラーが発生すると操作が失敗します。
</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>バックアップがコピーのみのバックアップになります。コピーのみのバックアップは、定期的に行われる従来のバックアップの一連の作業には影響しません。
</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>この操作の実行権限を持つ SQL Server ログインに資格情報を指定するために使用される PSCredential オブジェクトです。
 
これは、SQL Server の外部のリソースにアクセスする際に SQL Server が内部で使用する認証情報を格納するための SQL 資格情報オブジェクトとは異なります。
</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>バックアップする 1 つ以上のデータベース ファイルです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ操作の対象となるデータベース ファイル グループです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ操作の暗号化オプションです。
</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>バックアップ セットの有効期限が切れ、バックアップ データが有効と見なされなくなる日時です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。有効期限を過ぎた古いバックアップ セットは、後のバックアップで上書きできます。
</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>バックアップ操作の最初の手順としてテープをフォーマットします。ディスク バックアップには適用されません。
</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>差分バックアップを実行します。
</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>バックアップ操作に関連付けられているデバイスを初期化します。メディア上の既存のバックアップ セットを上書きすると、このバックアップはそのメディアでの最初のバックアップ セットになります。
</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>ログ バックアップの切り捨ての動作です。指定できるオプションは TruncateOnly、NoTruncate、または Truncate です。既定では 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>バックアップ メディアと SQL Server のインスタンス間で転送される最大バイト数です。有効値は 65536 バイト (64 KB) の倍数で、最大有効値は 4194304 バイト (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>バックアップ セットを含むメディアの説明です (省略可)。
</maml:para></maml: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>メディア セットの識別に使用する名前です。
</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>ミラー化されたバックアップで使用される BackupDeviceList オブジェクトの配列を指定します。
</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>このパラメーターを設定すると、ログの末尾がバックアップされません。データベースを復元しても、復元中の状態のままになります。このパラメーターを設定しないと、ログの末尾がバックアップされます。-BackupAction パラメーターを 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>バックアップの完了時に、テープ ドライブが終了位置で開いた状態になります。このパラメーターを設定しないと、操作の完了後、テープが巻き戻されます。ディスク バックアップまたは 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>このパラメーターを設定すると、バックアップを実行した Smo Backup オブジェクトが出力されます。
</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>部分的に完了したバックアップ操作の処理を続行します。このパラメーターを設定しない場合 (既定値)、中断されたバックアップ操作は、バックアップ セットの先頭から再開されます。
</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>バックアップ セットを上書きできるようになるまでの日数です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>テープ ヘッダーの読み取りをスキップします。
</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>SQL Server 資格情報オブジェクトには、認証情報が格納されます。これは、Windows Azure BLOB ストレージ サービス (URL) にバックアップする場合の必須パラメーターです。格納される認証情報には、Windows Azure ストレージ アカウントの名前および関連付けられているアクセス キー値が含まれます。このパラメーターは、ディスクまたはテープでは使用されません。SQL Server 資格情報の名前を指定することも、パイプラインを通じてオブジェクトを渡すこともできます。
</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>復旧中にロールバックされるコミットされていないトランザクションの格納に使用される UNDO ファイルの名前です。
</maml:para></maml: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>操作の終了後、テープ デバイスが巻き戻され、アンロードされます。このパラメーターを設定しない場合、テープ メディアの巻き戻しやアンロードは行われません。ディスク バックアップまたは 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>SQL Server のインスタンスの名前です。このサーバー インスタンスが、バックアップ操作の対象となります。
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>バックアップするデータベースの名前です。-Database パラメーターは、-DatabaseObject パラメーターと共に使用できません。-Database
</maml:para><maml:para>パラメーターを指定したら、-Path、-InputObject、または -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>バックアップの場所とファイル名。これは省略可能なパラメーターです。このパラメーターが指定されていない場合、サーバーの既定のバックアップ場所で、完全バックアップおよびファイル バックアップでは "databasename.bak"、ログ バックアップでは "databasename.trn" という名前でバックアップが格納されます。このパラメーターは、BackupDevice パラメーターまたは 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>実行するバックアップ操作の種類です。有効なオプションは、Database、Files、または Log です。オプションの詳細は次のとおりです。
</maml:para><maml:para>Database: データベース内のすべてのデータ ファイルをバックアップします。
</maml:para><maml:para>Files: 指定されたデータ ファイルをバックアップします。DatabaseFile パラメーターまたは DatabaseFileGroup パラメーターを設定する必要があります。
</maml:para><maml:para>Log: トランザクション ログをバックアップします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupContainer</maml:name><maml:description><maml:para>バックアップが格納されるフォルダーまたは場所です。これは、ディスク上のフォルダーまたは Windows Azure BLOB コンテナーの URL です。このパラメーターは、特定のインスタンスの複数のデータベースをバックアップする場合に便利です。このパラメーターは、BackupDevice パラメーターと共に使用できません。BackupContainer パラメーターは、BackupFile パラメーターと共に使用できません。
</maml:para><maml:para>注: 場所を指定するために使用するパスは、スラッシュ (/) で終わる必要があります。
</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>バックアップが格納されるデバイスです。このパラメーターは、BackupFile パラメーターと共に使用できません。テープにバックアップする場合にこのパラメーターを使用します。
</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>バックアップ セットの説明です (省略可)。
</maml:para></maml: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>バックアップ セットの名前です。
</maml:para></maml: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>バックアップの物理ブロック サイズ (バイト単位) です。サポートされるサイズは、512、1024、2048、4096、8192、16384、32768、および 65536 (64 KB) バイトです。テープ デバイスの場合の既定値は 65536 バイトで、他のデバイスの場合の既定値は 512 バイトです。
</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>バックアップ操作に使用される I/O バッファーの総数です。任意の正の整数値を指定できます。バッファー数が多いと 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>バックアップ操作中にチェックサム値を計算します。このパラメーターを設定しない場合、チェックサムは計算されません。
</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>バックアップ操作の圧縮オプションです。指定できるオプションは、Default、On、および Off です。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>チェックサム エラーが発生しても操作が続行されます。このパラメーターを設定しない場合、チェックサム エラーが発生すると操作が失敗します。
</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>バックアップがコピーのみのバックアップになります。コピーのみのバックアップは、定期的に行われる従来のバックアップの一連の作業には影響しません。
</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>バックアップする 1 つ以上のデータベース ファイルです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ操作の対象となるデータベース ファイル グループです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ操作の暗号化オプションです。
</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>バックアップ セットの有効期限が切れ、バックアップ データが有効と見なされなくなる日時です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。有効期限を過ぎた古いバックアップ セットは、後のバックアップで上書きできます。
</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>バックアップ操作の最初の手順としてテープをフォーマットします。ディスク バックアップには適用されません。
</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>差分バックアップを実行します。
</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>バックアップ操作に関連付けられているデバイスを初期化します。メディア上の既存のバックアップ セットを上書きすると、このバックアップはそのメディアでの最初のバックアップ セットになります。
</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>ログ バックアップの切り捨ての動作です。指定できるオプションは TruncateOnly、NoTruncate、または Truncate です。既定では 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>バックアップ メディアと SQL Server のインスタンス間で転送される最大バイト数です。有効値は 65536 バイト (64 KB) の倍数で、最大有効値は 4194304 バイト (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>バックアップ セットを含むメディアの説明です (省略可)。
</maml:para></maml: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>メディア セットの識別に使用する名前です。
</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>ミラー化されたバックアップで使用される BackupDeviceList オブジェクトの配列を指定します。
</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>このパラメーターを設定すると、ログの末尾がバックアップされません。データベースを復元しても、復元中の状態のままになります。このパラメーターを設定しないと、ログの末尾がバックアップされます。-BackupAction パラメーターを 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>バックアップの完了時に、テープ ドライブが終了位置で開いた状態になります。このパラメーターを設定しないと、操作の完了後、テープが巻き戻されます。ディスク バックアップまたは 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>このパラメーターを設定すると、バックアップを実行した Smo Backup オブジェクトが出力されます。
</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>部分的に完了したバックアップ操作の処理を続行します。このパラメーターを設定しない場合 (既定値)、中断されたバックアップ操作は、バックアップ セットの先頭から再開されます。
</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>バックアップ セットを上書きできるようになるまでの日数です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>テープ ヘッダーの読み取りをスキップします。
</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>SQL Server 資格情報オブジェクトには、認証情報が格納されます。これは、Windows Azure BLOB ストレージ サービス (URL) にバックアップする場合の必須パラメーターです。格納される認証情報には、Windows Azure ストレージ アカウントの名前および関連付けられているアクセス キー値が含まれます。このパラメーターは、ディスクまたはテープでは使用されません。SQL Server 資格情報の名前を指定することも、パイプラインを通じてオブジェクトを渡すこともできます。
</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>復旧中にロールバックされるコミットされていないトランザクションの格納に使用される UNDO ファイルの名前です。
</maml:para></maml: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>操作の終了後、テープ デバイスが巻き戻され、アンロードされます。このパラメーターを設定しない場合、テープ メディアの巻き戻しやアンロードは行われません。ディスク バックアップまたは 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>バックアップを実行する必要がある場所の 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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>バックアップの場所とファイル名。これは省略可能なパラメーターです。このパラメーターが指定されていない場合、サーバーの既定のバックアップ場所で、完全バックアップおよびファイル バックアップでは "databasename.bak"、ログ バックアップでは "databasename.trn" という名前でバックアップが格納されます。このパラメーターは、BackupDevice パラメーターまたは 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>実行するバックアップ操作の種類です。有効なオプションは、Database、Files、または Log です。オプションの詳細は次のとおりです。
</maml:para><maml:para>Database: データベース内のすべてのデータ ファイルをバックアップします。
</maml:para><maml:para>Files: 指定されたデータ ファイルをバックアップします。DatabaseFile パラメーターまたは DatabaseFileGroup パラメーターを設定する必要があります。
</maml:para><maml:para>Log: トランザクション ログをバックアップします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>BackupContainer</maml:name><maml:description><maml:para>バックアップが格納されるフォルダーまたは場所です。これは、ディスク上のフォルダーまたは Windows Azure BLOB コンテナーの URL です。このパラメーターは、特定のインスタンスの複数のデータベースをバックアップする場合に便利です。このパラメーターは、BackupDevice パラメーターと共に使用できません。BackupContainer パラメーターは、BackupFile パラメーターと共に使用できません。
</maml:para><maml:para>注: 場所を指定するために使用するパスは、スラッシュ (/) で終わる必要があります。
</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>バックアップが格納されるデバイスです。このパラメーターは、BackupFile パラメーターと共に使用できません。テープにバックアップする場合にこのパラメーターを使用します。
</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>バックアップ セットの説明です (省略可)。
</maml:para></maml: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>バックアップ セットの名前です。
</maml:para></maml: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>バックアップの物理ブロック サイズ (バイト単位) です。サポートされるサイズは、512、1024、2048、4096、8192、16384、32768、および 65536 (64 KB) バイトです。テープ デバイスの場合の既定値は 65536 バイトで、他のデバイスの場合の既定値は 512 バイトです。
</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>バックアップ操作に使用される I/O バッファーの総数です。任意の正の整数値を指定できます。バッファー数が多いと 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>バックアップ操作中にチェックサム値を計算します。このパラメーターを設定しない場合、チェックサムは計算されません。
</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>バックアップ操作の圧縮オプションです。指定できるオプションは、Default、On、および Off です。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ContinueAfterError</maml:name><maml:description><maml:para>チェックサム エラーが発生しても操作が続行されます。このパラメーターを設定しない場合、チェックサム エラーが発生すると操作が失敗します。
</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>バックアップがコピーのみのバックアップになります。コピーのみのバックアップは、定期的に行われる従来のバックアップの一連の作業には影響しません。
</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>バックアップする 1 つ以上のデータベース ファイルです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ操作の対象となるデータベース ファイル グループです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ操作の暗号化オプションです。
</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>バックアップ セットの有効期限が切れ、バックアップ データが有効と見なされなくなる日時です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。有効期限を過ぎた古いバックアップ セットは、後のバックアップで上書きできます。
</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>バックアップ操作の最初の手順としてテープをフォーマットします。ディスク バックアップには適用されません。
</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>差分バックアップを実行します。
</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>バックアップ操作に関連付けられているデバイスを初期化します。メディア上の既存のバックアップ セットを上書きすると、このバックアップはそのメディアでの最初のバックアップ セットになります。
</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>ログ バックアップの切り捨ての動作です。指定できるオプションは TruncateOnly、NoTruncate、または Truncate です。既定では 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>バックアップ メディアと SQL Server のインスタンス間で転送される最大バイト数です。有効値は 65536 バイト (64 KB) の倍数で、最大有効値は 4194304 バイト (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>バックアップ セットを含むメディアの説明です (省略可)。
</maml:para></maml: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>メディア セットの識別に使用する名前です。
</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>ミラー化されたバックアップで使用される BackupDeviceList オブジェクトの配列を指定します。
</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>このパラメーターを設定すると、ログの末尾がバックアップされません。データベースを復元しても、復元中の状態のままになります。このパラメーターを設定しないと、ログの末尾がバックアップされます。-BackupAction パラメーターを 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>バックアップの完了時に、テープ ドライブが終了位置で開いた状態になります。このパラメーターを設定しないと、操作の完了後、テープが巻き戻されます。ディスク バックアップまたは 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>このパラメーターを設定すると、バックアップを実行した Smo Backup オブジェクトが出力されます。
</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>部分的に完了したバックアップ操作の処理を続行します。このパラメーターを設定しない場合 (既定値)、中断されたバックアップ操作は、バックアップ セットの先頭から再開されます。
</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>バックアップ セットを上書きできるようになるまでの日数です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>テープ ヘッダーの読み取りをスキップします。
</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>SQL Server 資格情報オブジェクトには、認証情報が格納されます。これは、Windows Azure BLOB ストレージ サービス (URL) にバックアップする場合の必須パラメーターです。格納される認証情報には、Windows Azure ストレージ アカウントの名前および関連付けられているアクセス キー値が含まれます。このパラメーターは、ディスクまたはテープでは使用されません。SQL Server 資格情報の名前を指定することも、パイプラインを通じてオブジェクトを渡すこともできます。
</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>復旧中にロールバックされるコミットされていないトランザクションの格納に使用される UNDO ファイルの名前です。
</maml:para></maml: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>操作の終了後、テープ デバイスが巻き戻され、アンロードされます。このパラメーターを設定しない場合、テープ メディアの巻き戻しやアンロードは行われません。ディスク バックアップまたは 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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>実行するバックアップ操作の種類です。有効なオプションは、Database、Files、または Log です。オプションの詳細は次のとおりです。
</maml:para><maml:para>Database: データベース内のすべてのデータ ファイルをバックアップします。
</maml:para><maml:para>Files: 指定されたデータ ファイルをバックアップします。DatabaseFile パラメーターまたは DatabaseFileGroup パラメーターを設定する必要があります。
</maml:para><maml:para>Log: トランザクション ログをバックアップします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupActionType</command:parameterValue><dev:type><maml:name>BackupActionType</maml:name><maml:uri /></dev:type><dev:defaultValue>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>バックアップが格納されるフォルダーまたは場所です。これは、ディスク上のフォルダーまたは Windows Azure BLOB コンテナーの URL です。このパラメーターは、特定のインスタンスの複数のデータベースをバックアップする場合に便利です。このパラメーターは、BackupDevice パラメーターと共に使用できません。BackupContainer パラメーターは、BackupFile パラメーターと共に使用できません。
</maml:para><maml:para>注: 場所を指定するために使用するパスは、スラッシュ (/) で終わる必要があります。
</maml:para></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>バックアップが格納されるデバイスです。このパラメーターは、BackupFile パラメーターと共に使用できません。テープにバックアップする場合にこのパラメーターを使用します。
</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>バックアップの場所とファイル名。これは省略可能なパラメーターです。このパラメーターが指定されていない場合、サーバーの既定のバックアップ場所で、完全バックアップおよびファイル バックアップでは "databasename.bak"、ログ バックアップでは "databasename.trn" という名前でバックアップが格納されます。このパラメーターは、BackupDevice パラメーターまたは 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>バックアップ セットの説明です (省略可)。
</maml:para></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>バックアップ セットの名前です。
</maml:para></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>バックアップの物理ブロック サイズ (バイト単位) です。サポートされるサイズは、512、1024、2048、4096、8192、16384、32768、および 65536 (64 KB) バイトです。テープ デバイスの場合の既定値は 65536 バイトで、他のデバイスの場合の既定値は 512 バイトです。
</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>バックアップ操作に使用される I/O バッファーの総数です。任意の正の整数値を指定できます。バッファー数が多いと 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>バックアップ操作中にチェックサム値を計算します。このパラメーターを設定しない場合、チェックサムは計算されません。
</maml:para></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>バックアップ操作の圧縮オプションです。指定できるオプションは、Default、On、および Off です。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupCompressionOptions</command:parameterValue><dev:type><maml:name>BackupCompressionOptions</maml:name><maml:uri /></dev:type><dev:defaultValue>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>タイムアウト エラーが発生するまで、サーバーの接続を待機する秒数です。タイムアウト値には、0 ~ 65,534 の範囲の整数値を指定する必要があります。0 を指定した場合、接続の試行はタイムアウトしません。
</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>チェックサム エラーが発生しても操作が続行されます。このパラメーターを設定しない場合、チェックサム エラーが発生すると操作が失敗します。
</maml:para></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>バックアップがコピーのみのバックアップになります。コピーのみのバックアップは、定期的に行われる従来のバックアップの一連の作業には影響しません。
</maml:para></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>この操作の実行権限を持つ SQL Server ログインに資格情報を指定するために使用される PSCredential オブジェクトです。
 
これは、SQL Server の外部のリソースにアクセスする際に SQL Server が内部で使用する認証情報を格納するための SQL 資格情報オブジェクトとは異なります。
</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>バックアップするデータベースの名前です。-Database パラメーターは、-DatabaseObject パラメーターと共に使用できません。-Database
</maml:para><maml:para>パラメーターを指定したら、-Path、-InputObject、または -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>バックアップする 1 つ以上のデータベース ファイルです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ操作の対象となるデータベース ファイル グループです。BackupAction プロパティが Files に設定されている場合にのみ使用します。BackupAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>データベース オブジェクトです。バックアップ操作は、このデータベースで実行されます。
</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>バックアップ操作の暗号化オプションです。
</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>バックアップ セットの有効期限が切れ、バックアップ データが有効と見なされなくなる日時です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。有効期限を過ぎた古いバックアップ セットは、後のバックアップで上書きできます。
</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>バックアップ操作の最初の手順としてテープをフォーマットします。ディスク バックアップには適用されません。
</maml:para></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>差分バックアップを実行します。
</maml:para></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>バックアップ操作に関連付けられているデバイスを初期化します。メディア上の既存のバックアップ セットを上書きすると、このバックアップはそのメディアでの最初のバックアップ セットになります。
</maml:para></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>バックアップを実行する必要がある場所の 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>LogTruncationType</maml:name><maml:description><maml:para>ログ バックアップの切り捨ての動作です。指定できるオプションは TruncateOnly、NoTruncate、または Truncate です。既定では 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>バックアップ メディアと SQL Server のインスタンス間で転送される最大バイト数です。有効値は 65536 バイト (64 KB) の倍数で、最大有効値は 4194304 バイト (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>バックアップ セットを含むメディアの説明です (省略可)。
</maml:para></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>メディア セットの識別に使用する名前です。
</maml:para></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>ミラー化されたバックアップで使用される BackupDeviceList オブジェクトの配列を指定します。
</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>このパラメーターを設定すると、ログの末尾がバックアップされません。データベースを復元しても、復元中の状態のままになります。このパラメーターを設定しないと、ログの末尾がバックアップされます。-BackupAction パラメーターを 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>バックアップの完了時に、テープ ドライブが終了位置で開いた状態になります。このパラメーターを設定しないと、操作の完了後、テープが巻き戻されます。ディスク バックアップまたは 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>このパラメーターを設定すると、バックアップを実行した Smo Backup オブジェクトが出力されます。
</maml:para></maml:description><command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue><dev:type><maml:name>SwitchParameter</maml:name><maml:uri /></dev:type><dev:defaultValue></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>バックアップ操作を実行する SQL Server のインスタンスのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>部分的に完了したバックアップ操作の処理を続行します。このパラメーターを設定しない場合 (既定値)、中断されたバックアップ操作は、バックアップ セットの先頭から再開されます。
</maml:para></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>バックアップ セットを上書きできるようになるまでの日数です。ディスクまたはテープ デバイスに格納されたバックアップ データに対してのみ使用できます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>SQL Server のインスタンスの名前です。このサーバー インスタンスが、バックアップ操作の対象となります。
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>テープ ヘッダーの読み取りをスキップします。
</maml:para></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>SQL Server 資格情報オブジェクトには、認証情報が格納されます。これは、Windows Azure BLOB ストレージ サービス (URL) にバックアップする場合の必須パラメーターです。格納される認証情報には、Windows Azure ストレージ アカウントの名前および関連付けられているアクセス キー値が含まれます。このパラメーターは、ディスクまたはテープでは使用されません。SQL Server 資格情報の名前を指定することも、パイプラインを通じてオブジェクトを渡すこともできます。
</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>復旧中にロールバックされるコミットされていないトランザクションの格納に使用される UNDO ファイルの名前です。
</maml:para></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>操作の終了後、テープ デバイスが巻き戻され、アンロードされます。このパラメーターを設定しない場合、テープ メディアの巻き戻しやアンロードは行われません。ディスク バックアップまたは 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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
バックアップ操作を実行する SQL Server のインスタンスを参照する SMO.Server オブジェクトです。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、サーバー インスタンス "Computer\Instance" の既定のバックアップ場所に、データベース "MyDB" のデータベース全体のバックアップを作成します。バックアップ ファイルの名前は "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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、サーバー インスタンス "Computer\Instance" の既定のバックアップ場所に、データベース "MyDB" のデータベース全体のバックアップを作成します。現在の作業ディレクトリを使用して、バックアップが実行されるサーバー インスタンスを確認します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、サーバー インスタンス "Computer\Instance" の既定のバックアップ場所に、データベース "MyDB" のトランザクション ログのバックアップを作成します。バックアップ ファイル名は "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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、sa SQL Server ログインを使用して、データベース "MyDB" のデータベース全体のバックアップを作成します。このコマンドは、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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、ファイル "\\share\folder\MyDB.bak" にデータベース "MyDB" のデータベース全体のバックアップを作成します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、サーバー インスタンス "Computer\Instance" 上のすべてのデータベースを既定のバックアップの場所にバックアップします。バックアップ ファイル名は "&lt;database name&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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このスクリプトでは、サーバー インスタンス "Computer\Instance" 上の各データベースの完全バックアップを共有 "\\share\folder" に作成します。バックアップ ファイル名は "&lt;database name&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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、セカンダリ ファイル グループ "FileGroup1" と "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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、サーバー インスタンス "Computer\Instance" の既定のバックアップ場所に、データベース "MyDB" の差分バックアップを作成します。バックアップ ファイル名は "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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、テープ デバイス "\\.\tape0" にデータベース "MyDB" の完全バックアップを作成します。このコマンドでは、このデバイスを表すために、Microsoft.Sqlserver.Management.Smo.BackupDeviceItem のインスタンスを作成しています。このコンストラクターは、バックアップ デバイスの名前 ("\\.\tape0") とバックアップ デバイスの種類 ("Tape") を指定する 2 つの引数を受け取ります。この BackupDeviceItem オブジェクトが Backup-SqlDatabase コマンドレットの -BackupDevice パラメーターに渡されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、Windows Azure BLOB ストレージ サービスにデータベース "MyDB" の完全バックアップを作成します。これは BackupContainer を使用して Windows Azure BLOB コンテナーの場所 (URL) を指定します。また、バックアップ ファイルの名前は自動生成されます。認証情報を格納する SQL Server 資格情報の名前を指定するには、SqlCredential パラメーターを使用します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、Windows Azure BLOB ストレージ サービスにデータベース "MyDB" の完全バックアップを作成します。これは、BackupFile パラメーターを使用して場所 (URL) とバックアップ ファイル名を指定します。SQL Server 資格情報の名前を指定するには、SqlCredential パラメーターを使用します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、BackupContainer パラメーターを使用して、サーバー インスタンス "Computer\Instance" 上のすべてのデータベースを Windows Azure BLOB ストレージ サービスの場所にバックアップします。バックアップ ファイル名は自動生成されます。
</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>この例では、暗号化オプションを作成し、それを Backup-SqlDatabase のパラメーター値として使用して暗号化されたバックアップを作成します。</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>Path、InputObject、または ServerInstance パラメーターで指定された SQL Server のインスタンスの AlwaysOn 可用性グループ機能を無効にします。</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>Disable-SqlAlwaysOn コマンドレットは、SQL Server のインスタンスの AlwaysOn 可用性グループ機能を無効にします。SQL Server サービスの実行中に AlwaysOn 可用性グループを無効にした場合は、変更を完了させるために、データベース エンジン サービスを再起動する必要があります。-Force パラメーターを指定しない限り、サービスを再起動するかどうかを確認するメッセージが表示されます。キャンセルすると、操作は実行されません。
</maml:para><maml:para>AlwaysOn 可用性グループが既に無効になっている場合、このコマンドレットでは何も実行されません。
</maml:para><maml:para>このコマンドレットはリモート サービスに対して実行できます。このコマンドレットを実行するには、管理者権限が必要です。
</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>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>Credential</maml:name><maml:description><maml:para>指定した SQL Server のインスタンスの AlwaysOn 設定を変更する権限が与えられている Windows 資格情報です。
</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>ユーザーに確認を求めずにコマンドレットの実行を強制的に続行するには、-Force を指定します。スクリプトの作成を許可するために、このパラメーターを指定しています。
</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>SQL Server サービスの再起動を促すメッセージを表示しません。変更を有効にするには、手動で SQL Server サービスを再起動する必要があります。このパラメーターを設定した場合、-Force は無視されます。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>AlwaysOn 可用性グループ設定を無効にする SQL Server のインスタンスの Server オブジェクトです。
</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>指定した SQL Server のインスタンスの AlwaysOn 設定を変更する権限が与えられている Windows 資格情報です。
</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>ユーザーに確認を求めずにコマンドレットの実行を強制的に続行するには、-Force を指定します。スクリプトの作成を許可するために、このパラメーターを指定しています。
</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>SQL Server サービスの再起動を促すメッセージを表示しません。変更を有効にするには、手動で SQL Server サービスを再起動する必要があります。このパラメーターを設定した場合、-Force は無視されます。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>指定した SQL Server のインスタンスの AlwaysOn 設定を変更する権限が与えられている Windows 資格情報です。
</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>ユーザーに確認を求めずにコマンドレットの実行を強制的に続行するには、-Force を指定します。スクリプトの作成を許可するために、このパラメーターを指定しています。
</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>SQL Server サービスの再起動を促すメッセージを表示しません。変更を有効にするには、手動で SQL Server サービスを再起動する必要があります。このパラメーターを設定した場合、-Force は無視されます。
</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>AlwaysOn を無効にする SQL Server のインスタンスの名前です。MACHINENAME\INSTANCE という形式で指定する必要があります。リモート サーバーの AlwaysOn 設定を変更する場合は、-Credential パラメーターと一緒に使用します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>指定した SQL Server のインスタンスの AlwaysOn 設定を変更する権限が与えられている Windows 資格情報です。
</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>ユーザーに確認を求めずにコマンドレットの実行を強制的に続行するには、-Force を指定します。スクリプトの作成を許可するために、このパラメーターを指定しています。
</maml:para></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>AlwaysOn 可用性グループ設定を無効にする SQL Server のインスタンスの Server オブジェクトです。
</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>SQL Server サービスの再起動を促すメッセージを表示しません。変更を有効にするには、手動で SQL Server サービスを再起動する必要があります。このパラメーターを設定した場合、-Force は無視されます。
</maml:para></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>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="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>AlwaysOn を無効にする SQL Server のインスタンスの名前です。MACHINENAME\INSTANCE という形式で指定する必要があります。リモート サーバーの AlwaysOn 設定を変更する場合は、-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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
AlwaysOn を無効にする SQL Server のインスタンスを参照する SMO.Server オブジェクトです。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、指定されたパスにある SQL Server のインスタンスの AlwaysOn 可用性グループを無効にします。このコマンドの場合、サーバー インスタンスを再起動する必要があり、再起動するかどうかを確認するメッセージが表示されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、指定されたパスにある SQL Server のインスタンスの AlwaysOn 可用性グループを無効にします。-Force オプションにより、確認なしでサーバー インスタンスが再起動されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"Computer\Instance" という名前の SQL Server のインスタンスの AlwaysOn 可用性グループを無効にします。このコマンドの場合、インスタンスを再起動する必要があり、再起動するかどうかを確認するメッセージが表示されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、Windows 認証を使用して、"Computer\Instance" という名前の SQL Server のインスタンスの AlwaysOn 可用性グループを無効にします。指定したアカウント "DOMAIN\Username" のパスワードを入力するように求められます。この変更ではインスタンスを再起動する必要があり、再起動するかどうかを確認するメッセージも表示されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、指定されたパスにある SQL Server のインスタンスの AlwaysOn 可用性グループを無効にします。ただし、インスタンスは再起動されません。変更を有効にするには、このサーバー インスタンスを手動で再起動する必要があります。
</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>Path、InputObject、または ServerInstance パラメーターで指定された SQL Server のインスタンスの AlwaysOn 可用性グループ機能を有効にします。</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>Enable-SqlAlwaysOn コマンドレットは、SQL Server のインスタンスの AlwaysOn を有効にします。SQL Server サービスの実行中に AlwaysOn 可用性グループを有効にした場合は、変更を完了させるために、データベース エンジン サービスを再起動する必要があります。-Force パラメーターを指定しない限り、サービスを再起動するかどうかを確認するメッセージが表示されます。キャンセルすると、操作は実行されません。
</maml:para><maml:para>AlwaysOn 可用性グループが既に有効になっている場合、このコマンドレットでは何も実行されません。
</maml:para><maml:para>このコマンドレットはリモート サービスに対して実行できます。このコマンドレットを実行するには、管理者権限が必要です。
</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>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>Credential</maml:name><maml:description><maml:para>AlwaysOn を有効にする SQL Server のインスタンスの名前です。MACHINENAME\INSTANCE という形式で指定する必要があります。リモート サーバーの AlwaysOn 設定を変更する場合は、-Credential パラメーターと一緒に使用します。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>ユーザーに確認を求めずにコマンドレットの実行を強制的に続行するには、-Force を指定します。スクリプトの作成を許可するために、このパラメーターを指定しています。
</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>SQL Server サービスの再起動を促すメッセージを表示しません。変更を有効にするには、手動で SQL Server サービスを再起動する必要があります。このパラメーターを設定した場合、-Force は無視されます。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>AlwaysOn 可用性グループ設定を有効にする SQL Server のインスタンスの Server オブジェクトです。
</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>AlwaysOn を有効にする SQL Server のインスタンスの名前です。MACHINENAME\INSTANCE という形式で指定する必要があります。リモート サーバーの AlwaysOn 設定を変更する場合は、-Credential パラメーターと一緒に使用します。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>ユーザーに確認を求めずにコマンドレットの実行を強制的に続行するには、-Force を指定します。スクリプトの作成を許可するために、このパラメーターを指定しています。
</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>SQL Server サービスの再起動を促すメッセージを表示しません。変更を有効にするには、手動で SQL Server サービスを再起動する必要があります。このパラメーターを設定した場合、-Force は無視されます。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>AlwaysOn を有効にする SQL Server のインスタンスの名前です。MACHINENAME\INSTANCE という形式で指定する必要があります。リモート サーバーの AlwaysOn 設定を変更する場合は、-Credential パラメーターと一緒に使用します。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Force</maml:name><maml:description><maml:para>ユーザーに確認を求めずにコマンドレットの実行を強制的に続行するには、-Force を指定します。スクリプトの作成を許可するために、このパラメーターを指定しています。
</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>SQL Server サービスの再起動を促すメッセージを表示しません。変更を有効にするには、手動で SQL Server サービスを再起動する必要があります。このパラメーターを設定した場合、-Force は無視されます。
</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>AlwaysOn を有効にする SQL Server のインスタンスの名前です。MACHINENAME\INSTANCE という形式で指定する必要があります。リモート サーバーの AlwaysOn 設定を変更する場合は、-Credential パラメーターと一緒に使用します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>AlwaysOn を有効にする SQL Server のインスタンスの名前です。MACHINENAME\INSTANCE という形式で指定する必要があります。リモート サーバーの AlwaysOn 設定を変更する場合は、-Credential パラメーターと一緒に使用します。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue><dev:type><maml:name>PSCredential</maml:name><maml:uri /></dev:type><dev:defaultValue></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>ユーザーに確認を求めずにコマンドレットの実行を強制的に続行するには、-Force を指定します。スクリプトの作成を許可するために、このパラメーターを指定しています。
</maml:para></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>AlwaysOn 可用性グループ設定を有効にする SQL Server のインスタンスの Server オブジェクトです。
</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>SQL Server サービスの再起動を促すメッセージを表示しません。変更を有効にするには、手動で SQL Server サービスを再起動する必要があります。このパラメーターを設定した場合、-Force は無視されます。
</maml:para></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>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="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ServerInstance</maml:name><maml:description><maml:para>AlwaysOn を有効にする SQL Server のインスタンスの名前です。MACHINENAME\INSTANCE という形式で指定する必要があります。リモート サーバーの AlwaysOn 設定を変更する場合は、-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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
AlwaysOn を有効にする SQL Server のインスタンスを参照する SMO.Server オブジェクトです。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、指定されたパスにある SQL Server のインスタンスの AlwaysOn 可用性グループを有効にします。この変更ではインスタンスを再起動する必要があり、再起動するかどうかを確認するメッセージが表示されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、指定されたパスにある SQL Server のインスタンスの AlwaysOn 可用性グループを有効にします。-Force オプションにより、確認なしでサーバー インスタンスが再起動されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、"Computer\Instance" という名前の SQL Server のインスタンスで AlwaysOn 可用性グループを有効にします。この変更ではインスタンスを再起動する必要があり、再起動するかどうかを確認するメッセージが表示されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、Windows 認証を使用して、"Computer\Instance" という名前の SQL Server のインスタンスで AlwaysOn 可用性グループを有効にします。指定したアカウントのパスワードを入力するように求められます。この変更ではインスタンスを再起動する必要があり、再起動するかどうかを確認するメッセージも表示されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、指定されたパスにある SQL Server のインスタンスで AlwaysOn 可用性グループを有効にします。ただし、インスタンスは再起動されません。変更を有効にするには、このサーバー インスタンスを手動で再起動する必要があります。
</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>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>Get-SqlCredential は、SQL 資格情報オブジェクトを返します。
</maml:para><maml:para>このコマンドレットでは、SQL 資格情報の名前を返す、次の操作モードがサポートされます。
 
1.SQL 資格情報の名前とインスタンスのパスを指定する。
 
2.SQL 資格情報の名前とサーバー オブジェクトを指定する。
</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>資格情報の名前。
</maml:para></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>操作を実行する 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>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>資格情報の名前。
</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>資格情報が格納されている 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>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>資格情報が格納されている 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="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>資格情報の名前。
</maml:para></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>操作を実行する 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>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは資格情報オブジェクトを返します。
</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>SQL Server のターゲット インスタンスに存在するデータベースごとに、SQL データベース オブジェクトを返します。</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>SQL Server のターゲット インスタンスに存在するデータベースごとに、SQL データベース オブジェクトを返します。データベースの名前が提供されている場合、コマンドレットはこの特定のデータベース オブジェクトだけを返します。</maml:para><maml:para>このコマンドレットでは、SQL データベース オブジェクトを返す、次の操作モードがサポートされます。</maml:para><maml:para>1.インスタンスの PowerShell パスを指定する。</maml:para><maml:para>2.サーバー オブジェクトを指定する。</maml:para><maml:para>3.SQL Server のターゲット インスタンスの ServerInstance を指定する。</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>取得するデータベースの名前です。</maml:para></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>操作を実行する 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>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを生成します。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>取得するデータベースの名前です。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>ConnectionTimeout</maml:name><maml:description><maml:para>タイムアウト エラーが発生するまで、SQL Server の接続を待機する秒数です。タイムアウト値には、0 ~ 65,534 の範囲の整数値を指定する必要があります。0 を指定した場合、接続の試行はタイムアウトしません。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを生成します。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>取得するデータベースの名前です。</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>ターゲット インスタンスのサーバー オブジェクトです。</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを生成します。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>タイムアウト エラーが発生するまで、SQL Server の接続を待機する秒数です。タイムアウト値には、0 ~ 65,534 の範囲の整数値を指定する必要があります。0 を指定した場合、接続の試行はタイムアウトしません。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>ターゲット インスタンスのサーバー オブジェクトです。</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>取得するデータベースの名前です。</maml:para></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>操作を実行する 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>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを生成します。</maml:para></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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは、サーバー インスタンス "Computer\Instance" のデータベース "DbName" のデータベース オブジェクトを返します。現在の作業ディレクトリを使用して、操作が実行されるサーバー インスタンスを確認します。</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>対象のコンピューターに存在する SQL Server のインスタンスごとに、SQL インスタンス オブジェクトを返します。</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>対象のコンピューターに存在する SQL Server のインスタンスごとに、SQL インスタンス オブジェクトを返します。SQL Server のインスタンスの名前が提供されている場合、コマンドレットは SQL Server のこの特定のインスタンスだけを返します。</maml:para><maml:para>SQL Server クラウド アダプターが、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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>対象コンピューターの名前です。</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>対象のコンピューターの SQL Server の特定のインスタンスを取得するときは、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>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>コマンドレットが、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="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>対象コンピューターの名前です。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>対象のコンピューターの SQL Server の特定のインスタンスを取得するときは、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>RetryTimeout</maml:name><maml:description><maml:para>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは、コンピューター "MachineName" 上の SQL Server インスタンス "InstanceName" を取得します。対象コンピューターの自己署名証明書は、ユーザーに問い合わせることなく自動的に受け入れられます。</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>SQL Smart Admin オブジェクトとそのプロパティを取得します。</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>Get-SqlSmartAdmin コマンドレットは、SQL Smart Admin オブジェクトを取得します。Smart Admin オブジェクトには、Windows Azure への SQL Server マネージ バックアップの構成設定が含まれます。このコマンドレットでは、オブジェクトを返す、次の操作モードがサポートされます。
 
 1. –name パラメーターを使用してサーバー インスタンスの名前を渡します。既定のインスタンスの場合は、コンピューター名のみを指定します。名前付きインスタンスの場合は、"computername\instancename" を使用します。
 
 2.SQL Server のインスタンスのパスを -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>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>Name</maml:name><maml:description><maml:para>SQL Server のインスタンスの名前です ("Computer\Instance" の形式)。</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。</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>SQL Server のインスタンスの名前です。既定のインスタンスの場合は、コンピューター名 "MyComputer" のみを指定します。名前付きインスタンスの場合は、"ComputerName\InstanceName" 形式を使用します。–name パラメーターと –ServerInstance のどちらを使用してもインスタンスの名前を指定できますが、–ServerInstance は Server インスタンス名のパイプライン入力 (SqlInstanceInfo オブジェクト) も受け取ります。SqlInstanceInfo オブジェクトは、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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>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>SQL Server のインスタンスの名前です ("Computer\Instance" の形式)。</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。</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>SQL Server のインスタンスの名前です。既定のインスタンスの場合は、コンピューター名 "MyComputer" のみを指定します。名前付きインスタンスの場合は、"ComputerName\InstanceName" 形式を使用します。–name パラメーターと –ServerInstance のどちらを使用してもインスタンスの名前を指定できますが、–ServerInstance は Server インスタンス名のパイプライン入力 (SqlInstanceInfo オブジェクト) も受け取ります。SqlInstanceInfo オブジェクトは、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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>SQL Server のインスタンスの名前です ("Computer\Instance" の形式)。</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。</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>SQL Server のインスタンスの名前です。既定のインスタンスの場合は、コンピューター名 "MyComputer" のみを指定します。名前付きインスタンスの場合は、"ComputerName\InstanceName" 形式を使用します。–name パラメーターと –ServerInstance のどちらを使用してもインスタンスの名前を指定できますが、–ServerInstance は Server インスタンス名のパイプライン入力 (SqlInstanceInfo オブジェクト) も受け取ります。SqlInstanceInfo オブジェクトは、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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>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>SQL Server のインスタンスの名前です ("Computer\Instance" の形式)。</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue><dev:type><maml:name>String</maml:name><maml:uri /></dev:type><dev:defaultValue></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>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>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。</maml:para></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>SQL Server のインスタンスの名前です。既定のインスタンスの場合は、コンピューター名 "MyComputer" のみを指定します。名前付きインスタンスの場合は、"ComputerName\InstanceName" 形式を使用します。–name パラメーターと –ServerInstance のどちらを使用してもインスタンスの名前を指定できますが、–ServerInstance は Server インスタンス名のパイプライン入力 (SqlInstanceInfo オブジェクト) も受け取ります。SqlInstanceInfo オブジェクトは、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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは、名前付き SQL Server インスタンス "MyInstance" の Smart Admin オブジェクト プロパティを取得します。</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>このコマンドは、-serverName パラメーターを使用して Smart Admin オブジェクト プロパティを取得します。</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>対象セットに対して SQL Server のポリシー ベースの管理のポリシーを 1 つ以上評価し、セットの準拠レベルを報告するか、セットが準拠するようにします。</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>対象セットという SQL Server オブジェクトのセットに対し、ポリシー ベースの管理ポリシーを 1 つ以上評価します。ポリシーは、データベース名または照合順序についてサイトの標準を確立するなど、SQL Server オブジェクトに関連付けられているさまざまなプロパティに許容値を指定します。Invoke-PolicyEvaluation をチェック モードで実行すると、対象セット内のオブジェクトの現在のプロパティがポリシーの定義にあるルールに準拠しているかどうかが報告されます。対象セット内のオブジェクトは、そのプロパティがポリシーに準拠していない場合でも再構成されません。構成モードでは、ポリシーの定義に準拠していない、対象セット内のオブジェクトが Invoke-PolicyEvaluation によって再構成されます。
</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>評価する 1 つまたは複数のポリシーを指定します。ポリシーは、SQL Server データベース エンジンのインスタンスに格納されるか、エクスポートされた XML ファイルとして格納されます。データベース エンジンのインスタンスに格納されているポリシーの場合、SQLSERVER:\SQLPolicy フォルダーに基づくパスを使用してポリシーの場所を指定します。XML ファイルとして格納されているポリシーの場合、ファイル システム パスを使用してポリシーをその場所に指定します。
</maml:para><maml:para>-Policy は、評価する 1 つ以上のポリシーの名前を示す文字列を取得できます。文字列で指定されたファイルまたはポリシーの名前が 1 つだけの場合、Invoke-PolicyEvaluation では、現在のパスの設定が使用されます。データベース エンジンのインスタンスに格納されているポリシーの場合、"Database Status" や "SQLSERVER:\SQLPolicy\MyComputer\DEFAULT\Policies\Database Status" などのポリシー名を使用します。XML ファイルとしてエクスポートされているポリシーの場合、"Database Status.xml" や "C:\MyPolicyFolder\Database Status.xml" などのファイル名を使用します。
</maml:para><maml:para>-Policy は、エクスポートされた XML 形式のポリシーを含むフォルダーに対して実行される Get-ChildItem コマンドレットのパイプ出力など、一連の FileInfo オブジェクトを取得できます。また、-Policy は、SQLSERVER:\SQLPolicy パスに対して実行される Get-ChildItem のパイプ出力など、一連の Policy オブジェクトを取得できます。
</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>Invoke-PolicyEvaluation が対象セットの準拠状態について報告のみを行うか (Check)、対象セットがポリシーに準拠するように再構成も行うか (Configure) を指定します。
</maml:para><maml:para>Check - ログイン アカウントの資格情報を使用して、対象セットの準拠状態を報告します。オブジェクトの再構成は行いません。
</maml:para><maml:para>CheckSqlScriptAsProxy - ##MS_PolicyTSQLExecutionLogin## プロキシ アカウントの資格情報を使用して、チェック レポートを実行します。
</maml:para><maml:para>Configure - ポリシーに準拠していない、対象セットのオブジェクトを再構成し、再構成後の状態を報告します。Invoke-PolicyEvaluation は、設定可能で明確なプロパティのみ再構成します。
</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>Invoke-PolicyEvaluation コマンドレットを実行したときに、そのレポートが SML-IF (Service Modeling Language Interchange Format) スキーマを使用して XML 形式で生成されるように指定します。
</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>対象セットを定義するオブジェクトの一覧を返すクエリを指定します。クエリは、ノードを含む文字列として指定されます。ノードは "/" 文字で区切られます。各ノードは、ObjectType[Filter] 形式で記述します。ObjectType は SQL Server 管理オブジェクト (SMO) のオブジェクト モデル内のオブジェクトの 1 つで、Filter はそのノードで特定オブジェクトに対してフィルター処理を行う式です。ノードは SMO オブジェクトの階層に従う必要あります。たとえば、次のクエリ式では、AdventureWorks サンプル データベース "Server[@Name='MyComputer']/Database[@Name='AdventureWorks']" が返されます。
</maml:para><maml:para>-TargetExpression が指定されている場合は、-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>対象セットを含むデータベース エンジンのインスタンスを指定します。Microsoft.SqlServer.Management.Sfc.Sdk.SQLStoreConnection オブジェクトを格納する変数を指定できます。また、System.Data.SqlClient.SQLConnection クラスの ConnectionString プロパティで使用される形式に準拠する文字列も指定できます。これらの文字列には、System.Data.SqlClient.SqlConnectionStringBuilder クラスを使用して作成された文字列などがあります。既定では、Invoke-PolicyEvaluation は 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>評価する 1 つまたは複数のポリシーを指定します。ポリシーは、SQL Server データベース エンジンのインスタンスに格納されるか、エクスポートされた XML ファイルとして格納されます。データベース エンジンのインスタンスに格納されているポリシーの場合、SQLSERVER:\SQLPolicy フォルダーに基づくパスを使用してポリシーの場所を指定します。XML ファイルとして格納されているポリシーの場合、ファイル システム パスを使用してポリシーをその場所に指定します。
</maml:para><maml:para>-Policy は、評価する 1 つ以上のポリシーの名前を示す文字列を取得できます。文字列で指定されたファイルまたはポリシーの名前が 1 つだけの場合、Invoke-PolicyEvaluation では、現在のパスの設定が使用されます。データベース エンジンのインスタンスに格納されているポリシーの場合、"Database Status" や "SQLSERVER:\SQLPolicy\MyComputer\DEFAULT\Policies\Database Status" などのポリシー名を使用します。XML ファイルとしてエクスポートされているポリシーの場合、"Database Status.xml" や "C:\MyPolicyFolder\Database Status.xml" などのファイル名を使用します。
</maml:para><maml:para>-Policy は、エクスポートされた XML 形式のポリシーを含むフォルダーに対して実行される Get-ChildItem コマンドレットのパイプ出力など、一連の FileInfo オブジェクトを取得できます。また、-Policy は、SQLSERVER:\SQLPolicy パスに対して実行される Get-ChildItem のパイプ出力など、一連の Policy オブジェクトを取得できます。
</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>Invoke-PolicyEvaluation が対象セットの準拠状態について報告のみを行うか (Check)、対象セットがポリシーに準拠するように再構成も行うか (Configure) を指定します。
</maml:para><maml:para>Check - ログイン アカウントの資格情報を使用して、対象セットの準拠状態を報告します。オブジェクトの再構成は行いません。
</maml:para><maml:para>CheckSqlScriptAsProxy - ##MS_PolicyTSQLExecutionLogin## プロキシ アカウントの資格情報を使用して、チェック レポートを実行します。
</maml:para><maml:para>Configure - ポリシーに準拠していない、対象セットのオブジェクトを再構成し、再構成後の状態を報告します。Invoke-PolicyEvaluation は、設定可能で明確なプロパティのみ再構成します。
</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>Invoke-PolicyEvaluation コマンドレットを実行したときに、そのレポートが SML-IF (Service Modeling Language Interchange Format) スキーマを使用して XML 形式で生成されるように指定します。
</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>ポリシーの評価対象となる SQL Server オブジェクトのセットを定義する、PSObject または PSObject の配列を指定します。SQL Server Analysis Services のインスタンスに接続するには、-TargetObject に Microsoft.AnalysisServices.Server オブジェクトを指定します。
</maml:para><maml:para>-TargetObject が指定されている場合は、-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>Invoke-PolicyEvaluation が対象セットの準拠状態について報告のみを行うか (Check)、対象セットがポリシーに準拠するように再構成も行うか (Configure) を指定します。
</maml:para><maml:para>Check - ログイン アカウントの資格情報を使用して、対象セットの準拠状態を報告します。オブジェクトの再構成は行いません。
</maml:para><maml:para>CheckSqlScriptAsProxy - ##MS_PolicyTSQLExecutionLogin## プロキシ アカウントの資格情報を使用して、チェック レポートを実行します。
</maml:para><maml:para>Configure - ポリシーに準拠していない、対象セットのオブジェクトを再構成し、再構成後の状態を報告します。Invoke-PolicyEvaluation は、設定可能で明確なプロパティのみ再構成します。
</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>Invoke-PolicyEvaluation コマンドレットを実行したときに、そのレポートが SML-IF (Service Modeling Language Interchange Format) スキーマを使用して XML 形式で生成されるように指定します。
</maml:para></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>評価する 1 つまたは複数のポリシーを指定します。ポリシーは、SQL Server データベース エンジンのインスタンスに格納されるか、エクスポートされた XML ファイルとして格納されます。データベース エンジンのインスタンスに格納されているポリシーの場合、SQLSERVER:\SQLPolicy フォルダーに基づくパスを使用してポリシーの場所を指定します。XML ファイルとして格納されているポリシーの場合、ファイル システム パスを使用してポリシーをその場所に指定します。
</maml:para><maml:para>-Policy は、評価する 1 つ以上のポリシーの名前を示す文字列を取得できます。文字列で指定されたファイルまたはポリシーの名前が 1 つだけの場合、Invoke-PolicyEvaluation では、現在のパスの設定が使用されます。データベース エンジンのインスタンスに格納されているポリシーの場合、"Database Status" や "SQLSERVER:\SQLPolicy\MyComputer\DEFAULT\Policies\Database Status" などのポリシー名を使用します。XML ファイルとしてエクスポートされているポリシーの場合、"Database Status.xml" や "C:\MyPolicyFolder\Database Status.xml" などのファイル名を使用します。
</maml:para><maml:para>-Policy は、エクスポートされた XML 形式のポリシーを含むフォルダーに対して実行される Get-ChildItem コマンドレットのパイプ出力など、一連の FileInfo オブジェクトを取得できます。また、-Policy は、SQLSERVER:\SQLPolicy パスに対して実行される Get-ChildItem のパイプ出力など、一連の Policy オブジェクトを取得できます。
</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>対象セットを定義するオブジェクトの一覧を返すクエリを指定します。クエリは、ノードを含む文字列として指定されます。ノードは "/" 文字で区切られます。各ノードは、ObjectType[Filter] 形式で記述します。ObjectType は SQL Server 管理オブジェクト (SMO) のオブジェクト モデル内のオブジェクトの 1 つで、Filter はそのノードで特定オブジェクトに対してフィルター処理を行う式です。ノードは SMO オブジェクトの階層に従う必要あります。たとえば、次のクエリ式では、AdventureWorks サンプル データベース "Server[@Name='MyComputer']/Database[@Name='AdventureWorks']" が返されます。
</maml:para><maml:para>-TargetExpression が指定されている場合は、-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>ポリシーの評価対象となる SQL Server オブジェクトのセットを定義する、PSObject または PSObject の配列を指定します。SQL Server Analysis Services のインスタンスに接続するには、-TargetObject に Microsoft.AnalysisServices.Server オブジェクトを指定します。
</maml:para><maml:para>-TargetObject が指定されている場合は、-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>対象セットを含むデータベース エンジンのインスタンスを指定します。Microsoft.SqlServer.Management.Sfc.Sdk.SQLStoreConnection オブジェクトを格納する変数を指定できます。また、System.Data.SqlClient.SQLConnection クラスの ConnectionString プロパティで使用される形式に準拠する文字列も指定できます。これらの文字列には、System.Data.SqlClient.SqlConnectionStringBuilder クラスを使用して作成された文字列などがあります。既定では、Invoke-PolicyEvaluation は 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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>指定したコンピューターの既定のインスタンスでポリシーを評価します。XML ファイルからポリシーを読み取り、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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>Get-Childitem を使用して、1 つのフォルダー内の複数の XML ファイルから 2 つのポリシーを読み取り、それらのポリシーを 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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>SML-IF (Service Modeling Language Interchange Format) スキーマを使用してポリシー評価の出力形式を設定し、出力をファイルにリダイレクトします。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>SQL Server ポリシー ストアへの現在のパスを設定します。Get-ChildItem を使用してすべてのポリシーを読み取り、Where-Object を使用して、PolicyCategory プロパティが "Microsoft Best Practices: Maintenance" に設定されているポリシーをフィルター選択します。その後、フィルター選択されたポリシーのセットを 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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>Sfc.SqlStoreConnection オブジェクトを使用して対象サーバーを指定する方法です。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>SQL Server Analysis Services アセンブリを読み込んでから、ローカル コンピューター上の既定のインスタンスへの接続を作成し、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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>-TargetExpression クエリ式を使用して、Database Status ポリシーが 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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>SQL Server Reporting Services アセンブリを読み込んでから、ローカル コンピューター上の既定のインスタンスへの接続を作成し、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>SQL Server sqlcmd ユーティリティでサポートされている言語 (Transact-SQL および XQuery) とコマンドからのステートメントを含むスクリプトを実行します。</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>SQL Server sqlcmd ユーティリティによってサポートされる言語とコマンドを含むスクリプトを実行します。サポートされている言語は、Transact-SQL と、データベース エンジンでサポートされている XQuery 構文です。Invoke-Sqlcmd は、GO や QUIT など、sqlcmd でサポートされているコマンドの多くも受け取ります。Invoke-Sqlcmd は、SQLCMDUSER などの sqlcmd スクリプト変数を受け取ります。既定では、Invoke-Sqlcmd は sqlcmd スクリプト変数を設定しません。
</maml:para><maml:para>Invoke-Sqlcmd では、対話型のスクリプト編集に主に関連した sqlcmd コマンドがサポートされません。サポートされないコマンドには、:!!、:connect、:error、:out、:ed、:list、:listvar、:reset、:perftrace、および :serverlist があります。
</maml:para><maml:para>スクリプトによって返される最初の結果セットは、形式が設定されたテーブルとして表示されます。その後の結果セットは、その列リストが最初の結果セットの列リストと異なる場合には表示されません。2 番目以降の結果セットの列リストが同じ場合、最初の結果セットによって返された行を含む、形式が設定されたテーブルに、その行が追加されます。
</maml:para><maml:para>Invoke-Sqlcmd では、PowerShell の -Verbose パラメーターを使用しない限り、PRINT ステートメントの出力など、SQL Server メッセージ出力は返されません。
</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>実行する 1 つまたは複数のクエリを指定します。クエリには、Transact-SQL ステートメント、XQuery ステートメント、または sqlcmd コマンドを指定できます。複数のクエリは、セミコロン (;) で区切って指定できます。sqlcmd の GO 区切り記号は指定しないでください。文字列に含まれる二重引用符はエスケープされます。"MyTable" のように引用符で囲まれた識別子ではなく、[MyTable] のように角かっこで囲まれた識別子を使用することを検討してください。
</maml:para></maml: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>Invoke-Sqlcmd でエラーが発生した場合は、Invoke-Sqlcmd が実行を停止し、PowerShell ERRORLEVEL 変数にエラー レベルを返すように指定します。返されるエラー レベルは、エラーの重大度が 10 より大きい場合は 1、エラーの重大度が 10 以下の場合は 0 です。-ErrorLevel も指定されている場合、Invoke-Sqlcmd が 1 を返すのは、エラー メッセージの重大度も -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>データベース エンジンのインスタンスに正常に接続できない場合に Invoke-Sqlcmd がタイムアウトする秒数を指定します。タイムアウト値には、0 ~ 65,534 の範囲の整数値を指定する必要があります。0 を指定した場合、接続の試行はタイムアウトしません。
</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>データベースの名前を示す文字列です。Invoke-Sqlcmd は、-ServerInstance で指定されているインスタンス内のこのデータベースに接続します。
</maml:para><maml:para>-Database が指定されていない場合、使用されるデータベースは、現在のパスで SQLSERVER:\SQL フォルダーとデータベース名の両方を指定しているかどうかによって決まります。パスで SQL フォルダーとデータベース名の両方が指定されている場合、Invoke-Sqlcmd は、パスで指定されているデータベースに接続します。パスが SQL フォルダーに基づいていない場合またはパスにデータベース名が含まれていない場合は、Invoke-Sqlcmd は、現在のログイン ID の既定のデータベースに接続します。-IgnoreProviderContext スイッチを指定すると、Invoke-Sqlcmd は、現在のパスで指定されているデータベースを無視し、現在のログイン ID の既定値として定義されているデータベースに接続します。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>DedicatedAdministratorConnection</maml:name><maml:description><maml:para>専用管理者接続 (DAC) を使用して、データベース エンジンのインスタンスに接続します。DAC は、新しい標準接続を受け入れないインスタンスのトラブルシューティングなどのアクションに対してシステム管理者が使用します。インスタンスは、DAC をサポートするよう構成する必要がありますDAC が無効な場合、Invoke-Sqlcmd はエラーを報告し、実行を停止します。
</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>バッチ ファイルで実行するとセキュリティを損なう可能性がある sqlcmd の機能を無効にします。これにより、PowerShell の変数は Invoke-Sqlcmd スクリプトに渡されなくなります。SQLCMDINI スクリプト変数で指定されたスタートアップ スクリプトは実行されません。
</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>Invoke-Sqlcmd が sqlcmd スクリプト変数を無視するよう指定します。これは、$(variable_name) などの変数と同じ形式の文字列を含む INSERT ステートメントが、スクリプトに多数含まれている場合に便利です。
</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>-ServerInstance で指定されたデータベース エンジンのインスタンスへの接続に Invoke-Sqlcmd で Secure Sockets Layer (SSL) 暗号化を使用するかどうかを指定します。TRUE が指定されると、SSL 暗号化が使用されます。FALSE が指定されると、暗号化は使用されません。
</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>Invoke-Sqlcmd によって、重大度レベルが、指定された値以上のエラー メッセージのみが表示されるよう指定します。-ErrorLevel が指定されていないか 0 に設定されている場合はすべてのエラー メッセージが表示されます。データベース エンジン エラーの重大度は 1 ~ 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>ワークステーション名を指定します。ワークステーション名は、sp_who システム ストアド プロシージャによって、sys.processes カタログ ビューの hostname 列で報告されます。HostName が指定されていない場合、既定値は、Invoke-Sqlcmd が実行されているコンピューターの名前です。HostName は、異なる 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 は、現在の SQLSERVER:\SQL パスで確立されたデータベース コンテキストを無視します。-Database パラメーターが指定されていない場合は、現在のログイン ID または 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>既定では無視される SQL ユーザー スクリプト エラーを返すように Invoke-Sqlcmd を設定します。このパラメーターを指定しない場合、Invoke-Sqlcmd は 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>Invoke-Sqlcmd へのクエリ入力として使用するファイルを指定します。このファイルには、Transact-SQL ステートメント、XQuery ステートメント、sqlcmd コマンド、およびスクリプト変数を含めることができます。ファイルへの完全なパスを指定します。ファイル パスまたはファイル名にスペースを含めることはできません。
</maml:para><maml:para>信頼できるソースのスクリプトのみを実行してください。すべての入力スクリプトが適切な NTFS 権限で保護されていることを確認してください。
</maml:para></maml: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>binary や varbinary など、バイナリ文字列型の列に返される最大バイト数を指定します。既定値は 1,024 バイトです。
</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>char、nchar、varchar、nvarchar など、文字または Unicode のデータ型の列に返される最大文字数を指定します。既定値は 4,000 文字です。
</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>SQL Server 認証ログイン ID の新しいパスワードを指定します。Invoke-Sqlcmd は、パスワードを変更してから終了します。-Username と -Password も指定する必要があります。この場合、-Password では、ログインの現在のパスワードを指定します。
</maml:para></maml: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>エラー メッセージが 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>-Username で指定された SQL Server 認証ログイン ID のパスワードを指定します。パスワードでは大文字と小文字が区別されます。可能な場合は、Windows 認証を使用します。空白のパスワードは使用せず、できるだけ強力なパスワードを使用してください。詳細については、SQL Server オンライン ブックの「強力なパスワード」を参照してください。
</maml:para><maml:para>セキュリティに関する注意: -Password の後にパスワードを入力すると、モニターにパスワードが表示されてしまうので注意してください。.ps1 スクリプトで -Password の後にパスワードをコーディングすると、そのスクリプト ファイルを読めば、だれでもパスワードがわかります。他のユーザーがファイルを読み取ることをできないようにするには、適切な NTDB 権限をファイルに割り当てます。
</maml:para></maml: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>クエリがタイムアウトするまでの秒数を指定します。タイムアウト値を指定しない場合、クエリはタイムアウトしません。タイムアウトには、1 ~ 65,535 の範囲の整数値を指定してください。
</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>データベース エンジンのインスタンス名を示す、文字列または SMO サーバー オブジェクトです。既定のインスタンスの場合は、コンピューター名 "MyComputer" のみを指定します。名前付きインスタンスの場合は、"ComputerName\InstanceName" 形式を使用します。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>SeverityLevel</maml:name><maml:description><maml:para>Invoke-Sqlcmd によって PowerShell 変数 ERRORLEVEL に返される、エラー メッセージの重大度レベルの下限を指定します。重大度が -SeverityLevel 以上の場合、Invoke-Sqlcmd は、実行するクエリによって生成されたエラー メッセージから最高の重大度レベルを返します。-SeverityLevel が指定されていないか 0 に設定されている場合、Invoke-Sqlcmd は ERRORLEVEL に 0 を返します。データベース エンジンのエラー メッセージの重大度は 1 ~ 24 です。重大度が 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>コマンドレットのデータベース コンテキストを確立する際に Invoke-Sqlcmd が現在の SQLSERVER:\SQL パスからデータベース コンテキストを使用しているという警告を表示しないようにします。
</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>データベース エンジンのインスタンスへの SQL Server 認証接続を確立するためのログイン ID を指定します。パスワードは、-Password を使用して指定する必要があります。-Username と -Password が指定されていない場合、Invoke-Sqlcmd は、PowerShell セッションを実行している Windows アカウントを使用して Windows 認証接続を試みます。
</maml:para><maml:para>可能な場合は、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>sqlcmd スクリプトで使用するための sqlcmd スクリプト変数を作成し、変数の値を設定します。複数の変数とその値を指定するには、PowerShell 配列を使用します。
</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>Invoke-Sqlcmd でエラーが発生した場合は、Invoke-Sqlcmd が実行を停止し、PowerShell ERRORLEVEL 変数にエラー レベルを返すように指定します。返されるエラー レベルは、エラーの重大度が 10 より大きい場合は 1、エラーの重大度が 10 以下の場合は 0 です。-ErrorLevel も指定されている場合、Invoke-Sqlcmd が 1 を返すのは、エラー メッセージの重大度も -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>データベース エンジンのインスタンスに正常に接続できない場合に Invoke-Sqlcmd がタイムアウトする秒数を指定します。タイムアウト値には、0 ~ 65,534 の範囲の整数値を指定する必要があります。0 を指定した場合、接続の試行はタイムアウトしません。
</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>データベースの名前を示す文字列です。Invoke-Sqlcmd は、-ServerInstance で指定されているインスタンス内のこのデータベースに接続します。
</maml:para><maml:para>-Database が指定されていない場合、使用されるデータベースは、現在のパスで SQLSERVER:\SQL フォルダーとデータベース名の両方を指定しているかどうかによって決まります。パスで SQL フォルダーとデータベース名の両方が指定されている場合、Invoke-Sqlcmd は、パスで指定されているデータベースに接続します。パスが SQL フォルダーに基づいていない場合またはパスにデータベース名が含まれていない場合は、Invoke-Sqlcmd は、現在のログイン ID の既定のデータベースに接続します。-IgnoreProviderContext スイッチを指定すると、Invoke-Sqlcmd は、現在のパスで指定されているデータベースを無視し、現在のログイン ID の既定値として定義されているデータベースに接続します。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">String</command:parameterValue><dev:type><maml:name>String</maml:name><maml:uri /></dev:type><dev:defaultValue></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>専用管理者接続 (DAC) を使用して、データベース エンジンのインスタンスに接続します。DAC は、新しい標準接続を受け入れないインスタンスのトラブルシューティングなどのアクションに対してシステム管理者が使用します。インスタンスは、DAC をサポートするよう構成する必要がありますDAC が無効な場合、Invoke-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>DisableCommands</maml:name><maml:description><maml:para>バッチ ファイルで実行するとセキュリティを損なう可能性がある sqlcmd の機能を無効にします。これにより、PowerShell の変数は Invoke-Sqlcmd スクリプトに渡されなくなります。SQLCMDINI スクリプト変数で指定されたスタートアップ スクリプトは実行されません。
</maml:para></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>Invoke-Sqlcmd が sqlcmd スクリプト変数を無視するよう指定します。これは、$(variable_name) などの変数と同じ形式の文字列を含む INSERT ステートメントが、スクリプトに多数含まれている場合に便利です。
</maml:para></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>-ServerInstance で指定されたデータベース エンジンのインスタンスへの接続に Invoke-Sqlcmd で Secure Sockets Layer (SSL) 暗号化を使用するかどうかを指定します。TRUE が指定されると、SSL 暗号化が使用されます。FALSE が指定されると、暗号化は使用されません。
</maml:para></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>Invoke-Sqlcmd によって、重大度レベルが、指定された値以上のエラー メッセージのみが表示されるよう指定します。-ErrorLevel が指定されていないか 0 に設定されている場合はすべてのエラー メッセージが表示されます。データベース エンジン エラーの重大度は 1 ~ 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>ワークステーション名を指定します。ワークステーション名は、sp_who システム ストアド プロシージャによって、sys.processes カタログ ビューの hostname 列で報告されます。HostName が指定されていない場合、既定値は、Invoke-Sqlcmd が実行されているコンピューターの名前です。HostName は、異なる 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 は、現在の SQLSERVER:\SQL パスで確立されたデータベース コンテキストを無視します。-Database パラメーターが指定されていない場合は、現在のログイン ID または 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>既定では無視される SQL ユーザー スクリプト エラーを返すように Invoke-Sqlcmd を設定します。このパラメーターを指定しない場合、Invoke-Sqlcmd は 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>Invoke-Sqlcmd へのクエリ入力として使用するファイルを指定します。このファイルには、Transact-SQL ステートメント、XQuery ステートメント、sqlcmd コマンド、およびスクリプト変数を含めることができます。ファイルへの完全なパスを指定します。ファイル パスまたはファイル名にスペースを含めることはできません。
</maml:para><maml:para>信頼できるソースのスクリプトのみを実行してください。すべての入力スクリプトが適切な NTFS 権限で保護されていることを確認してください。
</maml:para></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>binary や varbinary など、バイナリ文字列型の列に返される最大バイト数を指定します。既定値は 1,024 バイトです。
</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>char、nchar、varchar、nvarchar など、文字または Unicode のデータ型の列に返される最大文字数を指定します。既定値は 4,000 文字です。
</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>SQL Server 認証ログイン ID の新しいパスワードを指定します。Invoke-Sqlcmd は、パスワードを変更してから終了します。-Username と -Password も指定する必要があります。この場合、-Password では、ログインの現在のパスワードを指定します。
</maml:para></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>エラー メッセージが 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>-Username で指定された SQL Server 認証ログイン ID のパスワードを指定します。パスワードでは大文字と小文字が区別されます。可能な場合は、Windows 認証を使用します。空白のパスワードは使用せず、できるだけ強力なパスワードを使用してください。詳細については、SQL Server オンライン ブックの「強力なパスワード」を参照してください。
</maml:para><maml:para>セキュリティに関する注意: -Password の後にパスワードを入力すると、モニターにパスワードが表示されてしまうので注意してください。.ps1 スクリプトで -Password の後にパスワードをコーディングすると、そのスクリプト ファイルを読めば、だれでもパスワードがわかります。他のユーザーがファイルを読み取ることをできないようにするには、適切な NTDB 権限をファイルに割り当てます。
</maml:para></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>実行する 1 つまたは複数のクエリを指定します。クエリには、Transact-SQL ステートメント、XQuery ステートメント、または sqlcmd コマンドを指定できます。複数のクエリは、セミコロン (;) で区切って指定できます。sqlcmd の GO 区切り記号は指定しないでください。文字列に含まれる二重引用符はエスケープされます。"MyTable" のように引用符で囲まれた識別子ではなく、[MyTable] のように角かっこで囲まれた識別子を使用することを検討してください。
</maml:para></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>クエリがタイムアウトするまでの秒数を指定します。タイムアウト値を指定しない場合、クエリはタイムアウトしません。タイムアウトには、1 ~ 65,535 の範囲の整数値を指定してください。
</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>データベース エンジンのインスタンス名を示す、文字列または SMO サーバー オブジェクトです。既定のインスタンスの場合は、コンピューター名 "MyComputer" のみを指定します。名前付きインスタンスの場合は、"ComputerName\InstanceName" 形式を使用します。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">PSObject</command:parameterValue><dev:type><maml:name>PSObject</maml:name><maml:uri /></dev:type><dev:defaultValue></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>Invoke-Sqlcmd によって PowerShell 変数 ERRORLEVEL に返される、エラー メッセージの重大度レベルの下限を指定します。重大度が -SeverityLevel 以上の場合、Invoke-Sqlcmd は、実行するクエリによって生成されたエラー メッセージから最高の重大度レベルを返します。-SeverityLevel が指定されていないか 0 に設定されている場合、Invoke-Sqlcmd は ERRORLEVEL に 0 を返します。データベース エンジンのエラー メッセージの重大度は 1 ~ 24 です。重大度が 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>コマンドレットのデータベース コンテキストを確立する際に Invoke-Sqlcmd が現在の SQLSERVER:\SQL パスからデータベース コンテキストを使用しているという警告を表示しないようにします。
</maml:para></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>データベース エンジンのインスタンスへの SQL Server 認証接続を確立するためのログイン ID を指定します。パスワードは、-Password を使用して指定する必要があります。-Username と -Password が指定されていない場合、Invoke-Sqlcmd は、PowerShell セッションを実行している Windows アカウントを使用して Windows 認証接続を試みます。
</maml:para><maml:para>可能な場合は、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>sqlcmd スクリプトで使用するための sqlcmd スクリプト変数を作成し、変数の値を設定します。複数の変数とその値を指定するには、PowerShell 配列を使用します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、コンピューター上のデータベース エンジンの名前付きインスタンスに接続し、基本的な 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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、Transact-SQL ステートメントと sqlcmd コマンドを含むファイルを読み取り、ファイルを実行して、別のファイルに出力を書き込みます。すべての出力ファイルが適切な NTFS 権限で保護されていることを確認してください。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、-Variable パラメーターへの入力として文字列の配列を使用します。この配列では、複数の sqlcmd 変数が定義されています。sqlcmd 変数を識別する、SELECT ステートメント内の $ 記号は、バック ティック (`) 文字を使用してエスケープされます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、Set-Location を使用して、データベース エンジンのインスタンスを表す SQL Server PowerShell プロバイダー パスに移動します。その後、この例では、Get-Item を使用して、Invoke-Sqlcmd の -ServerInstance パラメーターとして使用するために SMO 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;Invoke-Sqlcmd -Query "PRINT N'abc'" -Verbose
 
VERBOSE: abc
 
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>次の例では、PowerShell の -Verbose パラメーター使用して、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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、位置文字列を使用して、-Query パラメーターへの入力を指定します。また、Invoke-Sqlcmd で現在のパスを使用して、データベース コンテキストを 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>InputObject パラメーターまたは Path パラメーターで指定された可用性レプリカを、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>Join-SqlAvailabilityGroup コマンドレットは、ローカル セカンダリ レプリカを、Name パラメーターで指定された可用性グループに参加させます。このコマンドレットは、可用性グループに参加していないセカンダリ レプリカをホストしている SQL Server インスタンス上でのみ実行できます。
</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>可用性グループの名前です。
</maml:para></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>可用性グループに参加させるセカンダリ レプリカをホストする 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>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>可用性グループの名前です。
</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>セカンダリ レプリカをホストする SQL Server インスタンスの Server オブジェクトです。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>セカンダリ レプリカをホストする SQL Server インスタンスの Server オブジェクトです。
</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>可用性グループの名前です。
</maml:para></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>可用性グループに参加させるセカンダリ レプリカをホストする 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>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
可用性グループに参加させる可用性レプリカです。
 
 
</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>高可用性データ復旧サービスがサーバー インスタンス上で有効になっていて、Path に指定された可用性レプリカが存在する必要があります。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、指定されたパスにあるサーバー インスタンスによってホストされるセカンダリ レプリカを可用性グループ "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;Join-SqlAvailabilityGroup -Path SQLSERVER:\SQL\SecondaryServer\InstanceName -Name 'MyAg' -Script
 
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、指定されたパスにあるサーバー インスタンスによってホストされるセカンダリ レプリカを可用性グループ "MyAg" に参加させる Transact-SQL スクリプトを出力します。このサーバー インスタンスは、この可用性グループ内のセカンダリ レプリカをホストする必要があります。
</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>初期プライマリ レプリカをホストするサーバー インスタンスに可用性グループを作成します。</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>New-SqlAvailabilityGroup コマンドレットは、可用性グループを作成します。InputObject パラメーターまたは Path パラメーターで指定されたサーバー インスタンスが、初期プライマリ レプリカをホストします。
</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>作成する可用性グループの名前です。
</maml:para></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>可用性グループの初期プライマリ レプリカをホストする 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>AutomatedBackupPreference</maml:name><maml:description><maml:para>可用性グループの自動バックアップ設定です。有効なオプションを次に示します。
</maml:para><maml:para>Primary: バックアップを常にプライマリ レプリカで実行することを指定します。セカンダリ上でバックアップを実行する際にはユーザーが使用できない機能 (差分バックアップなど) が必要であるため、このオプションがよく使用されます。
</maml:para><maml:para>SecondaryOnly: プライマリ レプリカではバックアップが実行されないように指定します。オンラインのレプリカがプライマリ レプリカだけの場合、バックアップは実行されません。
</maml:para><maml:para>Secondary: オンラインのレプリカがプライマリ レプリカのみである場合を除き、セカンダリ レプリカでバックアップを実行することを指定します。その後、プライマリ レプリカでバックアップが実行されます。
</maml:para><maml:para>None: ユーザーがバックアップを実行するレプリカを選択するときにプライマリ/セカンダリ状態を考慮しないことを指定します。BackupPriority とオンライン/接続状態のみが考慮されます。
</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>完全復旧モデルを使用する一方で AUTO_CLOSE を使用しない、ローカルな読み取り/書き込みユーザー データベースの一覧です。これらのデータベースは他の可用性グループに属すことができず、データベース ミラーリング用に構成できません。このパラメーターを null または空にすることはできません。
</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>可用性グループの自動フェールオーバー動作を決定します。有効なオプションを次に示します。
</maml:para><maml:para>OnServerDown: SQL Server サービスが停止したときにフェールオーバーまたは再起動します。
</maml:para><maml:para>OnServerUnresponsive: いずれかの下限値の条件が満たされ、かつ SQL Server サービスがクラスターに接続されている状態で "HealthCheckTimeout" しきい値を超えたとき、または現在プライマリ ロールの可用性レプリカがエラー状態のときに、フェールオーバーまたは再起動します (HealthCheckTimeout パラメーターの説明を参照してください)。
</maml:para><maml:para>OnCriticalServerError: いずれかの下限値の条件が満たされ、かつ重大な内部サーバー エラー (メモリ不足、重大な書き込みアクセス違反、ダンプ過多など) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnModerateServerError: いずれかの下限値の条件が満たされ、かつ中程度のサーバー エラー (永続的なメモリ不足の状態) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnAnyQualifiedFailureConditions: いずれかの下限値の条件が満たされ、かつ対象のエラー条件 (エンジン ワーカー スレッドの枯渇、解決不可能なデッドロックの検出) が発生したときに、フェールオーバーまたは再起動します。
</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>応答しないサーバーを異常と見なすまでの時間です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>新しい可用性グループに含めるそれぞれの可用性レプリカの AvailabilityReplica オブジェクトです。このパラメーターは入れ子にできますが、空または null にすることはできません。
</maml:para><maml:para>ヒント: AvailabilityReplica オブジェクトを作成するには、New-SqlAvailabilityReplica コマンドレットと共に 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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>作成する可用性グループの名前です。
</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>プライマリ レプリカをホストするインスタンスの 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>AutomatedBackupPreference</maml:name><maml:description><maml:para>可用性グループの自動バックアップ設定です。有効なオプションを次に示します。
</maml:para><maml:para>Primary: バックアップを常にプライマリ レプリカで実行することを指定します。セカンダリ上でバックアップを実行する際にはユーザーが使用できない機能 (差分バックアップなど) が必要であるため、このオプションがよく使用されます。
</maml:para><maml:para>SecondaryOnly: プライマリ レプリカではバックアップが実行されないように指定します。オンラインのレプリカがプライマリ レプリカだけの場合、バックアップは実行されません。
</maml:para><maml:para>Secondary: オンラインのレプリカがプライマリ レプリカのみである場合を除き、セカンダリ レプリカでバックアップを実行することを指定します。その後、プライマリ レプリカでバックアップが実行されます。
</maml:para><maml:para>None: ユーザーがバックアップを実行するレプリカを選択するときにプライマリ/セカンダリ状態を考慮しないことを指定します。BackupPriority とオンライン/接続状態のみが考慮されます。
</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>完全復旧モデルを使用する一方で AUTO_CLOSE を使用しない、ローカルな読み取り/書き込みユーザー データベースの一覧です。これらのデータベースは他の可用性グループに属すことができず、データベース ミラーリング用に構成できません。このパラメーターを null または空にすることはできません。
</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>可用性グループの自動フェールオーバー動作を決定します。有効なオプションを次に示します。
</maml:para><maml:para>OnServerDown: SQL Server サービスが停止したときにフェールオーバーまたは再起動します。
</maml:para><maml:para>OnServerUnresponsive: いずれかの下限値の条件が満たされ、かつ SQL Server サービスがクラスターに接続されている状態で "HealthCheckTimeout" しきい値を超えたとき、または現在プライマリ ロールの可用性レプリカがエラー状態のときに、フェールオーバーまたは再起動します (HealthCheckTimeout パラメーターの説明を参照してください)。
</maml:para><maml:para>OnCriticalServerError: いずれかの下限値の条件が満たされ、かつ重大な内部サーバー エラー (メモリ不足、重大な書き込みアクセス違反、ダンプ過多など) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnModerateServerError: いずれかの下限値の条件が満たされ、かつ中程度のサーバー エラー (永続的なメモリ不足の状態) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnAnyQualifiedFailureConditions: いずれかの下限値の条件が満たされ、かつ対象のエラー条件 (エンジン ワーカー スレッドの枯渇、解決不可能なデッドロックの検出) が発生したときに、フェールオーバーまたは再起動します。
</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>応答しないサーバーを異常と見なすまでの時間です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>新しい可用性グループに含めるそれぞれの可用性レプリカの AvailabilityReplica オブジェクトです。このパラメーターは入れ子にできますが、空または null にすることはできません。
</maml:para><maml:para>ヒント: AvailabilityReplica オブジェクトを作成するには、New-SqlAvailabilityReplica コマンドレットと共に 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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>可用性グループの自動バックアップ設定です。有効なオプションを次に示します。
</maml:para><maml:para>Primary: バックアップを常にプライマリ レプリカで実行することを指定します。セカンダリ上でバックアップを実行する際にはユーザーが使用できない機能 (差分バックアップなど) が必要であるため、このオプションがよく使用されます。
</maml:para><maml:para>SecondaryOnly: プライマリ レプリカではバックアップが実行されないように指定します。オンラインのレプリカがプライマリ レプリカだけの場合、バックアップは実行されません。
</maml:para><maml:para>Secondary: オンラインのレプリカがプライマリ レプリカのみである場合を除き、セカンダリ レプリカでバックアップを実行することを指定します。その後、プライマリ レプリカでバックアップが実行されます。
</maml:para><maml:para>None: ユーザーがバックアップを実行するレプリカを選択するときにプライマリ/セカンダリ状態を考慮しないことを指定します。BackupPriority とオンライン/接続状態のみが考慮されます。
</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>新しい可用性グループに含めるそれぞれの可用性レプリカの AvailabilityReplica オブジェクトです。このパラメーターは入れ子にできますが、空または null にすることはできません。
</maml:para><maml:para>ヒント: AvailabilityReplica オブジェクトを作成するには、New-SqlAvailabilityReplica コマンドレットと共に 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>完全復旧モデルを使用する一方で AUTO_CLOSE を使用しない、ローカルな読み取り/書き込みユーザー データベースの一覧です。これらのデータベースは他の可用性グループに属すことができず、データベース ミラーリング用に構成できません。このパラメーターを null または空にすることはできません。
</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>可用性グループの自動フェールオーバー動作を決定します。有効なオプションを次に示します。
</maml:para><maml:para>OnServerDown: SQL Server サービスが停止したときにフェールオーバーまたは再起動します。
</maml:para><maml:para>OnServerUnresponsive: いずれかの下限値の条件が満たされ、かつ SQL Server サービスがクラスターに接続されている状態で "HealthCheckTimeout" しきい値を超えたとき、または現在プライマリ ロールの可用性レプリカがエラー状態のときに、フェールオーバーまたは再起動します (HealthCheckTimeout パラメーターの説明を参照してください)。
</maml:para><maml:para>OnCriticalServerError: いずれかの下限値の条件が満たされ、かつ重大な内部サーバー エラー (メモリ不足、重大な書き込みアクセス違反、ダンプ過多など) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnModerateServerError: いずれかの下限値の条件が満たされ、かつ中程度のサーバー エラー (永続的なメモリ不足の状態) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnAnyQualifiedFailureConditions: いずれかの下限値の条件が満たされ、かつ対象のエラー条件 (エンジン ワーカー スレッドの枯渇、解決不可能なデッドロックの検出) が発生したときに、フェールオーバーまたは再起動します。
</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>応答しないサーバーを異常と見なすまでの時間です。
</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>プライマリ レプリカをホストするインスタンスの 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="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>作成する可用性グループの名前です。
</maml:para></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>可用性グループの初期プライマリ レプリカをホストする 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>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
プライマリ レプリカを含むサーバー インスタンスを指定します。
</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>
 
可用性グループを含む新しい PowerShell オブジェクトです。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、2 つの可用性レプリカと 2 つのデータベース ("MyDatabase1" と "MyDatabase2") から成る新しい可用性グループ "MyAG" を作成します。最初に、New-SqlAvailabilityReplica コマンドレットを使用して、2 つのレプリカ ("$primaryReplica" と "$secondaryReplica") のメモリ内表現を作成します。これらのレプリカは、自動フェールオーバーを指定した同期コミット可用性モードを使用するように構成されます。データベース ミラーリング エンドポイントにはポート 5022 を使用します。その後、New-SqlAvailabilityGroup コマンドレットを使用して、可用性グループを作成します。
</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>新しい可用性グループ リスナーを作成して、既存の可用性グループにアタッチします。</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>New-SqlAvailabilityGroupListener コマンドレットは、新しい可用性グループ リスナーを作成して、可用性グループにアタッチします。可用性グループおよび IP アドレスを識別するパラメーターを受け取ります。このコマンドレットは、プライマリ レプリカをホストするサーバー インスタンスでのみ実行できます。
</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>リスナーの名前です。
</maml:para></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>可用性グループへのパスです。新しいリスナーは、このパスで指定された可用性グループにアタッチされます。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></maml: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>引数で指定されたサブネットでリスナーが DHCP を使用する必要があることを指定します。この引数には、スラッシュを使用して表記された IPv4 アドレスとサブネット マスク (192.168.0.1\255.255.255.0 など) を指定する必要があります。
</maml:para><maml:para>StaticIp オプションと DhcpSubnet オプションを同時に指定することはできません。
</maml:para></maml: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>リスナーが接続をリッスンするために使用するポートです。既定のポートは TCP ポート 1433 です。セキュリティ上の問題がある場合は、別のポート番号を使用することをお勧めします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Int32</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>引数で指定された静的 IP アドレスをリスナーに構成する必要があることを指定します。この引数には、文字列の一覧を指定する必要があります。各文字列には、スラッシュを使用して表記された IPv4 アドレスとサブネット マスクか、IPv6 アドレスを指定できます。
</maml:para><maml:para>StaticIp オプションと DhcpSubnet オプションを同時に指定することはできません。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>リスナーの名前です。
</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>リスナーをアタッチする必要のある可用性グループの可用性グループ オブジェクトです。
</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>引数で指定されたサブネットでリスナーが DHCP を使用する必要があることを指定します。この引数には、スラッシュを使用して表記された IPv4 アドレスとサブネット マスク (192.168.0.1\255.255.255.0 など) を指定する必要があります。
</maml:para><maml:para>StaticIp オプションと DhcpSubnet オプションを同時に指定することはできません。
</maml:para></maml: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>リスナーが接続をリッスンするために使用するポートです。既定のポートは TCP ポート 1433 です。セキュリティ上の問題がある場合は、別のポート番号を使用することをお勧めします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Int32</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>引数で指定された静的 IP アドレスをリスナーに構成する必要があることを指定します。この引数には、文字列の一覧を指定する必要があります。各文字列には、スラッシュを使用して表記された IPv4 アドレスとサブネット マスクか、IPv6 アドレスを指定できます。
</maml:para><maml:para>StaticIp オプションと DhcpSubnet オプションを同時に指定することはできません。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>引数で指定されたサブネットでリスナーが DHCP を使用する必要があることを指定します。この引数には、スラッシュを使用して表記された IPv4 アドレスとサブネット マスク (192.168.0.1\255.255.255.0 など) を指定する必要があります。
</maml:para><maml:para>StaticIp オプションと DhcpSubnet オプションを同時に指定することはできません。
</maml:para></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>リスナーをアタッチする必要のある可用性グループの可用性グループ オブジェクトです。
</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>リスナーの名前です。
</maml:para></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>可用性グループへのパスです。新しいリスナーは、このパスで指定された可用性グループにアタッチされます。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></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>リスナーが接続をリッスンするために使用するポートです。既定のポートは TCP ポート 1433 です。セキュリティ上の問題がある場合は、別のポート番号を使用することをお勧めします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Int32</command:parameterValue><dev:type><maml:name>Int32</maml:name><maml:uri /></dev:type><dev:defaultValue>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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>引数で指定された静的 IP アドレスをリスナーに構成する必要があることを指定します。この引数には、文字列の一覧を指定する必要があります。各文字列には、スラッシュを使用して表記された IPv4 アドレスとサブネット マスクか、IPv6 アドレスを指定できます。
</maml:para><maml:para>StaticIp オプションと DhcpSubnet オプションを同時に指定することはできません。
</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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性グループ "MyAg" の可用性グループ リスナー "MyListener" を作成します。このリスナーは、DHCP を使用して仮想 IP アドレスを取得します。このコマンドは、プライマリ レプリカをホストするサーバー インスタンスで実行する必要があります。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性グループ "MyAg" の可用性グループ リスナー "MyListener" を作成します。このリスナーは、DHCP を使用して仮想 IP アドレスを取得し、ポート 1434 で接続をリッスンします。このコマンドは、プライマリ レプリカをホストするサーバー インスタンスで実行する必要があります。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性グループ "MyAg" の可用性グループ リスナー "MyListener" を作成します。このリスナーは、指定されたサブネットで DHCP を使用して仮想 IP アドレスを取得します。このコマンドは、プライマリ レプリカをホストするサーバー インスタンスで実行する必要があります。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性グループ "MyAg" の可用性グループ リスナー "MyListener" を作成します。このリスナーは、-StaticIp パラメーターに渡された IPv4 アドレスを仮想 IP アドレスとして使用します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性グループ "MyAg" の可用性グループ リスナー "MyListener" を作成する Transact-SQL スクリプトを出力します。このコマンドでリスナーが実際に作成されるわけではありません。
</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>可用性レプリカを作成します。このコマンドレットは、プライマリ可用性レプリカをホストするサーバー インスタンスで実行する必要があります。</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>New-SqlAvailabilityReplica コマンドレットは、可用性レプリカを作成します。このコマンドレットは、プライマリ レプリカをホストする SQL Server のインスタンスで実行する必要があります。
</maml:para><maml:para>AsTemplate パラメーター、InputObject パラメーター、および Path パラメーターは、相互に排他的です。
</maml:para><maml:para>新しい可用性グループを作成する前に AvailabilityReplica オブジェクトを作成するには、AsTemplate パラメーターを使用します。
</maml:para><maml:para>レプリカを既存の可用性グループに追加する場合は、InputObject パラメーターまたは Path パラメーターを使用して、可用性グループのパスを指定します。どちらのパラメーターも指定しない場合、現在のパスが使用されます。
</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>新しい可用性レプリカの名前です。名前は、"コンピューター\インスタンス" 形式で指定します。
</maml:para></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>可用性グループへのパスです。新しいレプリカは、このパスの可用性グループに属します。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></maml: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>0 ~ 100 の範囲の整数を使用して、バックアップを実行するときのレプリカの優先度を指定します。使用可能なオンラインのレプリカのセットのうち、最も高い優先度を持つレプリカがバックアップの対象として選択されます。
</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>プライマリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowReadWriteConnections: 読み取り/書き込み接続を許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>セカンダリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowNoConnections: 接続を許可しません。
</maml:para><maml:para>AllowReadIntentConnectionsOnly: 読み取りを目的とした接続のみを許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>読み取り専用接続のためにレプリカにルーティングするときに使用する、接続の完全修飾ドメイン名 (FQDN) およびポートです。例:
</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>この可用性レプリカを介して読み取り専用接続をリダイレクトするときに、接続ディレクターで使用されるプローブ シーケンスを表す、レプリカ サーバー名の順序付きリストです。これは、可用性レプリカが可用性グループの現在のプライマリのときにのみ適用されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>プライマリ レプリカとこのレプリカとの間の応答を待機する秒数です。この期間を過ぎると、接続に失敗したと見なされます。
</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>レプリカが同期コミット モードか非同期コミット モードかを示します。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>データベース ミラーリング エンドポイントの URL です。この URL は、"TCP://system-address:port" 形式の TCP アドレスです。
</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>Automatic または Manual を指定できます。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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>新しい可用性レプリカの名前です。名前は、"コンピューター\インスタンス" 形式で指定します。
</maml:para></maml: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>一時的な AvailabilityReplica オブジェクトをメモリ内に作成する新しい可用性レプリカへのパスです。AsTemplate を使用して、新しい可用性グループに含めるそれぞれの新しい可用性レプリカを作成します。次に、New-SqlAvailabilityGroup コマンドレットを実行して可用性グループを作成し、AvailabilityReplica パラメーターの値として AvailabilityReplica オブジェクトを指定します。
</maml:para><maml:para>AsTemplate を指定した場合、InputObject パラメーターおよび Path パラメーターは無視されます。
</maml:para><maml:para>AsTemplate を指定した場合は、SQL Server のバージョンを Version パラメーターに渡す必要があります。または、現在のセッションがインスタンスに対するアクティブな接続を保持している必要があります。
</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>0 ~ 100 の範囲の整数を使用して、バックアップを実行するときのレプリカの優先度を指定します。使用可能なオンラインのレプリカのセットのうち、最も高い優先度を持つレプリカがバックアップの対象として選択されます。
</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>プライマリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowReadWriteConnections: 読み取り/書き込み接続を許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>セカンダリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowNoConnections: 接続を許可しません。
</maml:para><maml:para>AllowReadIntentConnectionsOnly: 読み取りを目的とした接続のみを許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>読み取り専用接続のためにレプリカにルーティングするときに使用する、接続の完全修飾ドメイン名 (FQDN) およびポートです。例:
</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>この可用性レプリカを介して読み取り専用接続をリダイレクトするときに、接続ディレクターで使用されるプローブ シーケンスを表す、レプリカ サーバー名の順序付きリストです。これは、可用性レプリカが可用性グループの現在のプライマリのときにのみ適用されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>プライマリ レプリカとこのレプリカとの間の応答を待機する秒数です。この期間を過ぎると、接続に失敗したと見なされます。
</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>SQL Server のバージョンを指定します。このパラメーターは、AsTemplate が指定された場合にのみ有効です。テンプレート オブジェクトは、このバージョンのサーバーでデザイン モードで作成されます。
</maml:para><maml:para>Version は、必要に応じて整数または文字列として指定できます。例: -Version %PRODUCT_MAJOR_VER%, または -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>レプリカが同期コミット モードか非同期コミット モードかを示します。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>データベース ミラーリング エンドポイントの URL です。この URL は、"TCP://system-address:port" 形式の TCP アドレスです。
</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>Automatic または Manual を指定できます。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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>新しい可用性レプリカの名前です。名前は、"コンピューター\インスタンス" 形式で指定します。
</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>新しいレプリカが属する可用性グループの AvailabilityGroup オブジェクトです。
</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>0 ~ 100 の範囲の整数を使用して、バックアップを実行するときのレプリカの優先度を指定します。使用可能なオンラインのレプリカのセットのうち、最も高い優先度を持つレプリカがバックアップの対象として選択されます。
</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>プライマリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowReadWriteConnections: 読み取り/書き込み接続を許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>セカンダリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowNoConnections: 接続を許可しません。
</maml:para><maml:para>AllowReadIntentConnectionsOnly: 読み取りを目的とした接続のみを許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>読み取り専用接続のためにレプリカにルーティングするときに使用する、接続の完全修飾ドメイン名 (FQDN) およびポートです。例:
</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>この可用性レプリカを介して読み取り専用接続をリダイレクトするときに、接続ディレクターで使用されるプローブ シーケンスを表す、レプリカ サーバー名の順序付きリストです。これは、可用性レプリカが可用性グループの現在のプライマリのときにのみ適用されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>プライマリ レプリカとこのレプリカとの間の応答を待機する秒数です。この期間を過ぎると、接続に失敗したと見なされます。
</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>レプリカが同期コミット モードか非同期コミット モードかを示します。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>データベース ミラーリング エンドポイントの URL です。この URL は、"TCP://system-address:port" 形式の TCP アドレスです。
</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>Automatic または Manual を指定できます。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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>一時的な AvailabilityReplica オブジェクトをメモリ内に作成する新しい可用性レプリカへのパスです。AsTemplate を使用して、新しい可用性グループに含めるそれぞれの新しい可用性レプリカを作成します。次に、New-SqlAvailabilityGroup コマンドレットを実行して可用性グループを作成し、AvailabilityReplica パラメーターの値として AvailabilityReplica オブジェクトを指定します。
</maml:para><maml:para>AsTemplate を指定した場合、InputObject パラメーターおよび Path パラメーターは無視されます。
</maml:para><maml:para>AsTemplate を指定した場合は、SQL Server のバージョンを Version パラメーターに渡す必要があります。または、現在のセッションがインスタンスに対するアクティブな接続を保持している必要があります。
</maml:para></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>レプリカが同期コミット モードか非同期コミット モードかを示します。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>0 ~ 100 の範囲の整数を使用して、バックアップを実行するときのレプリカの優先度を指定します。使用可能なオンラインのレプリカのセットのうち、最も高い優先度を持つレプリカがバックアップの対象として選択されます。
</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>プライマリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowReadWriteConnections: 読み取り/書き込み接続を許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>セカンダリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowNoConnections: 接続を許可しません。
</maml:para><maml:para>AllowReadIntentConnectionsOnly: 読み取りを目的とした接続のみを許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>データベース ミラーリング エンドポイントの URL です。この URL は、"TCP://system-address:port" 形式の TCP アドレスです。
</maml:para></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>Automatic または Manual を指定できます。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>新しいレプリカが属する可用性グループの AvailabilityGroup オブジェクトです。
</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>新しい可用性レプリカの名前です。名前は、"コンピューター\インスタンス" 形式で指定します。
</maml:para></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>可用性グループへのパスです。新しいレプリカは、このパスの可用性グループに属します。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></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>読み取り専用接続のためにレプリカにルーティングするときに使用する、接続の完全修飾ドメイン名 (FQDN) およびポートです。例:
</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>この可用性レプリカを介して読み取り専用接続をリダイレクトするときに、接続ディレクターで使用されるプローブ シーケンスを表す、レプリカ サーバー名の順序付きリストです。これは、可用性レプリカが可用性グループの現在のプライマリのときにのみ適用されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>プライマリ レプリカとこのレプリカとの間の応答を待機する秒数です。この期間を過ぎると、接続に失敗したと見なされます。
</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>SQL Server のバージョンを指定します。このパラメーターは、AsTemplate が指定された場合にのみ有効です。テンプレート オブジェクトは、このバージョンのサーバーでデザイン モードで作成されます。
</maml:para><maml:para>Version は、必要に応じて整数または文字列として指定できます。例: -Version %PRODUCT_MAJOR_VER%, または -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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
レプリカの可用性グループを指定します。
 
 
</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>
 
新しく作成された可用性レプリカを含む PowerShell オブジェクトです。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、可用性レプリカのメモリ内表現を作成します。変更はサーバーにコミットされません。このレプリカは、New-SqlAvailabilityGroup コマンドレットの AvailabilityReplica パラメーターに渡す必要があります。このレプリカは、指定された URL にあるデータベース ミラーリング エンドポイントを使用して、可用性グループ内の他のレプリカと通信します。このレプリカは、自動フェールオーバーと同期コミット可用性モードをサポートします。メモリ内表現を作成するには、-AsTemplate パラメーターと -Version パラメーターが必要となります。-Version パラメーターは、このレプリカをホストするサーバー インスタンスのバージョンを指定します。バージョン番号は、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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性レプリカのメモリ内表現を作成します。変更はサーバーにコミットされません。このレプリカは、New-SqlAvailabilityGroup コマンドレットの AvailabilityReplica パラメーターに渡す必要があります。このレプリカは、指定された URL にあるエンドポイントを使用して、可用性グループ内の他のレプリカと通信します。このレプリカは、手動フェールオーバーと非同期コミット可用性モードをサポートします。メモリ内表現を作成するには、-AsTemplate パラメーターと -Version パラメーターが必要となります。-Version パラメーターは、このレプリカをホストするサーバー インスタンスのバージョンを指定します。バージョン番号は、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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、可用性レプリカを "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: 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>Backup-SqlDatabase コマンドレットまたは 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>暗号化アルゴリズムです。指定できる値は、AES128、AES192、AES256、および TripleDes です。</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupEncryptionAlgorithm</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EncryptorName</maml:name><maml:description><maml:para>サーバー証明書またはサーバー非対称キーの名前です。</maml:para></maml: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>暗号化機能の種類です。指定できる値は、ServerCertificate と ServerAsymmetricKey です。</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupEncryptorType</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>NoEncryption</maml:name><maml:description><maml:para>暗号化が無効であることを指定します。このパラメーターは、他のパラメーターと一緒に使用することはできません。</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>暗号化アルゴリズムです。指定できる値は、AES128、AES192、AES256、および TripleDes です。</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupEncryptionAlgorithm</command:parameterValue><dev:type><maml:name>BackupEncryptionAlgorithm</maml:name><maml:uri /></dev:type><dev:defaultValue></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>サーバー証明書またはサーバー非対称キーの名前です。</maml:para></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>暗号化機能の種類です。指定できる値は、ServerCertificate と ServerAsymmetricKey です。</maml:para></maml:description><command:parameterValue required="true" variableLength="false">BackupEncryptorType</command:parameterValue><dev:type><maml:name>BackupEncryptorType</maml:name><maml:uri /></dev:type><dev:defaultValue></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>暗号化が無効であることを指定します。このパラメーターは、他のパラメーターと一緒に使用することはできません。</maml:para></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>Backup-SqlDatabase および Set-SqlSmartAdmin の –EncryptionOption パラメーターへの入力として使用されます。</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>この例では、暗号化オプションを作成し、それを Backup-SqlDatabase のパラメーター値として使用して暗号化されたバックアップを作成します。</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>新しい 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>New-SqlCredential コマンドレットでは、新しい SQL Server 資格情報オブジェクトを作成します。SQL Server 資格情報オブジェクトは、認証情報を格納するために使用されます。SQL Server 資格情報は、Windows Azure ストレージ サービスへのバックアップ時や Windows Azure ストレージ サービスからの復元時に必要です。また、この資格情報を使用して 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>資格情報の名前。
</maml:para></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>操作を実行する 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>ProviderName</maml:name><maml:description><maml:para>暗号化サービス プロバイダーの名前。拡張キー管理プロバイダー (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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>ユーザーまたはアカウントのパスワードです。Windows Azure ストレージ サービス認証の場合、これがストレージ アカウントのアクセス キー値になります。
</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>ユーザーまたはアカウントの名前です。Windows Azure ストレージ サービス認証の場合、これが 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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>資格情報の名前。
</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>資格情報が作成される 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>ProviderName</maml:name><maml:description><maml:para>暗号化サービス プロバイダーの名前。拡張キー管理プロバイダー (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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>ユーザーまたはアカウントのパスワードです。Windows Azure ストレージ サービス認証の場合、これがストレージ アカウントのアクセス キー値になります。
</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>ユーザーまたはアカウントの名前です。Windows Azure ストレージ サービス認証の場合、これが 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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>ユーザーまたはアカウントの名前です。Windows Azure ストレージ サービス認証の場合、これが 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>資格情報が作成される 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="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases=""><maml:name>Name</maml:name><maml:description><maml:para>資格情報の名前。
</maml:para></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>操作を実行する 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>ProviderName</maml:name><maml:description><maml:para>暗号化サービス プロバイダーの名前。拡張キー管理プロバイダー (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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>ユーザーまたはアカウントのパスワードです。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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドでは、SQL Server の現在のインスタンスに SQL 資格情報 "mysqlcredential" を作成します。
</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>このコマンドでは、SQL Server のすべてのインスタンスに SQL 資格情報 "mysqlcredential" を作成します。
</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>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>New-SqlHadrndpoint コマンドレットは、指定された SQL Server のインスタンスにデータベース ミラーリング エンドポイントを作成します。このエンドポイントは、可用性グループの可用性レプリカをホストするすべてのサーバー インスタンスで必要です。各サーバー インスタンスに配置できるデータベース ミラーリング エンドポイントは 1 つだけです。サーバー インスタンスに既にデータベース ミラーリング エンドポイントが存在する場合は、既存のエンドポイントを使用してください。
</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>作成するエンドポイントの名前です。このパラメーターは必須です。
</maml:para></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>エンドポイントを作成する 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>AuthenticationOrder</maml:name><maml:description><maml:para>エンドポイントによって使用される認証の順序と種類です。使用可能なオプションは、Certificate、CertificateKerberos、CertificateNegotiate、CertificateNtlm、Kerberos、KerberosCertificate、Negotiate、NegotiateCertificate、Ntlm、NtlmCertificate です。指定したオプションで証明書が必要な場合は、-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>エンドポイントが接続を認証するために必要な証明書の名前です。反対側のエンドポイントは、指定された証明書の秘密キーと一致する公開キー付きの証明書を持っている必要があります。
</maml:para></maml: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>エンドポイントの暗号化オプションです。使用可能なオプションは、Disabled、Supported、Required です。既定値は 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>エンドポイントによって使用される暗号化の形式です。使用可能なオプションは、Aes、AesRC4、None、RC4、RC4Aes です。既定では、エンドポイントは AES 暗号化を使用します。
</maml:para><maml:para>メモ: RC4 アルゴリズムは、旧バージョンとの互換性のためにのみサポートされています。データベース互換性レベルが 90 または 100 の場合、新しい素材は RC4 または RC4_128 を使用してのみ暗号化できます (推奨されません)。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>エンドポイントがリッスンする IP アドレスです。既定値は ALL で、リスナーは有効なすべての IP アドレスでの接続を許可します。
</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>エンドポイントの所有者のログインです。既定では、これが現在のログインです。
</maml:para></maml: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>エンドポイントが接続をリッスンするために使用する TCP ポートです。既定のポートは 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>作成するエンドポイントの名前です。このパラメーターは必須です。
</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>エンドポイントを作成する必要のある SQL Server インスタンスの 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>AuthenticationOrder</maml:name><maml:description><maml:para>エンドポイントによって使用される認証の順序と種類です。使用可能なオプションは、Certificate、CertificateKerberos、CertificateNegotiate、CertificateNtlm、Kerberos、KerberosCertificate、Negotiate、NegotiateCertificate、Ntlm、NtlmCertificate です。指定したオプションで証明書が必要な場合は、-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>エンドポイントが接続を認証するために必要な証明書の名前です。反対側のエンドポイントは、指定された証明書の秘密キーと一致する公開キー付きの証明書を持っている必要があります。
</maml:para></maml: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>エンドポイントの暗号化オプションです。使用可能なオプションは、Disabled、Supported、Required です。既定値は 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>エンドポイントによって使用される暗号化の形式です。使用可能なオプションは、Aes、AesRC4、None、RC4、RC4Aes です。既定では、エンドポイントは AES 暗号化を使用します。
</maml:para><maml:para>メモ: RC4 アルゴリズムは、旧バージョンとの互換性のためにのみサポートされています。データベース互換性レベルが 90 または 100 の場合、新しい素材は RC4 または RC4_128 を使用してのみ暗号化できます (推奨されません)。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>エンドポイントがリッスンする IP アドレスです。既定値は ALL で、リスナーは有効なすべての IP アドレスでの接続を許可します。
</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>エンドポイントの所有者のログインです。既定では、これが現在のログインです。
</maml:para></maml: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>エンドポイントが接続をリッスンするために使用する TCP ポートです。既定のポートは 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>エンドポイントによって使用される認証の順序と種類です。使用可能なオプションは、Certificate、CertificateKerberos、CertificateNegotiate、CertificateNtlm、Kerberos、KerberosCertificate、Negotiate、NegotiateCertificate、Ntlm、NtlmCertificate です。指定したオプションで証明書が必要な場合は、-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>エンドポイントが接続を認証するために必要な証明書の名前です。反対側のエンドポイントは、指定された証明書の秘密キーと一致する公開キー付きの証明書を持っている必要があります。
</maml:para></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>エンドポイントの暗号化オプションです。使用可能なオプションは、Disabled、Supported、Required です。既定値は 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>エンドポイントによって使用される暗号化の形式です。使用可能なオプションは、Aes、AesRC4、None、RC4、RC4Aes です。既定では、エンドポイントは AES 暗号化を使用します。
</maml:para><maml:para>メモ: RC4 アルゴリズムは、旧バージョンとの互換性のためにのみサポートされています。データベース互換性レベルが 90 または 100 の場合、新しい素材は RC4 または RC4_128 を使用してのみ暗号化できます (推奨されません)。AES アルゴリズムのいずれかなど、新しいアルゴリズムを使用してください。
</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>エンドポイントを作成する必要のある SQL Server インスタンスの 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>IpAddress</maml:name><maml:description><maml:para>エンドポイントがリッスンする IP アドレスです。既定値は ALL で、リスナーは有効なすべての IP アドレスでの接続を許可します。
</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>作成するエンドポイントの名前です。このパラメーターは必須です。
</maml:para></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>エンドポイントの所有者のログインです。既定では、これが現在のログインです。
</maml:para></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>エンドポイントを作成する 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>Port</maml:name><maml:description><maml:para>エンドポイントが接続をリッスンするために使用する TCP ポートです。既定のポートは 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
このパラメーターは、エンドポイントの作成先となるサーバー インスタンスを指定します。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、指定されたパスにあるサーバー インスタンスに "MyEndpoint" という名前のデータベース ミラーリング エンドポイントを作成します。このエンドポイントは、既定のポート 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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、指定されたパスにあるサーバー インスタンスに "MyEndpoint" という名前のデータベース ミラーリング エンドポイントを作成します。このエンドポイントはポート 4022 でリッスンします。このエンドポイントは暗号化に AES アルゴリズムを使用し、接続の暗号化が必須となります。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、指定されたパスにあるサーバー インスタンスに "MyEndpoint" という名前のデータベース ミラーリング エンドポイントを作成します。このエンドポイントは、"MyCertificate" という名前の証明書を使用して接続を認証します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、指定されたパスにあるサーバー インスタンスに "MyEndpoint" という名前のデータベース ミラーリング エンドポイントを作成する Transact-SQL スクリプトを出力します。このコマンドでエンドポイントが実際に作成されるわけではありません。
</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>InputObject パラメーターまたは Path パラメーターで指定された可用性データベースを、その可用性グループから削除します。</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>Remove-SqlAvailabilityDatabase コマンドレットは、InputObject パラメーターまたは Path パラメーターで指定された可用性データベースを、その可用性グループから削除します。プライマリ レプリカをホストするサーバー インスタンスでこのコマンドレットを実行すると、プライマリ データベースおよび対応するすべてのセカンダリ データベースが可用性グループから削除されます。セカンダリ レプリカをホストするサーバー インスタンスでこのコマンドレットを実行すると、ローカル セカンダリ データベースだけが可用性グループから削除されます。その結果、このセカンダリ データベースの可用性グループへの参加は取り消されますが、データベースの他のコピーは可用性グループに参加したままになります。
</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>可用性データベースのパスです。このパラメーターは必須です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>削除する可用性データベースの AvailabilityDatabase オブジェクトです。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>削除する可用性データベースの AvailabilityDatabase オブジェクトです。
</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>可用性データベースのパスです。このパラメーターは必須です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
削除する可用性データベースを指定します。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、"MyAg" という名前の可用性グループから "MyDatabase" という可用性データベースを削除します。このコマンドはプライマリ レプリカをホストするサーバー インスタンスで実行されるため、プライマリ データベースおよび対応するすべてのセカンダリ データベースが可用性グループから削除されます。どのセカンダリ レプリカでも、このデータベースに対してデータ同期は行われなくなります。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、"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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、"SecondaryComputer\Instance" という名前のサーバー インスタンスにホストされたセカンダリ レプリカから、セカンダリ データベース "MyDatabase" を削除します。削除されたセカンダリ データベースへのデータ同期は行われなくなります。このコマンドは、プライマリ データベースまたはその他のセカンダリ データベースには影響しません。
</maml:para><maml:para>メモ: このセカンダリ データベースでデータ同期を再開するには、同じサーバー インスタンスで Add-SqlAvailabilityDatabase コマンドレットを使用して、このセカンダリ データベースを可用性グループに再度参加させてください。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性グループ "MyAg" から可用性データベース "MyDatabase" を削除する Transact-SQL コマンドを出力します。このコマンドで可用性データベースが実際に削除されるわけではありません。
</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>InputObject パラメーターまたは 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>Remove-SqlAvailabilityGroup コマンドレットは、InputObject パラメーターまたは Path パラメーターで指定された可用性グループを削除します。このコマンドレットでは、部分的に作成された可用性グループを削除できます。このコマンドレットを実行できる SQL Server インスタンスは、可用性グループの適切なセキュリティ資格情報を持つ WSFC ノード上の AlwaysOn 可用性グループに対して有効になっている SQL Server インスタンスです。このコマンドレットを実行するインスタンスが AlwaysOn 可用性グループに対して有効でない場合、または Path パラメーターで指定された可用性グループが存在しない場合、エラーがスローされます。
</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>可用性グループへのパスです。このパラメーターは必須です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>削除する可用性グループの AvailabilityGroup オブジェクトです。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>削除する可用性グループの AvailabilityGroup オブジェクトです。
</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>可用性グループへのパスです。このパラメーターは必須です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"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;Get-ChildItem SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups | Remove-SqlAvailabilityGroup
 
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性レプリカが "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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"MyAg" という名前の可用性グループを削除する Transact-SQL スクリプトを出力します。このコマンドで可用性グループが実際に削除されることはありません。
</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>InputObject パラメーターまたは 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>Remove-SqlAvailabilityGroup コマンドレットは、InputObject パラメーターまたは Path パラメーターで指定されたセカンダリ レプリカを削除します。このコマンドレットは、プライマリ レプリカをホストするサーバー インスタンスでのみ実行できます。
</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>可用性レプリカへのパスです。このパラメーターは必須です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>削除する必要のあるレプリカの AvailabilityReplica オブジェクトです。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>削除する必要のあるレプリカの AvailabilityReplica オブジェクトです。
</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>可用性レプリカへのパスです。このパラメーターは必須です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
削除する可用性レプリカです。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、"MyAg" という名前の可用性グループから "MyReplica" という可用性レプリカを削除します。このコマンドは、可用性グループのプライマリ レプリカをホストするサーバー インスタンスで実行する必要があります。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性グループ "MyAg" から可用性レプリカ "MyReplica" を削除する Transact-SQL スクリプトを出力します。このコマンドでレプリカが実際に削除されるわけではありません。
</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>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>Remove-SqlCredential コマンドレットは、SQL Server 資格情報オブジェクトを削除します。このコマンドレットでは、次の 2 つの操作モードがサポートされています。
 
1.-path パラメーターを使用して、資格情報名を含む資格情報のパスまたは場所を指定する。
 
2.–InputObject パラメーターを使用して、Smo.Credential オブジェクトをこのオブジェクトに渡す。
</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>この操作の実行対象となる資格情報のパスです。例: 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>資格情報の入力オブジェクトです。このオブジェクトは、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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>資格情報の入力オブジェクトです。このオブジェクトは、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>この操作の実行対象となる資格情報のパスです。例: 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは、-path パラメーターで指定したパスを使用して、SQL 資格情報 "MySqlCredential" を削除します。
</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>SQL Server の特定のインスタンスへの接続を許可する Windows ファイアウォール ルールを無効にします。</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>SQL Server の特定のインスタンスへの接続を許可する Windows ファイアウォール ルールを無効にします。</maml:para><maml:para>SQL Server クラウド アダプターが、SQL Server のインスタンスをホストするコンピューターで実行され、アクセス可能である必要があります。</maml:para><maml:para>このコマンドレットでは、次の操作モードがサポートされています。</maml:para><maml:para>1.インスタンスの PowerShell パスを指定する。</maml:para><maml:para>2.サーバー オブジェクトを指定する。</maml:para><maml:para>3.SQL Server のターゲット インスタンスの ServerInstance を指定する。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>ターゲット インスタンスのサーバー オブジェクトです。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>コマンドレットが、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="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>ターゲット インスタンスのサーバー オブジェクトです。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは、このコンピューターで SQL Server インスタンス "Instance" への接続をブロックするように、コンピューター "Computer" の Windows ファイアウォール ルールを無効にします。現在の作業ディレクトリを使用して、操作が実行されるサーバー インスタンスを確認します。対象コンピューターの自己署名証明書は、ユーザーに問い合わせることなく自動的に受け入れられます。</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>データベースの全体または一部、あるいはトランザクション ログ レコードのバックアップを復元します。</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>Restore-SqlDatabase コマンドレットにより、SQL Server データベースで復元操作が実行されます。これには、データベースの完全復元、トランザクション ログの復元、およびデータベース ファイルの復元が含まれます。このコマンドレットは、Microsoft.SqlServer.Management.Smo.Restore クラスを基に作成されています。このクラスのパラメーターは、通常、この 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>復元するデータベースの名前です。-DatabaseObject パラメーターと共に使用することはできません。
</maml:para><maml:para>-Database パラメーターを使用したら、-Path、-InputObject、または -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>バックアップ ファイルが格納される 1 つまたは複数の場所です。これは省略可能なパラメーターです。このパラメーターが指定されていない場合、サーバーの既定のバックアップ場所で、ログの復元では "databasename.trn"、その他の種類の復元では "databasename.bak" という名前が検索されます。このパラメーターは、BackupDevice パラメーターと共に使用できません。Windows Azure BLOB ストレージ サービス (URL) にバックアップする場合、このパラメーターまたは 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>バックアップが格納されるデバイスです。このパラメーターは、BackupFile パラメーターと共に使用できません。テープ デバイスにバックアップする場合にこのパラメーターを使用します。
</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>バックアップの物理ブロック サイズ (バイト単位) です。サポートされるサイズは、512、1024、2048、4096、8192、16384、32768、および 65536 (64 KB) バイトです。テープ デバイスの場合の既定値は 65536 バイトで、他のデバイスの場合の既定値は 512 バイトです。
</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>バックアップ操作に使用される I/O バッファーの総数です。任意の正の整数値を指定できます。バッファー数が多いと 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>復元操作中にチェックサム値を計算します。このパラメーターを設定しない場合、チェックサムは計算されません。
</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>復元操作後に未確認のページ テーブルを削除します。設定されていない場合は、未確認のページ テーブルに対して何も行われません。
</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>チェックサム エラーが発生しても操作が続行されます。このパラメーターを設定しない場合、チェックサム エラーが発生すると操作が失敗します。
</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>復元操作の対象となるデータベース ファイルです。RestoreAction プロパティが Files に設定されている場合にのみ使用します。RestoreAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>復元操作の対象となるデータベース ファイル グループです。RestoreAction プロパティが File に設定されている場合にのみ使用します。RestoreAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ メディア上の対象のバックアップ セットを識別するために使用されるインデックス番号です。
</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>レプリケーション構成を予約します。設定されていない場合、レプリケーション構成は復元操作によって無視されます。
</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>バックアップ メディアと SQL Server のインスタンス間で転送される最大バイト数です。有効値は 65536 バイト (64 KB) の倍数で、最大有効値は 4194304 バイト (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>特定のメディア セットを識別するために使用する名前です。
</maml:para></maml: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>データベースが復元中の状態になります。ロールバックは行われません。別のバックアップを復元できます。
</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>復元の完了時に、テープ ドライブが終了位置で開いた状態になります。このパラメーターを設定しないと、操作の完了後、テープが巻き戻されます。ディスクの復元には適用されません。
</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>復元するページ アドレスです。-RestoreAction を 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>復元操作は部分的な復元です。
</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>バックアップ操作を実行するために使用される Smo Backup オブジェクトを出力します。
</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>復元操作を実行する SQL Server インスタンスのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、現在の場所が使用されます。
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RelocateFile</maml:name><maml:description><maml:para>Smo.Relocate ファイル オブジェクトの一覧です。それぞれのオブジェクトは、論理バックアップ ファイル名と物理ファイル システムの場所で構成されます。復元操作を実行すると、復元されたデータベースが対象サーバー上の指定された物理的な場所に移動されます。
</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>データベースの新しいイメージを作成します。同じ名前を持つ既存のデータベースは上書きされます。このオプションを設定しない場合、同じ名前を持つデータベースが既に存在していると、復元操作は失敗します。
</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>部分的に完了した復元操作の処理を続行します。このオプションを設定しない場合 (既定値)、中断された復元操作は、バックアップ セットの先頭から再開されます。
</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>実行する復元操作の種類です。有効なオプションは、Database、Files、Log、OnlinePage、および OnlineFiles です。
</maml:para><maml:para>Database: データベースを復元します。
</maml:para><maml:para>Files: 1 つ以上のデータ ファイルを復元します。DatabaseFile パラメーターまたは DatabaseFileGroup パラメーターを設定する必要があります。
</maml:para><maml:para>Log: トランザクション ログを復元します。
</maml:para><maml:para>OnlinePage: 他のユーザーがデータベースを利用できる場合でも、オンラインのデータ ページを復元します。
</maml:para><maml:para>OnlineFiles: 他のユーザーがデータベースを利用できる場合でも、1 つ以上のデータ ファイルを復元します。DatabaseFile パラメーターまたは 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>復元したデータベースへのデータベース アクセスを、固定データベース ロール db_owner と、固定サーバー ロール dbcreator および 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>Windows Azure BLOB ストレージ サービスを認証するための認証情報が格納された SQL Server 資格情報です。格納される認証情報には、Windows Azure ストレージ アカウントの名前および関連付けられているアクセス キー値が含まれます。これは、Windows Azure BLOB ストレージ サービス (URL) から復元する場合の必須パラメーターです。このパラメーターは、ディスクまたはテープでは使用されません。
</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>SQL Server インスタンスのイメージング方法の一部として使用される UNDO ファイルの名前です。
</maml:para></maml: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>復旧操作の停止位置を表すために StopAtMarkName パラメーターで指定されたマーク名と共に使用される日付を指定します。
</maml:para></maml: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>マークされたトランザクションの後に復旧を停止します。復旧操作の停止位置を表すために StopAtMarkAfterDate パラメーターと共に使用します。復旧には、マークを含むトランザクションが含まれます。StopAtMarkAfterDate 値を設定しない場合、指定した名前の最初のマークで復旧が停止します。
</maml:para></maml: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>復旧操作の停止位置を表すために StopBeforeMarkName と共に使用される日付を指定します。
</maml:para></maml: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>マークされたトランザクションの前に復旧を停止します。復旧操作の停止位置を表すために StopBeforeMarkAfterDate と共に使用します。
</maml:para></maml: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>データベース ログの復元のエンドポイントです。-RestoreAction パラメーターを 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>操作の完了後、テープ デバイスが巻き戻され、アンロードされます。このパラメーターを設定しない場合、テープ メディアの巻き戻しやアンロードは行われません。ディスク バックアップには適用されません。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>復元するデータベースの名前です。-DatabaseObject パラメーターと共に使用することはできません。
</maml:para><maml:para>-Database パラメーターを使用したら、-Path、-InputObject、または -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>バックアップ ファイルが格納される 1 つまたは複数の場所です。これは省略可能なパラメーターです。このパラメーターが指定されていない場合、サーバーの既定のバックアップ場所で、ログの復元では "databasename.trn"、その他の種類の復元では "databasename.bak" という名前が検索されます。このパラメーターは、BackupDevice パラメーターと共に使用できません。Windows Azure BLOB ストレージ サービス (URL) にバックアップする場合、このパラメーターまたは 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>バックアップが格納されるデバイスです。このパラメーターは、BackupFile パラメーターと共に使用できません。テープ デバイスにバックアップする場合にこのパラメーターを使用します。
</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>バックアップの物理ブロック サイズ (バイト単位) です。サポートされるサイズは、512、1024、2048、4096、8192、16384、32768、および 65536 (64 KB) バイトです。テープ デバイスの場合の既定値は 65536 バイトで、他のデバイスの場合の既定値は 512 バイトです。
</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>バックアップ操作に使用される I/O バッファーの総数です。任意の正の整数値を指定できます。バッファー数が多いと 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>復元操作中にチェックサム値を計算します。このパラメーターを設定しない場合、チェックサムは計算されません。
</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>復元操作後に未確認のページ テーブルを削除します。設定されていない場合は、未確認のページ テーブルに対して何も行われません。
</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>タイムアウト エラーが発生するまで、サーバーの接続を待機する秒数です。タイムアウト値には、0 ~ 65,534 の範囲の整数値を指定する必要があります。0 を指定した場合、接続の試行はタイムアウトしません。
</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>チェックサム エラーが発生しても操作が続行されます。このパラメーターを設定しない場合、チェックサム エラーが発生すると操作が失敗します。
</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>この操作の実行権限を持つ SQL Server ログインに資格情報を指定する PSCredential オブジェクトです。
</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>復元操作の対象となるデータベース ファイルです。RestoreAction プロパティが Files に設定されている場合にのみ使用します。RestoreAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>復元操作の対象となるデータベース ファイル グループです。RestoreAction プロパティが File に設定されている場合にのみ使用します。RestoreAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ メディア上の対象のバックアップ セットを識別するために使用されるインデックス番号です。
</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>レプリケーション構成を予約します。設定されていない場合、レプリケーション構成は復元操作によって無視されます。
</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>バックアップ メディアと SQL Server のインスタンス間で転送される最大バイト数です。有効値は 65536 バイト (64 KB) の倍数で、最大有効値は 4194304 バイト (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>特定のメディア セットを識別するために使用する名前です。
</maml:para></maml: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>データベースが復元中の状態になります。ロールバックは行われません。別のバックアップを復元できます。
</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>復元の完了時に、テープ ドライブが終了位置で開いた状態になります。このパラメーターを設定しないと、操作の完了後、テープが巻き戻されます。ディスクの復元には適用されません。
</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>復元するページ アドレスです。-RestoreAction を 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>復元操作は部分的な復元です。
</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>バックアップ操作を実行するために使用される Smo Backup オブジェクトを出力します。
</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>Smo.Relocate ファイル オブジェクトの一覧です。それぞれのオブジェクトは、論理バックアップ ファイル名と物理ファイル システムの場所で構成されます。復元操作を実行すると、復元されたデータベースが対象サーバー上の指定された物理的な場所に移動されます。
</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>データベースの新しいイメージを作成します。同じ名前を持つ既存のデータベースは上書きされます。このオプションを設定しない場合、同じ名前を持つデータベースが既に存在していると、復元操作は失敗します。
</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>部分的に完了した復元操作の処理を続行します。このオプションを設定しない場合 (既定値)、中断された復元操作は、バックアップ セットの先頭から再開されます。
</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>実行する復元操作の種類です。有効なオプションは、Database、Files、Log、OnlinePage、および OnlineFiles です。
</maml:para><maml:para>Database: データベースを復元します。
</maml:para><maml:para>Files: 1 つ以上のデータ ファイルを復元します。DatabaseFile パラメーターまたは DatabaseFileGroup パラメーターを設定する必要があります。
</maml:para><maml:para>Log: トランザクション ログを復元します。
</maml:para><maml:para>OnlinePage: 他のユーザーがデータベースを利用できる場合でも、オンラインのデータ ページを復元します。
</maml:para><maml:para>OnlineFiles: 他のユーザーがデータベースを利用できる場合でも、1 つ以上のデータ ファイルを復元します。DatabaseFile パラメーターまたは 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>復元したデータベースへのデータベース アクセスを、固定データベース ロール db_owner と、固定サーバー ロール dbcreator および 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>Windows Azure BLOB ストレージ サービスを認証するための認証情報が格納された SQL Server 資格情報です。格納される認証情報には、Windows Azure ストレージ アカウントの名前および関連付けられているアクセス キー値が含まれます。これは、Windows Azure BLOB ストレージ サービス (URL) から復元する場合の必須パラメーターです。このパラメーターは、ディスクまたはテープでは使用されません。
</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>SQL Server インスタンスのイメージング方法の一部として使用される UNDO ファイルの名前です。
</maml:para></maml: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>復旧操作の停止位置を表すために StopAtMarkName パラメーターで指定されたマーク名と共に使用される日付を指定します。
</maml:para></maml: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>マークされたトランザクションの後に復旧を停止します。復旧操作の停止位置を表すために StopAtMarkAfterDate パラメーターと共に使用します。復旧には、マークを含むトランザクションが含まれます。StopAtMarkAfterDate 値を設定しない場合、指定した名前の最初のマークで復旧が停止します。
</maml:para></maml: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>復旧操作の停止位置を表すために StopBeforeMarkName と共に使用される日付を指定します。
</maml:para></maml: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>マークされたトランザクションの前に復旧を停止します。復旧操作の停止位置を表すために StopBeforeMarkAfterDate と共に使用します。
</maml:para></maml: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>データベース ログの復元のエンドポイントです。-RestoreAction パラメーターを 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>操作の完了後、テープ デバイスが巻き戻され、アンロードされます。このパラメーターを設定しない場合、テープ メディアの巻き戻しやアンロードは行われません。ディスク バックアップには適用されません。
</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>SQL Server のインスタンスの名前です。このサーバー インスタンスが、復元操作の対象となります。
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>復元するデータベースの名前です。-DatabaseObject パラメーターと共に使用することはできません。
</maml:para><maml:para>-Database パラメーターを使用したら、-Path、-InputObject、または -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>バックアップ ファイルが格納される 1 つまたは複数の場所です。これは省略可能なパラメーターです。このパラメーターが指定されていない場合、サーバーの既定のバックアップ場所で、ログの復元では "databasename.trn"、その他の種類の復元では "databasename.bak" という名前が検索されます。このパラメーターは、BackupDevice パラメーターと共に使用できません。Windows Azure BLOB ストレージ サービス (URL) にバックアップする場合、このパラメーターまたは 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>バックアップが格納されるデバイスです。このパラメーターは、BackupFile パラメーターと共に使用できません。テープ デバイスにバックアップする場合にこのパラメーターを使用します。
</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>バックアップの物理ブロック サイズ (バイト単位) です。サポートされるサイズは、512、1024、2048、4096、8192、16384、32768、および 65536 (64 KB) バイトです。テープ デバイスの場合の既定値は 65536 バイトで、他のデバイスの場合の既定値は 512 バイトです。
</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>バックアップ操作に使用される I/O バッファーの総数です。任意の正の整数値を指定できます。バッファー数が多いと 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>復元操作中にチェックサム値を計算します。このパラメーターを設定しない場合、チェックサムは計算されません。
</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>復元操作後に未確認のページ テーブルを削除します。設定されていない場合は、未確認のページ テーブルに対して何も行われません。
</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>チェックサム エラーが発生しても操作が続行されます。このパラメーターを設定しない場合、チェックサム エラーが発生すると操作が失敗します。
</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>復元操作の対象となるデータベース ファイルです。RestoreAction プロパティが Files に設定されている場合にのみ使用します。RestoreAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>復元操作の対象となるデータベース ファイル グループです。RestoreAction プロパティが File に設定されている場合にのみ使用します。RestoreAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ メディア上の対象のバックアップ セットを識別するために使用されるインデックス番号です。
</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>レプリケーション構成を予約します。設定されていない場合、レプリケーション構成は復元操作によって無視されます。
</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>バックアップ メディアと SQL Server のインスタンス間で転送される最大バイト数です。有効値は 65536 バイト (64 KB) の倍数で、最大有効値は 4194304 バイト (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>特定のメディア セットを識別するために使用する名前です。
</maml:para></maml: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>データベースが復元中の状態になります。ロールバックは行われません。別のバックアップを復元できます。
</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>復元の完了時に、テープ ドライブが終了位置で開いた状態になります。このパラメーターを設定しないと、操作の完了後、テープが巻き戻されます。ディスクの復元には適用されません。
</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>復元するページ アドレスです。-RestoreAction を 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>復元操作は部分的な復元です。
</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>バックアップ操作を実行するために使用される Smo Backup オブジェクトを出力します。
</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>Smo.Relocate ファイル オブジェクトの一覧です。それぞれのオブジェクトは、論理バックアップ ファイル名と物理ファイル システムの場所で構成されます。復元操作を実行すると、復元されたデータベースが対象サーバー上の指定された物理的な場所に移動されます。
</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>データベースの新しいイメージを作成します。同じ名前を持つ既存のデータベースは上書きされます。このオプションを設定しない場合、同じ名前を持つデータベースが既に存在していると、復元操作は失敗します。
</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>部分的に完了した復元操作の処理を続行します。このオプションを設定しない場合 (既定値)、中断された復元操作は、バックアップ セットの先頭から再開されます。
</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>実行する復元操作の種類です。有効なオプションは、Database、Files、Log、OnlinePage、および OnlineFiles です。
</maml:para><maml:para>Database: データベースを復元します。
</maml:para><maml:para>Files: 1 つ以上のデータ ファイルを復元します。DatabaseFile パラメーターまたは DatabaseFileGroup パラメーターを設定する必要があります。
</maml:para><maml:para>Log: トランザクション ログを復元します。
</maml:para><maml:para>OnlinePage: 他のユーザーがデータベースを利用できる場合でも、オンラインのデータ ページを復元します。
</maml:para><maml:para>OnlineFiles: 他のユーザーがデータベースを利用できる場合でも、1 つ以上のデータ ファイルを復元します。DatabaseFile パラメーターまたは 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>復元したデータベースへのデータベース アクセスを、固定データベース ロール db_owner と、固定サーバー ロール dbcreator および 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>Windows Azure BLOB ストレージ サービスを認証するための認証情報が格納された SQL Server 資格情報です。格納される認証情報には、Windows Azure ストレージ アカウントの名前および関連付けられているアクセス キー値が含まれます。これは、Windows Azure BLOB ストレージ サービス (URL) から復元する場合の必須パラメーターです。このパラメーターは、ディスクまたはテープでは使用されません。
</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>SQL Server インスタンスのイメージング方法の一部として使用される UNDO ファイルの名前です。
</maml:para></maml: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>復旧操作の停止位置を表すために StopAtMarkName パラメーターで指定されたマーク名と共に使用される日付を指定します。
</maml:para></maml: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>マークされたトランザクションの後に復旧を停止します。復旧操作の停止位置を表すために StopAtMarkAfterDate パラメーターと共に使用します。復旧には、マークを含むトランザクションが含まれます。StopAtMarkAfterDate 値を設定しない場合、指定した名前の最初のマークで復旧が停止します。
</maml:para></maml: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>復旧操作の停止位置を表すために StopBeforeMarkName と共に使用される日付を指定します。
</maml:para></maml: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>マークされたトランザクションの前に復旧を停止します。復旧操作の停止位置を表すために StopBeforeMarkAfterDate と共に使用します。
</maml:para></maml: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>データベース ログの復元のエンドポイントです。-RestoreAction パラメーターを 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>操作の完了後、テープ デバイスが巻き戻され、アンロードされます。このパラメーターを設定しない場合、テープ メディアの巻き戻しやアンロードは行われません。ディスク バックアップには適用されません。
</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>復元を実行する必要がある SQL Server インスタンスの 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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>データベース オブジェクトです。復元操作では、バックアップがこのデータベースに復元されます。
</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>バックアップ ファイルが格納される 1 つまたは複数の場所です。これは省略可能なパラメーターです。このパラメーターが指定されていない場合、サーバーの既定のバックアップ場所で、ログの復元では "databasename.trn"、その他の種類の復元では "databasename.bak" という名前が検索されます。このパラメーターは、BackupDevice パラメーターと共に使用できません。Windows Azure BLOB ストレージ サービス (URL) にバックアップする場合、このパラメーターまたは 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>バックアップが格納されるデバイスです。このパラメーターは、BackupFile パラメーターと共に使用できません。テープ デバイスにバックアップする場合にこのパラメーターを使用します。
</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>バックアップの物理ブロック サイズ (バイト単位) です。サポートされるサイズは、512、1024、2048、4096、8192、16384、32768、および 65536 (64 KB) バイトです。テープ デバイスの場合の既定値は 65536 バイトで、他のデバイスの場合の既定値は 512 バイトです。
</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>バックアップ操作に使用される I/O バッファーの総数です。任意の正の整数値を指定できます。バッファー数が多いと 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>復元操作中にチェックサム値を計算します。このパラメーターを設定しない場合、チェックサムは計算されません。
</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>復元操作後に未確認のページ テーブルを削除します。設定されていない場合は、未確認のページ テーブルに対して何も行われません。
</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>チェックサム エラーが発生しても操作が続行されます。このパラメーターを設定しない場合、チェックサム エラーが発生すると操作が失敗します。
</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>復元操作の対象となるデータベース ファイルです。RestoreAction プロパティが Files に設定されている場合にのみ使用します。RestoreAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>復元操作の対象となるデータベース ファイル グループです。RestoreAction プロパティが File に設定されている場合にのみ使用します。RestoreAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>バックアップ メディア上の対象のバックアップ セットを識別するために使用されるインデックス番号です。
</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>レプリケーション構成を予約します。設定されていない場合、レプリケーション構成は復元操作によって無視されます。
</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>バックアップ メディアと SQL Server のインスタンス間で転送される最大バイト数です。有効値は 65536 バイト (64 KB) の倍数で、最大有効値は 4194304 バイト (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>特定のメディア セットを識別するために使用する名前です。
</maml:para></maml: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>データベースが復元中の状態になります。ロールバックは行われません。別のバックアップを復元できます。
</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>復元の完了時に、テープ ドライブが終了位置で開いた状態になります。このパラメーターを設定しないと、操作の完了後、テープが巻き戻されます。ディスクの復元には適用されません。
</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>復元するページ アドレスです。-RestoreAction を 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>復元操作は部分的な復元です。
</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>バックアップ操作を実行するために使用される Smo Backup オブジェクトを出力します。
</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>Smo.Relocate ファイル オブジェクトの一覧です。それぞれのオブジェクトは、論理バックアップ ファイル名と物理ファイル システムの場所で構成されます。復元操作を実行すると、復元されたデータベースが対象サーバー上の指定された物理的な場所に移動されます。
</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>データベースの新しいイメージを作成します。同じ名前を持つ既存のデータベースは上書きされます。このオプションを設定しない場合、同じ名前を持つデータベースが既に存在していると、復元操作は失敗します。
</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>部分的に完了した復元操作の処理を続行します。このオプションを設定しない場合 (既定値)、中断された復元操作は、バックアップ セットの先頭から再開されます。
</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>実行する復元操作の種類です。有効なオプションは、Database、Files、Log、OnlinePage、および OnlineFiles です。
</maml:para><maml:para>Database: データベースを復元します。
</maml:para><maml:para>Files: 1 つ以上のデータ ファイルを復元します。DatabaseFile パラメーターまたは DatabaseFileGroup パラメーターを設定する必要があります。
</maml:para><maml:para>Log: トランザクション ログを復元します。
</maml:para><maml:para>OnlinePage: 他のユーザーがデータベースを利用できる場合でも、オンラインのデータ ページを復元します。
</maml:para><maml:para>OnlineFiles: 他のユーザーがデータベースを利用できる場合でも、1 つ以上のデータ ファイルを復元します。DatabaseFile パラメーターまたは 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>復元したデータベースへのデータベース アクセスを、固定データベース ロール db_owner と、固定サーバー ロール dbcreator および 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>Windows Azure BLOB ストレージ サービスを認証するための認証情報が格納された SQL Server 資格情報です。格納される認証情報には、Windows Azure ストレージ アカウントの名前および関連付けられているアクセス キー値が含まれます。これは、Windows Azure BLOB ストレージ サービス (URL) から復元する場合の必須パラメーターです。このパラメーターは、ディスクまたはテープでは使用されません。
</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>SQL Server インスタンスのイメージング方法の一部として使用される UNDO ファイルの名前です。
</maml:para></maml: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>復旧操作の停止位置を表すために StopAtMarkName パラメーターで指定されたマーク名と共に使用される日付を指定します。
</maml:para></maml: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>マークされたトランザクションの後に復旧を停止します。復旧操作の停止位置を表すために StopAtMarkAfterDate パラメーターと共に使用します。復旧には、マークを含むトランザクションが含まれます。StopAtMarkAfterDate 値を設定しない場合、指定した名前の最初のマークで復旧が停止します。
</maml:para></maml: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>復旧操作の停止位置を表すために StopBeforeMarkName と共に使用される日付を指定します。
</maml:para></maml: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>マークされたトランザクションの前に復旧を停止します。復旧操作の停止位置を表すために StopBeforeMarkAfterDate と共に使用します。
</maml:para></maml: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>データベース ログの復元のエンドポイントです。-RestoreAction パラメーターを 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>操作の完了後、テープ デバイスが巻き戻され、アンロードされます。このパラメーターを設定しない場合、テープ メディアの巻き戻しやアンロードは行われません。ディスク バックアップには適用されません。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>バックアップが格納されるデバイスです。このパラメーターは、BackupFile パラメーターと共に使用できません。テープ デバイスにバックアップする場合にこのパラメーターを使用します。
</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>バックアップ ファイルが格納される 1 つまたは複数の場所です。これは省略可能なパラメーターです。このパラメーターが指定されていない場合、サーバーの既定のバックアップ場所で、ログの復元では "databasename.trn"、その他の種類の復元では "databasename.bak" という名前が検索されます。このパラメーターは、BackupDevice パラメーターと共に使用できません。Windows Azure BLOB ストレージ サービス (URL) にバックアップする場合、このパラメーターまたは 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>バックアップの物理ブロック サイズ (バイト単位) です。サポートされるサイズは、512、1024、2048、4096、8192、16384、32768、および 65536 (64 KB) バイトです。テープ デバイスの場合の既定値は 65536 バイトで、他のデバイスの場合の既定値は 512 バイトです。
</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>バックアップ操作に使用される I/O バッファーの総数です。任意の正の整数値を指定できます。バッファー数が多いと 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>復元操作中にチェックサム値を計算します。このパラメーターを設定しない場合、チェックサムは計算されません。
</maml:para></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>復元操作後に未確認のページ テーブルを削除します。設定されていない場合は、未確認のページ テーブルに対して何も行われません。
</maml:para></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>タイムアウト エラーが発生するまで、サーバーの接続を待機する秒数です。タイムアウト値には、0 ~ 65,534 の範囲の整数値を指定する必要があります。0 を指定した場合、接続の試行はタイムアウトしません。
</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>チェックサム エラーが発生しても操作が続行されます。このパラメーターを設定しない場合、チェックサム エラーが発生すると操作が失敗します。
</maml:para></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>この操作の実行権限を持つ SQL Server ログインに資格情報を指定する PSCredential オブジェクトです。
</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>復元するデータベースの名前です。-DatabaseObject パラメーターと共に使用することはできません。
</maml:para><maml:para>-Database パラメーターを使用したら、-Path、-InputObject、または -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>復元操作の対象となるデータベース ファイルです。RestoreAction プロパティが Files に設定されている場合にのみ使用します。RestoreAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>復元操作の対象となるデータベース ファイル グループです。RestoreAction プロパティが File に設定されている場合にのみ使用します。RestoreAction パラメーターが Files に設定されている場合、DatabaseFileGroups プロパティまたは 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>データベース オブジェクトです。復元操作では、バックアップがこのデータベースに復元されます。
</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>バックアップ メディア上の対象のバックアップ セットを識別するために使用されるインデックス番号です。
</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>復元を実行する必要がある SQL Server インスタンスの 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>KeepReplication</maml:name><maml:description><maml:para>レプリケーション構成を予約します。設定されていない場合、レプリケーション構成は復元操作によって無視されます。
</maml:para></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>バックアップ メディアと SQL Server のインスタンス間で転送される最大バイト数です。有効値は 65536 バイト (64 KB) の倍数で、最大有効値は 4194304 バイト (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>特定のメディア セットを識別するために使用する名前です。
</maml:para></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>データベースが復元中の状態になります。ロールバックは行われません。別のバックアップを復元できます。
</maml:para></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>復元の完了時に、テープ ドライブが終了位置で開いた状態になります。このパラメーターを設定しないと、操作の完了後、テープが巻き戻されます。ディスクの復元には適用されません。
</maml:para></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>復元するページ アドレスです。-RestoreAction を 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>復元操作は部分的な復元です。
</maml:para></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>バックアップ操作を実行するために使用される Smo Backup オブジェクトを出力します。
</maml:para></maml:description><command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue><dev:type><maml:name>SwitchParameter</maml:name><maml:uri /></dev:type><dev:defaultValue></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>復元操作を実行する SQL Server インスタンスのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、現在の場所が使用されます。
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>Smo.Relocate ファイル オブジェクトの一覧です。それぞれのオブジェクトは、論理バックアップ ファイル名と物理ファイル システムの場所で構成されます。復元操作を実行すると、復元されたデータベースが対象サーバー上の指定された物理的な場所に移動されます。
</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>データベースの新しいイメージを作成します。同じ名前を持つ既存のデータベースは上書きされます。このオプションを設定しない場合、同じ名前を持つデータベースが既に存在していると、復元操作は失敗します。
</maml:para></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>部分的に完了した復元操作の処理を続行します。このオプションを設定しない場合 (既定値)、中断された復元操作は、バックアップ セットの先頭から再開されます。
</maml:para></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>実行する復元操作の種類です。有効なオプションは、Database、Files、Log、OnlinePage、および OnlineFiles です。
</maml:para><maml:para>Database: データベースを復元します。
</maml:para><maml:para>Files: 1 つ以上のデータ ファイルを復元します。DatabaseFile パラメーターまたは DatabaseFileGroup パラメーターを設定する必要があります。
</maml:para><maml:para>Log: トランザクション ログを復元します。
</maml:para><maml:para>OnlinePage: 他のユーザーがデータベースを利用できる場合でも、オンラインのデータ ページを復元します。
</maml:para><maml:para>OnlineFiles: 他のユーザーがデータベースを利用できる場合でも、1 つ以上のデータ ファイルを復元します。DatabaseFile パラメーターまたは 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>復元したデータベースへのデータベース アクセスを、固定データベース ロール db_owner と、固定サーバー ロール dbcreator および 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>SQL Server のインスタンスの名前です。このサーバー インスタンスが、復元操作の対象となります。
</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>Windows Azure BLOB ストレージ サービスを認証するための認証情報が格納された SQL Server 資格情報です。格納される認証情報には、Windows Azure ストレージ アカウントの名前および関連付けられているアクセス キー値が含まれます。これは、Windows Azure BLOB ストレージ サービス (URL) から復元する場合の必須パラメーターです。このパラメーターは、ディスクまたはテープでは使用されません。
</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>SQL Server インスタンスのイメージング方法の一部として使用される UNDO ファイルの名前です。
</maml:para></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>復旧操作の停止位置を表すために StopAtMarkName パラメーターで指定されたマーク名と共に使用される日付を指定します。
</maml:para></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>マークされたトランザクションの後に復旧を停止します。復旧操作の停止位置を表すために StopAtMarkAfterDate パラメーターと共に使用します。復旧には、マークを含むトランザクションが含まれます。StopAtMarkAfterDate 値を設定しない場合、指定した名前の最初のマークで復旧が停止します。
</maml:para></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>復旧操作の停止位置を表すために StopBeforeMarkName と共に使用される日付を指定します。
</maml:para></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>マークされたトランザクションの前に復旧を停止します。復旧操作の停止位置を表すために StopBeforeMarkAfterDate と共に使用します。
</maml:para></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>データベース ログの復元のエンドポイントです。-RestoreAction パラメーターを 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>操作の完了後、テープ デバイスが巻き戻され、アンロードされます。このパラメーターを設定しない場合、テープ メディアの巻き戻しやアンロードは行われません。ディスク バックアップには適用されません。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
復元操作を実行する SQL Server のインスタンスを参照する SMO.Server オブジェクトです。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、完全なデータベース "MyDB" をファイル "\\share\folder\MyDB.bak" からサーバー インスタンス "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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、データベース "MyDB" のトランザクション ログをファイル "\\share\folder\MyDB.trn" からサーバー インスタンス "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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、sa SQL ログインを使用して、完全なデータベース "MyDB" をファイル "\\share\folder\MyDB.trn" からサーバー インスタンス "Computer\Instance" に復元します。このコマンドは、SQL 認証を行うためのパスワードの入力を要求します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、NORECOVERY オプションを使用して、データベース "MyDB" のトランザクション ログをファイル "\\share\folder\MyDB.trn" からサーバー インスタンス "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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、-ToPointInTime パラメーターに渡された日付 "Nov 11、2011 11:11 AM" までのデータベース "MyDB" のトランザクション ログを復元します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、完全なデータベース "MyDB" をサーバー インスタンス "Computer\Instance" に復元し、データおよびログ ファイルを再配置します。移動対象のそれぞれのファイルに対し、Microsoft.SqlServer.Management.Smo.RelocateFile のインスタンスを作成します ("$RelocateData" および "$RelocateLog")。それぞれのコンストラクターは 2 つの引数を受け取ります。1 つはファイルの論理名、もう 1 つは対象サーバー上でファイルが配置される物理的な位置を指定します。これらの RelocateFile オブジェクトは、Restore-SqlDatabase コマンドレットの -RelocateFile パラメーターに渡されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、データベース "MyDB" をテープ デバイス "\\.\tape0" からサーバー インスタンス "computer\Instance" に復元します。この例では、このデバイスを表すために、Microsoft.Sqlserver.Management.Smo.BackupDeviceItem のインスタンスを作成しています。このコンストラクターは、バックアップ デバイスの名前 ("\\.\tape0") とバックアップ デバイスの種類 ("Tape") を指定する 2 つの引数を受け取ります。次に、この BackupDeviceItem オブジェクトが Restore-SqlDatabase コマンドレットの -BackupDevice パラメーターに渡されます。
</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>このコマンドは、sa SQL 資格情報を使用して、完全なデータベース "MyDB" を Windows Azure BLOB ストレージ サービスのファイルからサーバー インスタンス "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>可用性データベース上のデータ移動を再開します。</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>Resume-SqlAvailabilityDatabase コマンドレットは、可用性データベース上のデータ移動を再開します。プライマリ データベースを再開すると、対応するセカンダリ データベース上のデータ移動が再開されます。特定のセカンダリ データベースを再開した場合は、そのデータベース上のデータ移動のみが再開されます。
</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>可用性データベースへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>データ移動を再開するプライマリ データベースまたはセカンダリ データベースの AvailabilityDatabase オブジェクトです。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>データ移動を再開するプライマリ データベースまたはセカンダリ データベースの AvailabilityDatabase オブジェクトです。
</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>可用性データベースへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAg" に含まれている可用性データベース "MyDatabase" のデータの同期を再開します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"Computer\Instance" という名前のサーバー インスタンス上の可用性グループ "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;Resume-SqlAvailabilityDatabase -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityDatabases\MyDatabase -Script
 
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"Computer\Instance" という名前のサーバー インスタンス上の可用性グループ "MyAg" に含まれている可用性データベース "MyDatabase" のデータの同期を再開する Transact-SQL スクリプトを出力します。
</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>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>SQL Server のターゲット インスタンスの認証モードを構成します。</maml:para><maml:para>SQL Server クラウド アダプターが、SQL Server のインスタンスをホストするコンピューターで実行され、アクセス可能である必要があります。</maml:para><maml:para>このコマンドレットでは、次の操作モードがサポートされています。</maml:para><maml:para>1.インスタンスの PowerShell パスを指定する。</maml:para><maml:para>2.サーバー オブジェクトを指定する。</maml:para><maml:para>3.SQL Server のターゲット インスタンスの ServerInstance を指定する。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>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>"混合モード" 認証が有効な場合に 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>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>コマンドレットが、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>必要な場合、ユーザーに確認しないで SQL Server サービスを強制的に再起動します。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>ユーザーに確認しないで SQL Server サービスを再起動することを禁止します。</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>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>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>"混合モード" 認証が有効な場合に 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>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>コマンドレットが、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>必要な場合、ユーザーに確認しないで SQL Server サービスを強制的に再起動します。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>ユーザーに確認しないで SQL Server サービスを再起動することを禁止します。</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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>ターゲット インスタンスのサーバー オブジェクトです。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>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>"混合モード" 認証が有効な場合に 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>AcceptSelfSignedCertificate</maml:name><maml:description><maml:para>コマンドレットが、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>必要な場合、ユーザーに確認しないで SQL Server サービスを強制的に再起動します。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>ユーザーに確認しないで SQL Server サービスを再起動することを禁止します。</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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>コマンドレットが、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="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>必要な場合、ユーザーに確認しないで 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="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>ターゲット インスタンスのサーバー オブジェクトです。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>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>ユーザーに確認しないで 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="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>"混合モード" 認証が有効な場合に 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="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは、サーバー インスタンス "Computer\Instance" での認証モードを "Integrated" に構成します。現在の作業ディレクトリを使用して、操作が実行されるサーバー インスタンスを確認します。SQL Server サービスは、ユーザーに問い合わせることなく自動的に再起動されます。対象コンピューターの自己署名証明書は、ユーザーに問い合わせることなく自動的に受け入れられます。</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>このコマンドレットは、既存の可用性グループの設定を変更します。</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>Set-SqlAvailabilityGroup コマンドレットは、既存の可用性グループの AutomatedBackupPreference、FailureConditionLevel、および HealthCheckTimeout 設定を変更します。このコマンドレットは、プライマリ レプリカをホストするサーバー インスタンスでのみ実行できます。
</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>可用性グループへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></maml: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>可用性グループの自動バックアップ設定です。有効なオプションを次に示します。
</maml:para><maml:para>Primary: プライマリ レプリカの場所に関係なく、プライマリ レプリカでのみバックアップを実行するように指定します。セカンダリ上でバックアップを実行する際にはユーザーが使用できない機能 (差分バックアップなど) が必要であるため、このオプションがよく使用されます。
</maml:para><maml:para>SecondaryOnly: プライマリ レプリカではバックアップが実行されないように指定します。オンラインのレプリカがプライマリ レプリカだけの場合、バックアップは実行されません。
</maml:para><maml:para>Secondary: オンラインのレプリカがプライマリ レプリカのみである場合を除き、セカンダリ レプリカでバックアップを実行することを指定します。その後、プライマリ レプリカでバックアップが実行されます。
</maml:para><maml:para>None: ユーザーがバックアップを実行するレプリカを選択するときにプライマリ/セカンダリ状態を考慮しないことを指定します。BackupPriority とオンライン/接続状態のみが考慮されます。
</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>可用性グループの自動フェールオーバー動作を決定します。有効なオプションを次に示します。
</maml:para><maml:para>OnServerDown: SQL Server サービスが停止したときにフェールオーバーまたは再起動します。
</maml:para><maml:para>OnServerUnresponsive: いずれかの下限値の条件が満たされ、かつ SQL Server サービスがクラスターに接続されている状態で "HealthCheckTimeout" しきい値を超えたとき、または現在プライマリ ロールの可用性レプリカがエラー状態のときに、フェールオーバーまたは再起動します (HealthCheckTimeout パラメーターの説明を参照してください)。
</maml:para><maml:para>OnCriticalServerError: いずれかの下限値の条件が満たされ、かつ重大な内部サーバー エラー (メモリ不足、重大な書き込みアクセス違反、ダンプ過多など) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnModerateServerError: いずれかの下限値の条件が満たされ、かつ中程度のサーバー エラー (永続的なメモリ不足の状態) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnAnyQualifiedFailureConditions: いずれかの下限値の条件が満たされ、かつ対象のエラー条件 (エンジン ワーカー スレッドの枯渇、解決不可能なデッドロックの検出) が発生したときに、フェールオーバーまたは再起動します。
</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>応答しないサーバーを異常と見なすまでのミリ秒単位の時間です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>変更する可用性グループの AvailabilityGroup オブジェクトです。
</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>可用性グループの自動バックアップ設定です。有効なオプションを次に示します。
</maml:para><maml:para>Primary: プライマリ レプリカの場所に関係なく、プライマリ レプリカでのみバックアップを実行するように指定します。セカンダリ上でバックアップを実行する際にはユーザーが使用できない機能 (差分バックアップなど) が必要であるため、このオプションがよく使用されます。
</maml:para><maml:para>SecondaryOnly: プライマリ レプリカではバックアップが実行されないように指定します。オンラインのレプリカがプライマリ レプリカだけの場合、バックアップは実行されません。
</maml:para><maml:para>Secondary: オンラインのレプリカがプライマリ レプリカのみである場合を除き、セカンダリ レプリカでバックアップを実行することを指定します。その後、プライマリ レプリカでバックアップが実行されます。
</maml:para><maml:para>None: ユーザーがバックアップを実行するレプリカを選択するときにプライマリ/セカンダリ状態を考慮しないことを指定します。BackupPriority とオンライン/接続状態のみが考慮されます。
</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>可用性グループの自動フェールオーバー動作を決定します。有効なオプションを次に示します。
</maml:para><maml:para>OnServerDown: SQL Server サービスが停止したときにフェールオーバーまたは再起動します。
</maml:para><maml:para>OnServerUnresponsive: いずれかの下限値の条件が満たされ、かつ SQL Server サービスがクラスターに接続されている状態で "HealthCheckTimeout" しきい値を超えたとき、または現在プライマリ ロールの可用性レプリカがエラー状態のときに、フェールオーバーまたは再起動します (HealthCheckTimeout パラメーターの説明を参照してください)。
</maml:para><maml:para>OnCriticalServerError: いずれかの下限値の条件が満たされ、かつ重大な内部サーバー エラー (メモリ不足、重大な書き込みアクセス違反、ダンプ過多など) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnModerateServerError: いずれかの下限値の条件が満たされ、かつ中程度のサーバー エラー (永続的なメモリ不足の状態) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnAnyQualifiedFailureConditions: いずれかの下限値の条件が満たされ、かつ対象のエラー条件 (エンジン ワーカー スレッドの枯渇、解決不可能なデッドロックの検出) が発生したときに、フェールオーバーまたは再起動します。
</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>応答しないサーバーを異常と見なすまでのミリ秒単位の時間です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>可用性グループの自動バックアップ設定です。有効なオプションを次に示します。
</maml:para><maml:para>Primary: プライマリ レプリカの場所に関係なく、プライマリ レプリカでのみバックアップを実行するように指定します。セカンダリ上でバックアップを実行する際にはユーザーが使用できない機能 (差分バックアップなど) が必要であるため、このオプションがよく使用されます。
</maml:para><maml:para>SecondaryOnly: プライマリ レプリカではバックアップが実行されないように指定します。オンラインのレプリカがプライマリ レプリカだけの場合、バックアップは実行されません。
</maml:para><maml:para>Secondary: オンラインのレプリカがプライマリ レプリカのみである場合を除き、セカンダリ レプリカでバックアップを実行することを指定します。その後、プライマリ レプリカでバックアップが実行されます。
</maml:para><maml:para>None: ユーザーがバックアップを実行するレプリカを選択するときにプライマリ/セカンダリ状態を考慮しないことを指定します。BackupPriority とオンライン/接続状態のみが考慮されます。
</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>可用性グループの自動フェールオーバー動作を決定します。有効なオプションを次に示します。
</maml:para><maml:para>OnServerDown: SQL Server サービスが停止したときにフェールオーバーまたは再起動します。
</maml:para><maml:para>OnServerUnresponsive: いずれかの下限値の条件が満たされ、かつ SQL Server サービスがクラスターに接続されている状態で "HealthCheckTimeout" しきい値を超えたとき、または現在プライマリ ロールの可用性レプリカがエラー状態のときに、フェールオーバーまたは再起動します (HealthCheckTimeout パラメーターの説明を参照してください)。
</maml:para><maml:para>OnCriticalServerError: いずれかの下限値の条件が満たされ、かつ重大な内部サーバー エラー (メモリ不足、重大な書き込みアクセス違反、ダンプ過多など) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnModerateServerError: いずれかの下限値の条件が満たされ、かつ中程度のサーバー エラー (永続的なメモリ不足の状態) が発生したときに、フェールオーバーまたは再起動します。
</maml:para><maml:para>OnAnyQualifiedFailureConditions: いずれかの下限値の条件が満たされ、かつ対象のエラー条件 (エンジン ワーカー スレッドの枯渇、解決不可能なデッドロックの検出) が発生したときに、フェールオーバーまたは再起動します。
</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>応答しないサーバーを異常と見なすまでのミリ秒単位の時間です。
</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>変更する可用性グループの AvailabilityGroup オブジェクトです。
</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>可用性グループへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性グループ "MyAg" の HealhCheckTimeout プロパティを 120,000 ミリ秒 (2 分) に設定します。自動フェールオーバーが有効になっているときにプライマリ サーバーがこの時間応答しないと、自動フェールオーバーが開始されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性グループ "MyAg" の AutomatedBackupPreference プロパティを "SecondaryOnly" に設定します。この可用性グループ内のデータベースの自動バックアップはプライマリ レプリカでは行われませんが、バックアップの優先度が最も高いセカンダリ レプリカにリダイレクトされます (可用性レプリカの BackupPriority プロパティの説明を参照してください)。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性グループ "MyAg" の FailureConditionLevel プロパティを "OnServerDown" に設定します。この設定により、自動フェールオーバーが有効になっているときにプライマリ レプリカをホストするサーバー インスタンスがオフラインになると、自動フェールオーバーが開始されます。
</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>このコマンドレットは、既存の可用性グループ リスナーのポート設定を変更します。</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>Set-SqlAvailabilityGroupListener コマンドレットは、既存の可用性グループ リスナーのポート設定を変更します。このコマンドレットは、プライマリ レプリカをホストするサーバー インスタンスでのみ実行できます。
</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>可用性グループのリスナーへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></maml: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>リスナーが接続をリッスンするために使用する TCP ポートです。既定のポートは TCP ポート 1433 です。セキュリティ上の問題がある場合は、別のポート番号を使用することをお勧めします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Int32</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>変更するリスナーの SMO AvailabilityGroupListener オブジェクトです。
</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>リスナーが接続をリッスンするために使用する TCP ポートです。既定のポートは TCP ポート 1433 です。セキュリティ上の問題がある場合は、別のポート番号を使用することをお勧めします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Int32</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>変更するリスナーの SMO AvailabilityGroupListener オブジェクトです。
</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>可用性グループのリスナーへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></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>リスナーが接続をリッスンするために使用する TCP ポートです。既定のポートは TCP ポート 1433 です。セキュリティ上の問題がある場合は、別のポート番号を使用することをお勧めします。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">Int32</command:parameterValue><dev:type><maml:name>Int32</maml:name><maml:uri /></dev:type><dev:defaultValue>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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、"MyListener" という名前の可用性グループ リスナーのポート番号を 1535 に設定します。このポートは、リスナーへの接続をリッスンするために使用されます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、"MyListener" という名前の可用性グループ リスナーのポート番号を 1535 に設定する Transact-SQL スクリプトを生成します。このコマンドでポート番号が実際に変更されるわけではありません。
</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>このコマンドレットは、既存の可用性レプリカの設定を変更します。</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>Set-SqlAvailabilityReplica コマンドレットは、可用性レプリカの各種プロパティを設定または変更します。このコマンドレットは、プライマリ レプリカをホストするサーバー インスタンスでのみ実行できます。
</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>可用性レプリカへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></maml: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>レプリカの可用性モードです。オプションは SynchronousCommit または 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>0 ~ 100 の範囲の整数を使用して、バックアップを実行するときのレプリカの優先度を指定します。使用可能なオンラインのレプリカのセットのうち、最も高い優先度を持つレプリカがバックアップの対象として選択されます。
</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>プライマリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowReadWriteConnections: 読み取り/書き込み接続を許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>セカンダリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowNoConnections: 接続を許可しません。
</maml:para><maml:para>AllowReadIntentConnectionsOnly: 読み取りを目的とした接続のみを許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>TCP://System-address:port 形式で表した、エンドポイントの URL です。
</maml:para></maml: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>レプリカのフェールオーバー モードです。オプションは Manual または 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>読み取り専用接続のためにレプリカにルーティングするときに使用する、接続の完全修飾ドメイン名 (FQDN) およびポートです。例:
</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>この可用性レプリカを介して読み取り専用接続をリダイレクトするときに、接続ディレクターで使用されるプローブ シーケンスを表す、レプリカ サーバー名の順序付きリストです。これは、可用性レプリカが可用性グループの現在のプライマリのときにのみ適用されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>プライマリ レプリカとこのレプリカとの間の応答を待機する秒数です。この期間を過ぎると、接続に失敗したと見なされます。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>変更するレプリカの AvailabilityReplica オブジェクトです。
</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>レプリカの可用性モードです。オプションは SynchronousCommit または 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>0 ~ 100 の範囲の整数を使用して、バックアップを実行するときのレプリカの優先度を指定します。使用可能なオンラインのレプリカのセットのうち、最も高い優先度を持つレプリカがバックアップの対象として選択されます。
</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>プライマリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowReadWriteConnections: 読み取り/書き込み接続を許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>セカンダリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowNoConnections: 接続を許可しません。
</maml:para><maml:para>AllowReadIntentConnectionsOnly: 読み取りを目的とした接続のみを許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>TCP://System-address:port 形式で表した、エンドポイントの URL です。
</maml:para></maml: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>レプリカのフェールオーバー モードです。オプションは Manual または 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>読み取り専用接続のためにレプリカにルーティングするときに使用する、接続の完全修飾ドメイン名 (FQDN) およびポートです。例:
</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>この可用性レプリカを介して読み取り専用接続をリダイレクトするときに、接続ディレクターで使用されるプローブ シーケンスを表す、レプリカ サーバー名の順序付きリストです。これは、可用性レプリカが可用性グループの現在のプライマリのときにのみ適用されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>プライマリ レプリカとこのレプリカとの間の応答を待機する秒数です。この期間を過ぎると、接続に失敗したと見なされます。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>レプリカの可用性モードです。オプションは SynchronousCommit または 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>0 ~ 100 の範囲の整数を使用して、バックアップを実行するときのレプリカの優先度を指定します。使用可能なオンラインのレプリカのセットのうち、最も高い優先度を持つレプリカがバックアップの対象として選択されます。
</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>プライマリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowReadWriteConnections: 読み取り/書き込み接続を許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>セカンダリ ロールの可用性レプリカが接続をどのように処理するかを表します。有効な設定を次に示します。
</maml:para><maml:para>AllowNoConnections: 接続を許可しません。
</maml:para><maml:para>AllowReadIntentConnectionsOnly: 読み取りを目的とした接続のみを許可します。
</maml:para><maml:para>AllowAllConnections: すべての接続を許可します。
</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>TCP://System-address:port 形式で表した、エンドポイントの URL です。
</maml:para></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>レプリカのフェールオーバー モードです。オプションは Manual または 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>変更するレプリカの AvailabilityReplica オブジェクトです。
</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>可用性レプリカへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></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>読み取り専用接続のためにレプリカにルーティングするときに使用する、接続の完全修飾ドメイン名 (FQDN) およびポートです。例:
</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>この可用性レプリカを介して読み取り専用接続をリダイレクトするときに、接続ディレクターで使用されるプローブ シーケンスを表す、レプリカ サーバー名の順序付きリストです。これは、可用性レプリカが可用性グループの現在のプライマリのときにのみ適用されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>プライマリ レプリカとこのレプリカとの間の応答を待機する秒数です。この期間を過ぎると、接続に失敗したと見なされます。
</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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
変更対象となる可用性レプリカです。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、同期コミット可用性モードを使用し、自動フェールオーバーをサポートするように可用性グループ "MyAg" のレプリカ "MyReplica" を変更します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、非同期コミット可用性モードを使用して、強制手動フェールオーバー (データ損失の可能性あり) のみサポートするように可用性グループ "MyAg" のレプリカ "MyReplica" を変更します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、セカンダリ ロールのすべての接続を許可するように可用性グループ "MyAg" のレプリカ "MyReplica" を変更します。これは、読み取り専用データの処理ワークロードをセカンダリ レプリカに軽減する場合に役立ちます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、可用性グループ内のプライマリ レプリカとセカンダリ レプリカを読み取り専用ルーティング用に構成します。ConnectionModeInSecondaryRole オプションが AllowAllConnections または AllowReadIntentConnectionsOnly に設定されている場合、読み取り専用ルーティングによって、セカンダリ レプリカは、クライアントが仮想ネットワーク名で可用性グループに接続するときに読み取り要求を受け取り受け入れることができます。まず、読み取り専用ルーティングの URL が各レプリカに割り当てられます。次に、プライマリ レプリカで読み取り専用ルーティング リストを設定します。接続文字列で "ReadOnly" プロパティが設定された接続は、セカンダリ レプリカにリダイレクトされます。(ConnectionModeInSecondaryRole 設定によって指定されたように) このセカンダリ レプリカを読み取ることができない場合、接続はプライマリ レプリカにもう一度ダイレクトされます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、可用性レプリカ "MyReplica" のバックアップの優先順位を 60 に設定します。この優先順位は、プライマリ レプリカをホストするサーバー インスタンスによって使用され、可用性グループ内のデータベースで自動バックアップ要求を処理するレプリカを決定します (優先順位の高いレプリカが選択されます)。この優先順位には、0 ~ 100 の数値を指定できます。優先順位が 0 の場合は、レプリカがバックアップ要求を処理する対象と見なされないことを示します。
</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>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>このコマンドレットを使用して、SQL 資格情報オブジェクトの ID プロパティとパスワード プロパティを設定できます。このコマンドレットでは、次の 2 つの操作モードがサポートされています。
 
1.-path パラメーターを使用して、資格情報名を含む資格情報のパスまたは場所を指定する。
 
2.–InputObject を使用して、Smo.Credential オブジェクトをこのオブジェクトに渡す。
</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>この操作の実行対象となる資格情報へのパスです。例: 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>SQL Server が認証する必要があるリソースのユーザー名またはアカウント名を指定します。Windows Azure ストレージ サービスの場合、これが 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>ユーザーまたはアカウントのパスワードを指定するには、このパラメーターを使用します。Windows Azure ストレージ サービスの場合、これが 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>資格情報の入力オブジェクトです。このオブジェクトは、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>SQL Server が認証する必要があるリソースのユーザー名またはアカウント名を指定します。Windows Azure ストレージ サービスの場合、これが 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>ユーザーまたはアカウントのパスワードを指定するには、このパラメーターを使用します。Windows Azure ストレージ サービスの場合、これが 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>SQL Server が認証する必要があるリソースのユーザー名またはアカウント名を指定します。Windows Azure ストレージ サービスの場合、これが 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>資格情報の入力オブジェクトです。このオブジェクトは、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>この操作の実行対象となる資格情報へのパスです。例: 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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>ユーザーまたはアカウントのパスワードを指定するには、このパラメーターを使用します。Windows Azure ストレージ サービスの場合、これが 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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは、SQL 資格情報のパスを指定することによって、MySqlCredential の ID を "mystorageaccount" に設定します。
</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>既存のデータベース ミラーリング エンドポイントのプロパティを設定します。</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>Set-SqlHadrEndpoint コマンドレットを使用すると、既存のデータベース ミラーリング エンドポイントのプロパティ (名前、状態、認証プロパティなど) を変更できます。
</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>データベース ミラーリング エンドポイントへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></maml: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>エンドポイントによって使用される認証の順序と種類です。使用可能なオプションは、Certificate、CertificateKerberos、CertificateNegotiate、CertificateNtlm、Kerberos、KerberosCertificate、Negotiate、NegotiateCertificate、Ntlm、NtlmCertificate です。指定したオプションで証明書が必要な場合、証明書が既にエンドポイントに関連付けられている場合を除いて、-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>エンドポイントが接続を認証するために必要な証明書の名前です。反対側のエンドポイントは、指定された証明書の秘密キーと一致する公開キー付きの証明書を持っている必要があります。
</maml:para></maml: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>エンドポイントの暗号化の設定です。使用可能なオプションは、Disabled、Supported、Required です。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">EndpointEncryption</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EncryptionAlgorithm</maml:name><maml:description><maml:para>エンドポイントによって使用される暗号化の形式です。使用可能なオプションは、Aes、AesRC4、None、RC4、RC4Aes です。
</maml:para><maml:para>メモ: RC4 アルゴリズムは、旧バージョンとの互換性のためにのみサポートされています。データベース互換性レベルが 90 または 100 の場合、新しい素材は RC4 または RC4_128 を使用してのみ暗号化できます (推奨されません)。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>エンドポイントがリッスンする IP アドレスです。
</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>エンドポイントの所有者です。
</maml:para></maml: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>エンドポイントで接続をリッスンするために使用される TCP ポート番号です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>エンドポイントの状態 (Started、Stopped、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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>変更できるエンドポイントの Endpoint オブジェクトです。これはデータベース ミラーリング エンドポイントである必要があります。
</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>エンドポイントによって使用される認証の順序と種類です。使用可能なオプションは、Certificate、CertificateKerberos、CertificateNegotiate、CertificateNtlm、Kerberos、KerberosCertificate、Negotiate、NegotiateCertificate、Ntlm、NtlmCertificate です。指定したオプションで証明書が必要な場合、証明書が既にエンドポイントに関連付けられている場合を除いて、-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>エンドポイントが接続を認証するために必要な証明書の名前です。反対側のエンドポイントは、指定された証明書の秘密キーと一致する公開キー付きの証明書を持っている必要があります。
</maml:para></maml: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>エンドポイントの暗号化の設定です。使用可能なオプションは、Disabled、Supported、Required です。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">EndpointEncryption</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>EncryptionAlgorithm</maml:name><maml:description><maml:para>エンドポイントによって使用される暗号化の形式です。使用可能なオプションは、Aes、AesRC4、None、RC4、RC4Aes です。
</maml:para><maml:para>メモ: RC4 アルゴリズムは、旧バージョンとの互換性のためにのみサポートされています。データベース互換性レベルが 90 または 100 の場合、新しい素材は RC4 または RC4_128 を使用してのみ暗号化できます (推奨されません)。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>エンドポイントがリッスンする IP アドレスです。
</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>エンドポイントの所有者です。
</maml:para></maml: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>エンドポイントで接続をリッスンするために使用される TCP ポート番号です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>エンドポイントの状態 (Started、Stopped、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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>エンドポイントによって使用される認証の順序と種類です。使用可能なオプションは、Certificate、CertificateKerberos、CertificateNegotiate、CertificateNtlm、Kerberos、KerberosCertificate、Negotiate、NegotiateCertificate、Ntlm、NtlmCertificate です。指定したオプションで証明書が必要な場合、証明書が既にエンドポイントに関連付けられている場合を除いて、-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>エンドポイントが接続を認証するために必要な証明書の名前です。反対側のエンドポイントは、指定された証明書の秘密キーと一致する公開キー付きの証明書を持っている必要があります。
</maml:para></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>エンドポイントの暗号化の設定です。使用可能なオプションは、Disabled、Supported、Required です。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">EndpointEncryption</command:parameterValue><dev:type><maml:name>EndpointEncryption</maml:name><maml:uri /></dev:type><dev:defaultValue>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>エンドポイントによって使用される暗号化の形式です。使用可能なオプションは、Aes、AesRC4、None、RC4、RC4Aes です。
</maml:para><maml:para>メモ: RC4 アルゴリズムは、旧バージョンとの互換性のためにのみサポートされています。データベース互換性レベルが 90 または 100 の場合、新しい素材は RC4 または RC4_128 を使用してのみ暗号化できます (推奨されません)。AES アルゴリズムのいずれかなど、新しいアルゴリズムを使用してください。
</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>変更できるエンドポイントの Endpoint オブジェクトです。これはデータベース ミラーリング エンドポイントである必要があります。
</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>エンドポイントがリッスンする IP アドレスです。
</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>エンドポイントの所有者です。
</maml:para></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>データベース ミラーリング エンドポイントへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</maml:para></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>エンドポイントで接続をリッスンするために使用される TCP ポート番号です。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>エンドポイントの状態 (Started、Stopped、Disabled) です。
</maml:para></maml:description><command:parameterValue required="true" variableLength="false">EndpointState</command:parameterValue><dev:type><maml:name>EndpointState</maml:name><maml:uri /></dev:type><dev:defaultValue>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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
プロパティが設定される AlwaysOn エンドポイントです。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、サーバー インスタンス "Computer\Instance" 上で "MyDbmEndpoint" という名前のデータベース ミラーリング エンドポイントのポート番号を 5050 に設定します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、サーバー インスタンス "Computer\Instance" 上で "MyDbmEndpoint" という名前のデータベース ミラーリング エンドポイントを開始します。
</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>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>SQL Server のターゲット インスタンスのネットワーク構成を設定します。</maml:para><maml:para>SQL Server クラウド アダプターが、SQL Server のインスタンスをホストするコンピューターで実行され、アクセス可能である必要があります。</maml:para><maml:para>このコマンドレットでは、次の操作モードがサポートされています。</maml:para><maml:para>1.インスタンスの PowerShell パスを指定する。</maml:para><maml:para>2.サーバー オブジェクトを指定する。</maml:para><maml:para>3.SQL Server のターゲット インスタンスの ServerInstance を指定する。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>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>TCP 接続を受け入れるポートです。動的ポートを構成するには、このパラメーターを 0 に設定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>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>必要な場合、ユーザーに確認しないで SQL Server サービスを強制的に再起動します。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>ユーザーに確認しないで SQL Server サービスを再起動することを禁止します。</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>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>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>TCP 接続を受け入れるポートです。動的ポートを構成するには、このパラメーターを 0 に設定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>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>必要な場合、ユーザーに確認しないで SQL Server サービスを強制的に再起動します。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>ユーザーに確認しないで SQL Server サービスを再起動することを禁止します。</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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>ターゲット インスタンスのサーバー オブジェクトです。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>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>TCP 接続を受け入れるポートです。動的ポートを構成するには、このパラメーターを 0 に設定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>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>必要な場合、ユーザーに確認しないで SQL Server サービスを強制的に再起動します。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>ユーザーに確認しないで SQL Server サービスを再起動することを禁止します。</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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>コマンドレットが、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="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>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>必要な場合、ユーザーに確認しないで 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="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="named" aliases=""><maml:name>InputObject</maml:name><maml:description><maml:para>ターゲット インスタンスのサーバー オブジェクトです。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>ユーザーに確認しないで 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="true" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>Path</maml:name><maml:description><maml:para>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>TCP 接続を受け入れるポートです。動的ポートを構成するには、このパラメーターを 0 に設定します。</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>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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは、サーバー インスタンス "Computer\Instance" に関して、ポート 1433 で TCP 接続を受け入れるようにネットワーク構成を設定します。現在の作業ディレクトリを使用して、操作が実行されるサーバー インスタンスを確認します。SQL Server サービスは自動的に再起動されません。対象コンピューターの自己署名証明書は、ユーザーに問い合わせることなく自動的に受け入れられます。</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>このコマンドレットは、バックアップ保持とストレージの設定を構成または変更します。</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>Set-SqlSmartAdmin コマンドレットは、BackupEnabled、BackupRetentionPeriodinDays、MasterSwitch、および SqlCredential パラメーターの設定を構成または変更します。このコマンドレットは、インスタンス レベルの構成に対してのみ実行でき、特定のデータベースに対して実行することはできません。</maml:para><maml:para>このコマンドレットでは、オブジェクトを返す、次の操作モードがサポートされます。
 
 1.Smo.Server オブジェクトを -InputObject パラメーターに直接またはパイプラインを使用して渡します。
 
 2.SQL Server のインスタンスのパスを -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>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>BackupEnabled</maml:name><maml:description><maml:para>Windows Azure への SQL Server マネージ バックアップを有効または無効にするために使用するパラメーターです。</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>バックアップ ファイルを保持する日数です。この設定で、データベースの復旧が可能な期間が決まります。たとえば、この値を 30 日に設定した場合は、最近の 30 日間の特定の時点までデータベースを復旧できます。</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>暗号化オプションです。</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>Windows Azure への SQL Server マネージ バックアップを含めて、Smart Admin の下のすべてのサービスを一時停止または再開するために使用されます。このパラメーターは必須です。</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。</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>Windows Azure ストレージ アカウントへの認証に使用する SqlCredential オブジェクトです。このパラメーターは必須です。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>Smo Smart Admin オブジェクトです。このオブジェクトは、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>Windows Azure への SQL Server マネージ バックアップを有効または無効にするために使用するパラメーターです。</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>バックアップ ファイルを保持する日数です。この設定で、データベースの復旧が可能な期間が決まります。たとえば、この値を 30 日に設定した場合は、最近の 30 日間の特定の時点までデータベースを復旧できます。</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>暗号化オプションです。</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>Windows Azure への SQL Server マネージ バックアップを含めて、Smart Admin の下のすべてのサービスを一時停止または再開するために使用されます。このパラメーターは必須です。</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。</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>Windows Azure ストレージ アカウントへの認証に使用する SqlCredential オブジェクトです。このパラメーターは必須です。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>Windows Azure への SQL Server マネージ バックアップを有効または無効にするために使用するパラメーターです。</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>バックアップ ファイルを保持する日数です。この設定で、データベースの復旧が可能な期間が決まります。たとえば、この値を 30 日に設定した場合は、最近の 30 日間の特定の時点までデータベースを復旧できます。</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>暗号化オプションです。</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>Smo Smart Admin オブジェクトです。このオブジェクトは、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>Windows Azure への SQL Server マネージ バックアップを含めて、Smart Admin の下のすべてのサービスを一時停止または再開するために使用されます。このパラメーターは必須です。</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>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>Script</maml:name><maml:description><maml:para>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。</maml:para></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>Windows Azure ストレージ アカウントへの認証に使用する SqlCredential オブジェクトです。このパラメーターは必須です。</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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、"MyInstance" のクラウド バックアップ設定を構成します。Get-SqlSmartAdmin コマンドレットを使用して Smart Admin オブジェクトを取得し、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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、インスタンス全体で SQL Server マネージ バックアップ サービスを一時停止します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、Windows Azure への 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>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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>この例では、–EncryptionOption パラメーターを指定することで、Windows Azure への SQL Server マネージ バックアップの暗号化オプションを設定します。</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>指定した 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>指定した SQL Server のインスタンスを起動します。</maml:para><maml:para>SQL Server クラウド アダプターが、SQL Server のインスタンスをホストするコンピューターで実行され、アクセス可能である必要があります。</maml:para><maml:para>このコマンドレットでは、次の操作モードがサポートされています。</maml:para><maml:para>1.インスタンスの PowerShell パスを指定する。</maml:para><maml:para>2.サーバー オブジェクトを指定する。</maml:para><maml:para>3.SQL Server のターゲット インスタンスの ServerInstance を指定する。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>ターゲット インスタンスのサーバー オブジェクトです。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>コマンドレットが、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="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>ターゲット インスタンスのサーバー オブジェクトです。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは、サーバー インスタンス "Computer\Instance" を起動します。現在の作業ディレクトリを使用して、操作が実行されるサーバー インスタンスを確認します。対象コンピューターの自己署名証明書は、ユーザーに問い合わせることなく自動的に受け入れられます。</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>指定した 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>指定した SQL Server のインスタンスを停止します。</maml:para><maml:para>SQL Server クラウド アダプターが、SQL Server のインスタンスをホストするコンピューターで実行され、アクセス可能である必要があります。</maml:para><maml:para>このコマンドレットでは、次の操作モードがサポートされています。</maml:para><maml:para>1.インスタンスの PowerShell パスを指定する。</maml:para><maml:para>2.サーバー オブジェクトを指定する。</maml:para><maml:para>3.SQL Server のターゲット インスタンスの ServerInstance を指定する。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>RetryTimeout</maml:name><maml:description><maml:para>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>ターゲット インスタンスのサーバー オブジェクトです。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>コマンドレットが、SQL Server クラウド アダプターによる対象コンピューターの自己署名証明書を、ユーザーに問い合わせることなく自動的に受け入れるようにします。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"><maml:name>Confirm</maml:name><maml:description><maml:para>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>コマンドレットが、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="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases=""><maml:name>Credential</maml:name><maml:description><maml:para>対象のコンピューターで Windows 管理者の資格情報を持つユーザー アカウントを指定します。</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>ターゲット インスタンスのサーバー オブジェクトです。</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>対象コンピューターのパブリック管理ポートです。対象コンピューターのポートが直接アクセスできず、エンドポイントを介して公開されている場合、つまり別のポートに接続する必要がある場合は、このパラメーターを使用してください。</maml:para><maml:para>このポートから 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>操作を実行する SQL Server のインスタンスへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>対象サーバーでコマンドを再試行する期間です。タイムアウトになると、再試行は行われません。</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>このパラメーターは、操作の対象となる SQL Server のインスタンスの名前を指定します。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>このコマンドは、サーバー インスタンス "Computer\Instance" を停止します。現在の作業ディレクトリを使用して、操作が実行されるサーバー インスタンスを確認します。対象コンピューターの自己署名証明書は、ユーザーに問い合わせることなく自動的に受け入れられます。</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>現在のサーバー インスタンスでホストされているレプリカ上の可用性データベースでデータ移動を中断します。</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>Suspend-SqlAvailabilityDatabase コマンドレットは、現在のサーバー インスタンスでホストされているレプリカ上の可用性データベースでデータ移動を中断します。セカンダリ データベースを中断した場合、そのデータベースの状態は SUSPENDED に設定され、対応するプライマリ データベースと同期されなくなります。プライマリ データベースを中断すると、すべてのセカンダリ レプリカでデータ移動が中断されます。
</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>可用性データベースへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>データ移動を中断するプライマリ データベースまたはセカンダリ データベースの AvailabilityDatabase オブジェクトです。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>データ移動を中断するプライマリ データベースまたはセカンダリ データベースの AvailabilityDatabase オブジェクトです。
</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>可用性データベースへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
データ移動を中断する可用性データベースを指定します。
 
 
</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>このコマンドを実行するインスタンスは、高可用性に対応している必要があります。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"Computer\Instance" という名前のサーバー インスタンス上の可用性グループ "MyAg" に含まれている可用性データベース "MyDatabase" のデータの同期を中断します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"Computer\Instance" という名前のサーバー インスタンス上の可用性グループ "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;Suspend-SqlAvailabilityDatabase -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityDatabases\MyDatabase -Script
 
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"Computer\Instance" という名前のサーバー インスタンス上の可用性グループ "MyAg" に含まれている可用性データベース "MyDatabase" のデータの同期を中断する Transact-SQL スクリプトを出力します。
</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>特定のセカンダリ レプリカへの可用性グループのフェールオーバーを開始します。</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>Switch-SqlAvailabilityGroup コマンドレットは、特定のセカンダリ レプリカへの可用性グループのフェールオーバーを開始します。このコマンドレットは、ターゲット セカンダリ レプリカでのみ実行できます。フェールオーバーの後で、フェールオーバー先のセカンダリ レプリカが新しいプライマリ レプリカになります。
</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>可用性グループへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>ターゲット セカンダリ レプリカへの強制フェールオーバーを開始します。データが失われる可能性があります。そのため、-Force パラメーターまたは -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>確認を求めずに強制フェールオーバーを開始するには、-AllowDataLoss と一緒に -Force を指定します。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>フェールオーバーされる可用性グループを表す AvailabilityGroup オブジェクトです。
</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>ターゲット セカンダリ レプリカへの強制フェールオーバーを開始します。データが失われる可能性があります。そのため、-Force パラメーターまたは -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>確認を求めずに強制フェールオーバーを開始するには、-AllowDataLoss と一緒に -Force を指定します。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>ターゲット セカンダリ レプリカへの強制フェールオーバーを開始します。データが失われる可能性があります。そのため、-Force パラメーターまたは -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>確認を求めずに強制フェールオーバーを開始するには、-AllowDataLoss と一緒に -Force を指定します。
</maml:para></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>フェールオーバーされる可用性グループを表す AvailabilityGroup オブジェクトです。
</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>可用性グループへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行されるタスクを実行する Transact-SQL スクリプトを出力します。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>
 
フェールオーバー先の可用性グループを指定します。
 
 
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"SecondaryServer\InstanceName" という名前のサーバー インスタンスへの可用性グループ "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;Switch-SqlAvailabilityGroup -Path SQLSERVER:\Sql\SecondaryServer\InstanceName\AvailabilityGroups\MyAg -AllowDataLoss
 
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"SecondaryServer\InstanceName" という名前のサーバー インスタンスに対して、可用性グループ "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;Switch-SqlAvailabilityGroup -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\AgName -AllowDataLoss -Force
 
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"SecondaryServer\InstanceName" という名前のサーバー インスタンスに対して、可用性グループ "MyAg" の強制フェールオーバー (データ損失の可能性あり) を実行します。-Force オプションにより、この操作の確認は表示されません。強制フェールオーバーによって可用性グループに参加しているデータベースでデータ損失が発生する可能性があるため、-Force オプションは慎重に使用する必要があります。このコマンドは、フェールオーバー先のセカンダリ レプリカをホストするサーバー インスタンスに対して実行する必要があります。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"SecondaryServer\InstanceName" という名前のサーバー インスタンスに対して、可用性グループ "MyAg" の計画的な手動フェールオーバーを実行する Transact-SQL スクリプトを出力します。このコマンドでフェールオーバーが発生することはありません。
</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>SQL Server のポリシー ベースの管理 (PBM) のポリシーを評価することによって、可用性グループの正常性を評価します。</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>Test-SqlAvailabilityGroup コマンドレットは、SQL Server のポリシー ベースの管理 (PBM) のポリシーを評価することによって、可用性グループの正常性を査定します。このコマンドレットを実行するには、CONNECT、VIEW SERVER STATE、および VIEW ANY DEFINITION 権限が必要です。
</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>可用性グループへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>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>このパラメーターを設定した場合、コマンドレットを実行すると、-Path パラメーターまたは -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>このコマンドレットで実行された各ポリシー評価の結果を表示します。コマンドレットを実行すると、ポリシー評価ごとに 1 つのオブジェクトが出力されます。このオブジェクトには評価の結果を表すフィールド (ポリシーが渡されるかどうかに関係なく、ポリシー名、カテゴリなど) があります。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>可用性グループを表すオブジェクトのコレクションです。このコマンドレットを実行すると、これらの可用性グループの正常性が計算されます。
</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>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>このパラメーターを設定した場合、コマンドレットを実行すると、-Path パラメーターまたは -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>このコマンドレットで実行された各ポリシー評価の結果を表示します。コマンドレットを実行すると、ポリシー評価ごとに 1 つのオブジェクトが出力されます。このオブジェクトには評価の結果を表すフィールド (ポリシーが渡されるかどうかに関係なく、ポリシー名、カテゴリなど) があります。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>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>可用性グループを表すオブジェクトのコレクションです。このコマンドレットを実行すると、これらの可用性グループの正常性が計算されます。
</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>このパラメーターを設定した場合、コマンドレットを実行すると、-Path パラメーターまたは -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>可用性グループへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行された各ポリシー評価の結果を表示します。コマンドレットを実行すると、ポリシー評価ごとに 1 つのオブジェクトが出力されます。このオブジェクトには評価の結果を表すフィールド (ポリシーが渡されるかどうかに関係なく、ポリシー名、カテゴリなど) があります。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"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;Get-ChildItem SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups | Test-SqlAvailabilityGroup
 
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、サーバー インスタンス "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;Test-SqlAvailabilityGroup -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\AgName -ShowPolicyDetails
 
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"MyAg" という名前の可用性グループの正常性を評価し、実行されたポリシー ベースの管理 (PBM) のポリシーごとに評価結果を出力します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、"MyAg" という名前の可用性グループの正常性を評価します。ユーザー定義ポリシーはこの評価に含まれます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、サーバー インスタンス "Computer\Instance" 上で正常性状態が "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></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>SQL Server のポリシー ベースの管理 (PBM) のポリシーを評価することによって、可用性レプリカの正常性を評価します。</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>Test-SqlAvailabilityReplica コマンドレットを実行すると、SQL Server のポリシー ベースの管理 (PBM) のポリシーを評価することによって、可用性レプリカの正常性を査定します。このコマンドレットを実行するには、CONNECT、VIEW SERVER STATE、および VIEW ANY DEFINITION 権限が必要です。
</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>1 つ以上の可用性レプリカへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>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>このパラメーターを設定した場合、コマンドレットを実行すると、-Path パラメーターまたは -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>このコマンドレットで実行された各ポリシー評価の結果を表示します。コマンドレットを実行すると、ポリシー評価ごとに 1 つのオブジェクトが出力されます。このオブジェクトには評価の結果を表すフィールド (ポリシーが渡されるかどうかに関係なく、ポリシー名、カテゴリなど) があります。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>可用性レプリカを表すオブジェクトのコレクションです。このコマンドレットを実行すると、これらのレプリカの正常性が計算されます。
</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>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>このパラメーターを設定した場合、コマンドレットを実行すると、-Path パラメーターまたは -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>このコマンドレットで実行された各ポリシー評価の結果を表示します。コマンドレットを実行すると、ポリシー評価ごとに 1 つのオブジェクトが出力されます。このオブジェクトには評価の結果を表すフィールド (ポリシーが渡されるかどうかに関係なく、ポリシー名、カテゴリなど) があります。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>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>可用性レプリカを表すオブジェクトのコレクションです。このコマンドレットを実行すると、これらのレプリカの正常性が計算されます。
</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>このパラメーターを設定した場合、コマンドレットを実行すると、-Path パラメーターまたは -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>1 つ以上の可用性レプリカへのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行された各ポリシー評価の結果を表示します。コマンドレットを実行すると、ポリシー評価ごとに 1 つのオブジェクトが出力されます。このオブジェクトには評価の結果を表すフィールド (ポリシーが渡されるかどうかに関係なく、ポリシー名、カテゴリなど) があります。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAg" 内の "MyReplica" という名前の可用性レプリカの正常性を評価し、概要を出力します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "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;Test-SqlAvailabilityReplica -Path SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\AvailabilityReplicas\MyReplica -ShowPolicyDetails
 
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAg" 内の "MyReplica" という名前の可用性レプリカの正常性を評価し、実行されたポリシー ベースの管理 (PBM) のポリシーごとに評価結果を出力します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAg" 内の "MyReplica" という名前の可用性レプリカの正常性を評価します。ユーザー定義ポリシーはこの評価に含まれます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAg" 内で正常性状態が "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></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>SQL Server のポリシー ベースの管理 (PBM) のポリシーを評価することによって、参加しているすべての可用性レプリカ上の可用性データベースの正常性を評価します。</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>Test-SqlDatabaseReplicaState コマンドレットを実行すると、SQL Server のポリシー ベースの管理 (PBM) のポリシーを評価することによって、参加しているすべての可用性レプリカ上の可用性データベースの正常性を査定します。このコマンドレットを実行するには、CONNECT、VIEW SERVER STATE、および VIEW ANY DEFINITION 権限が必要です。
</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>可用性データベースのデータベース レプリカ クラスターの状態へのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>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>このパラメーターを設定した場合、コマンドレットを実行すると、-Path パラメーターまたは -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>このコマンドレットで実行された各ポリシー評価の結果を表示します。コマンドレットを実行すると、ポリシー評価ごとに 1 つのオブジェクトが出力されます。このオブジェクトには評価の結果を表すフィールド (ポリシーが渡されるかどうかに関係なく、ポリシー名、カテゴリなど) があります。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>可用性データベースの状態を表すオブジェクトのコレクションです。このコマンドレットを実行すると、これらの可用性データベースの正常性が計算されます。
</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>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>このパラメーターを設定した場合、コマンドレットを実行すると、-Path パラメーターまたは -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>このコマンドレットで実行された各ポリシー評価の結果を表示します。コマンドレットを実行すると、ポリシー評価ごとに 1 つのオブジェクトが出力されます。このオブジェクトには評価の結果を表すフィールド (ポリシーが渡されるかどうかに関係なく、ポリシー名、カテゴリなど) があります。
</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>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>可用性データベースの状態を表すオブジェクトのコレクションです。このコマンドレットを実行すると、これらの可用性データベースの正常性が計算されます。
</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>このパラメーターを設定した場合、コマンドレットを実行すると、-Path パラメーターまたは -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>可用性データベースのデータベース レプリカ クラスターの状態へのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、既定では、現在の場所に設定されます。
</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>このコマンドレットで実行された各ポリシー評価の結果を表示します。コマンドレットを実行すると、ポリシー評価ごとに 1 つのオブジェクトが出力されます。このオブジェクトには評価の結果を表すフィールド (ポリシーが渡されるかどうかに関係なく、ポリシー名、カテゴリなど) があります。
</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAg" 内の可用性レプリカ "MyReplica" 上で "MyDatabase" という名前の可用性データベースの正常性を評価し、概要を出力します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "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;dir SQLSERVER:\Sql\Computer\Instance\AvailabilityGroups\MyAg\DatabaseReplicaStates | Test-SqlDatabaseReplicaState -ShowPolicyDetails
 
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAg" 内のすべての可用性データベースの正常性を評価し、実行されたポリシー ベースの管理 (PBM) のポリシーごとに評価結果を出力します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAg" 内のすべての可用性データベースの正常性を評価します。ユーザー定義ポリシーはこの評価に含まれます。
</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドでは、可用性グループ "MyAg" 内で正常性状態が "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></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>このコマンドレットは、SQL Server のポリシー ベースの管理 (PBM) のポリシーを評価することによって、Smart Admin の正常性を査定します。</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>Test-SqlSmartAdmin コマンドレットは、SQL Server インスタンスの Smart Admin の正常性を査定します。</maml:para><maml:para>Test-SqlSmartAdmin コマンドレットは、SQL Server インスタンスの Smart Admin の正常性を査定します。このコマンドレットでは、オブジェクトを返す、次の操作モードがサポートされます。
 
 1.SQL Server のインスタンスのパスを -Path パラメーターに渡します。
 
 
2.Smo.Server オブジェクトを -InputObject パラメーターに直接またはパイプラインを使用して渡します。</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>SQL Server インスタンスのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、現在の場所が使用されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue></command:parameter><command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""><maml:name>AllowUserPolicies</maml:name><maml:description><maml:para>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>このパラメーターを設定した場合、コマンドレットを実行すると、Path パラメーターまたは 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>このコマンドレットで実行されたポリシー評価の結果を表示します。ポリシー評価ごとに 1 つのオブジェクトが出力されます。出力には、ポリシー名、カテゴリ、正常性などの評価結果が含まれます。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>SmartAdmin オブジェクトです。このオブジェクトは、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>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>このパラメーターを設定した場合、コマンドレットを実行すると、Path パラメーターまたは 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>このコマンドレットで実行されたポリシー評価の結果を表示します。ポリシー評価ごとに 1 つのオブジェクトが出力されます。出力には、ポリシー名、カテゴリ、正常性などの評価結果が含まれます。</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>コマンドレットを実行する前に確認メッセージを表示します。</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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</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>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>SmartAdmin オブジェクトです。このオブジェクトは、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>このパラメーターを設定した場合、コマンドレットを実行すると、Path パラメーターまたは 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>SQL Server インスタンスのパスです。これは省略可能なパラメーターです。このパラメーターの値を指定しない場合、現在の場所が使用されます。</maml:para></maml:description><command:parameterValue required="true" variableLength="true">String[]</command:parameterValue><dev:type><maml:name>String[]</maml:name><maml:uri /></dev:type><dev:defaultValue></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>このコマンドレットで実行されたポリシー評価の結果を表示します。ポリシー評価ごとに 1 つのオブジェクトが出力されます。出力には、ポリシー名、カテゴリ、正常性などの評価結果が含まれます。</maml:para></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>コマンドレットを実行する前に確認メッセージを表示します。</maml:para></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>実際にコマンドレットを実行することなく、コマンドレットを実行した場合に行われる処理を説明します。</maml:para></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>出力はポリシー評価の結果です。</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>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、サーバー インスタンス "MyInstance" 上のデータベースの正常性を査定し、正常性状態を出力します。コマンドは、Get-SqlSmartAdmin コマンドレットを使用して Smart Admin オブジェクトを取得し、使用する Test-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
 $policyResults = Get-SqlSmartAdmin | Test-SqlSmartAdmin
$policyResults.PolicyEvaluationDetails | select Name, Category, Result, Expression|f1
 
</dev:code><dev:remarks><maml:para>説明
</maml:para><maml:para>-----------
</maml:para><maml:para>このコマンドは、サーバー インスタンス "MyInstance" 上のデータベースの正常性を査定して状態を出力し、表示にフィルターを適用します。コマンドは、Get-SqlSmartAdmin コマンドレットを使用して Smart Admin オブジェクトを取得し、使用する Test-SqlSmartAdmin コマンドレットにパイプを通じてオブジェクトを送付します。
</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>説明
</maml:para><maml:para>-----------
</maml:para><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></helpItems>