PowerShell Logo Small


This is the built-in help made by Microsoft for the command 'Set-ADAuthenticationPolicySilo', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.


Modifies an Active Directory Domain Services authentication policy silo object.


Set-ADAuthenticationPolicySilo [-Identity] <ADAuthenticationPolicySilo> [-Add <Hashtable>] [-AuthType {Negotiate | Basic}] [-Clear <String[]>] [-ComputerAuthenticationPolicy
<ADAuthenticationPolicy>] [-Credential <PSCredential>] [-Description <String>] [-Enforce <Boolean>] [-PassThru] [-ProtectedFromAccidentalDeletion <Boolean>] [-Remove
<Hashtable>] [-Replace <Hashtable>] [-Server <String>] [-ServiceAuthenticationPolicy <ADAuthenticationPolicy>] [-UserAuthenticationPolicy <ADAuthenticationPolicy>]
[-Confirm] [-WhatIf] [<CommonParameters>]
Set-ADAuthenticationPolicySilo [-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-PassThru] [-Server <String>] -Instance <ADAuthenticationPolicySilo> [-Confirm]
[-WhatIf] [<CommonParameters>]

Search powershellhelp.space


The Set-ADAuthenticationPolicySilo cmdlet modifies the properties of an Active Directory® Domain Services authentication policy silo. You can modify commonly used property
values by using the cmdlet parameters. Property values that are not associated with cmdlet parameters can be modified by using the Add, Replace, Clear and Remove parameters.

The Identity parameter specifies the Active Directory Domain Services authentication policy to modify. You can specify an authentication policy object by using a
distinguished name (DN), a GUID, or a name. You can also use the Identity parameter to specify a variable that contains an authentication policy object, or you can use the
pipeline operator to pass an authentication policy object to the Identity parameter. To get an authentication policy object, use the Get-ADAuthenticationPolicy cmdlet.

Use the Instance parameter to specify an authentication policy object to use as a template for the object being modified. Do not specify both the Instance parameter and the
Identity parameter.

For more information about how the Instance concept is used in Active Directory Domain Services cmdlets, type Get-Help about_ActiveDirectory_Instance.



Online Version: http://go.microsoft.com/fwlink/p/?linkid=298364




Example 1: Modify an authentication policy silo

PS C:\>Set-ADAuthenticationPolicySilo -Name AuthenticationPolicySilo01 -UserAuthenticationPolicy ‘AuthenticationPolicy1’

This command modifies the user authentication policy for the authentication policy silo named AuthenticationPolicySilo01.

Example 2: Modify multiple properties of an authentication policy silo

PS C:\>$authPolicySilo = Get-ADAuthenticationPolicySilo -Identity AuthenticationPolicySilo02
PS C:\> $authPolicySilo.Description = 'testDescription'
PS C:\> $authPolicySilo.Enforce = $False
PS C:\> Set-ADAuthenticationPolicySilo -Instance $authPolicySilo

This example first gets an authentication policy silo object and stores it in the variable named $authPolicySilo. Properties of the authentication policy silo are then
modified, and finally the contents of the variable are written to the authentication policy silo by using the Instance parameter.

Example 3: Modify multiple authentication policy silo objects by filtering

PS C:\>Get-ADAuthenticationPolicySilo -Filter 'UserAuthenticationPolicy -eq "AuthenticationPolicy01"' | Set-ADAuthenticationPolicySilo -UserAuthenticationPolicy

This example first gets all authentication policy silos that match the filter specified by the Filter parameter for Get-ADAuthenticationPolicySilo. The results of the filter
are then passed to Set-ADAuthenticationPolicySilo by using the pipeline operator.

Example 4: Replace a value in an authentication policy silo object

PS C:\>Set-ADAuthenticationPolicySilo -Name AuthenticationPolicySilo03 -Replace @{description="New Description"}

This command replaces the description for the authentication policy silo object named AuthenticationPolicySilo03.