3.1 KiB
external help file | Module Name | online version | schema |
---|---|---|---|
DSInternals.PowerShell.dll-Help.xml | DSInternals | https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/Set-LsaPolicyInformation.md | 2.0.0 |
Set-LsaPolicyInformation
SYNOPSIS
Configures AD-related Local Security Authority Policies of the local computer or a remote one.
SYNTAX
Set-LsaPolicyInformation -DomainName <String> -DnsDomainName <String> -DnsForestName <String>
-DomainGuid <Guid> -DomainSid <SecurityIdentifier> [-ComputerName <String>] [<CommonParameters>]
DESCRIPTION
{{Fill in the Description}}
EXAMPLES
Example 1
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
Configures AD-related LSA Policy Information of the local computer.
PARAMETERS
-ComputerName
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 (.).
Type: String
Parameter Sets: (All)
Aliases: Server, ServerName, Computer, Machine, MachineName, System, SystemName
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DnsDomainName
{{Fill DnsDomainName Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DnsForestName
{{Fill DnsForestName Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DomainGuid
{{Fill DomainGuid Description}}
Type: Guid
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DomainName
{{Fill DomainName Description}}
Type: String
Parameter Sets: (All)
Aliases: NetBIOSDomainName, Workgroup
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DomainSid
{{Fill DomainSid Description}}
Type: SecurityIdentifier
Parameter Sets: (All)
Aliases:
Required: True
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).