2018-10-01 09:49:43 +00:00
---
external help file: DSInternals.PowerShell.dll-Help.xml
Module Name: DSInternals
2018-10-14 12:10:18 +00:00
online version: https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/Set-LsaPolicyInformation.md
2018-10-01 09:49:43 +00:00
schema: 2.0.0
---
2018-10-14 12:10:18 +00:00
# Set-LsaPolicyInformation
2018-10-01 09:49:43 +00:00
## SYNOPSIS
2018-12-28 09:09:35 +00:00
Configures AD-related Local Security Authority Policies of the local computer or a remote one.
2018-10-01 09:49:43 +00:00
## SYNTAX
```
2018-10-14 12:10:18 +00:00
Set-LsaPolicyInformation -DomainName < String > -DnsDomainName < String > -DnsForestName < String >
-DomainGuid < Guid > -DomainSid < SecurityIdentifier > [-ComputerName < String > ] [< CommonParameters > ]
2018-10-01 09:49:43 +00:00
```
## DESCRIPTION
{{Fill in the Description}}
## EXAMPLES
### Example 1
```powershell
2018-12-28 09:09:35 +00:00
PS C:\> Set-LsaPolicyInformation -DomainName 'ADATUM' -DnsDomainName 'Adatum.com' -DnsForestName 'Adatum.com' -DomainGuid 279b615e-ae79-4c86-a61a-50f687b9f7b8 -DomainSid S-1-5-21-1817670852-3242289776-1304069626
2018-10-01 09:49:43 +00:00
```
2018-12-28 09:09:35 +00:00
Configures AD-related LSA Policy Information of the local computer.
2018-10-01 09:49:43 +00:00
## PARAMETERS
2018-10-14 12:10:18 +00:00
### -ComputerName
2018-12-30 17:23:49 +00:00
Specifies the target computer for the operation. Enter a fully qualified domain name (FQDN), a NetBIOS name, or an IP address. When the remote computer is in a different domain than the local computer, the fully qualified domain name is required.
The default is the local computer. To specify the local computer, such as in a list of computer names, use "localhost", the local computer name, or a dot (.).
2018-10-01 09:49:43 +00:00
```yaml
2018-10-14 12:10:18 +00:00
Type: String
2018-10-01 09:49:43 +00:00
Parameter Sets: (All)
2018-12-30 17:23:49 +00:00
Aliases: Server, ServerName, Computer, Machine, MachineName, System, SystemName
2018-10-01 09:49:43 +00:00
2018-10-14 12:10:18 +00:00
Required: False
Position: Named
2018-10-01 09:49:43 +00:00
Default value: None
2018-10-14 12:10:18 +00:00
Accept pipeline input: False
2018-10-01 09:49:43 +00:00
Accept wildcard characters: False
```
2018-10-14 12:10:18 +00:00
### -DnsDomainName
{{Fill DnsDomainName Description}}
2018-10-01 09:49:43 +00:00
```yaml
2018-10-14 12:10:18 +00:00
Type: String
2018-10-01 09:49:43 +00:00
Parameter Sets: (All)
Aliases:
2018-10-14 12:10:18 +00:00
Required: True
2018-10-01 09:49:43 +00:00
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
2018-10-14 12:10:18 +00:00
### -DnsForestName
{{Fill DnsForestName Description}}
2018-10-01 09:49:43 +00:00
```yaml
2018-10-14 12:10:18 +00:00
Type: String
2018-10-01 09:49:43 +00:00
Parameter Sets: (All)
Aliases:
2018-10-14 12:10:18 +00:00
Required: True
2018-10-01 09:49:43 +00:00
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
2018-10-14 12:10:18 +00:00
### -DomainGuid
{{Fill DomainGuid Description}}
2018-10-01 09:49:43 +00:00
```yaml
2018-10-14 12:10:18 +00:00
Type: Guid
2018-10-01 09:49:43 +00:00
Parameter Sets: (All)
Aliases:
2018-10-14 12:10:18 +00:00
Required: True
2018-10-01 09:49:43 +00:00
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
2018-10-14 12:10:18 +00:00
### -DomainName
{{Fill DomainName Description}}
2018-10-01 09:49:43 +00:00
```yaml
2018-10-14 12:10:18 +00:00
Type: String
2018-10-01 09:49:43 +00:00
Parameter Sets: (All)
2018-10-14 12:10:18 +00:00
Aliases: NetBIOSDomainName, Workgroup
2018-10-01 09:49:43 +00:00
2018-10-14 12:10:18 +00:00
Required: True
2018-10-01 09:49:43 +00:00
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
2018-10-14 12:10:18 +00:00
### -DomainSid
{{Fill DomainSid Description}}
2018-10-01 09:49:43 +00:00
```yaml
2018-10-14 12:10:18 +00:00
Type: SecurityIdentifier
2018-10-01 09:49:43 +00:00
Parameter Sets: (All)
Aliases:
2018-10-14 12:10:18 +00:00
Required: True
2018-10-01 09:49:43 +00:00
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
2018-10-14 12:10:18 +00:00
### None
2018-10-01 09:49:43 +00:00
## OUTPUTS
2018-10-14 12:10:18 +00:00
### None
2018-10-01 09:49:43 +00:00
## NOTES
## RELATED LINKS