Reset-SPAccessServicesDatabasePassword

ランダムに生成されたパスワードを使用して、指定した Access Services Database パスワードをリセットします。

構文

Reset-SPAccessServicesDatabasePassword
     [-ServiceContext] <SPServiceContextPipeBind>
     [-AssignmentCollection <SPAssignmentCollection>]
     [-Confirm]
     -Database <AccessServicesDatabasePipeBind>
     [-WhatIf]
     [<CommonParameters>]

説明

ランダムに生成されたパスワードを使用して、指定した Access Services Database パスワードをリセットします。

----------------------例-----------------------

$contentdb = Get-SPContentDatabase ContentDbName
$db = Get-SPAccessServicesDatabase -ContentDb $contentdb -EA 0 | select -First 1
Reset-SPAccessServicesDatabasePassword -Database $db -ServiceContext http://site_url

指定した Access Database のデータベース パスワードをリセットします。

パラメーター

-AssignmentCollection

適切な破棄を行うためにオブジェクトを管理します。 SPWeb や SPSite などのオブジェクトの使用によって大量のメモリが使用される場合があるので、Windows PowerShell スクリプトでこれらのオブジェクトを使用するには適切なメモリ管理が必要です。 メモリの解放が必要になった場合は、SPAssignment オブジェクトを使用して、変数へのオブジェクトの割り当てとオブジェクトの破棄を行うことができます。 割り当てコレクションまたは Global パラメーターが使用されていない場合、SPWeb、SPSite、または SPSiteAdministration オブジェクトが使用されていると、オブジェクトは自動的に破棄されます。

Global パラメーターが使用されている場合は、オブジェクトはすべてグローバル ストアに格納されます。 Stop-SPAssignment コマンドを使用してオブジェクトの使用または破棄を直接行わないと、メモリ不足のシナリオになる場合があります。

Type:SPAssignmentCollection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Confirm

コマンドレットを実行する前に確認メッセージを表示します。

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Database

指定された Access Services データベース。

Type:AccessServicesDatabasePipeBind
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ServiceContext

接続するローカル Access Services アプリケーションのサービス コンテキストを指定します。

Type:SPServiceContextPipeBind
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-WhatIf

コマンドレットが実行されるとどうなるかを示します。 コマンドレットは実行されません。

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

入力

Microsoft.Office.Access.Services.PowerShell.AccessServicesDatabasePipeBind

Microsoft。SharePoint.PowerShell.SPServiceContextPipeBind Microsoft。SharePoint.PowerShell.SPAssignmentCollection

出力

System.Object