Remove-Alias cmdlet 从当前 PowerShell 会话中删除别名。 若要删除 Option 属性设置为 ReadOnly的别名,请使用 Force 参数。 PowerShell 6.0 中引入了 Remove-Alias cmdlet。
ExchangePowerShell 适用于: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019 此cmdlet 仅适用于本地 Exchange。 使用Remove-MailboxExportRequest cmdlet 删除完全或部分完成的导出请求。 可以为指定邮箱创建多个导出请求,前提是指定了不同的名称。 已完成的导出请求不会自动清除;...
PowerShell Copy Remove-ADPermission [-Identity] <ADRawEntryIdParameter> -User <SecurityPrincipalIdParameter> [-AccessRights <ActiveDirectoryRights[]>] [-ChildObjectTypes <ADSchemaObjectIdParameter[]>] [-Confirm] [-Deny] [-DomainController <Fqdn>] [-ExtendedRights <ExtendedRightIdParameter[]>] [...
PowerShell.Commands Assembly: Microsoft.PowerShell.Commands.Utility.dll Package: Microsoft.PowerShell.Commands.Utility v7.4.0 The implementation of the "Remove-Alias" cmdlet.C# Kopēt [System.Management.Automation.Alias(new System.String[] { "ral" })] [System.Management.Automation.Cmdlet("...
Alias Distinguished name (DN) Canonical DN Domain\Username Email address GUID LegacyExchangeDN SamAccountName User ID or user principal name (UPN) You can't use this parameter with the Database parameter. Táblázat kibontása Type: MailboxIdParameter Position: 1 Default value: None Required: ...
Alias Distinguished name (DN) Canonical DN Domain\Username Email address GUID LegacyExchangeDN SamAccountName User ID or user principal name (UPN) You can't use this parameter with the Database parameter. Expand table Type: MailboxIdParameter Position: 1 Default value: None Required: True Accept...
Alias Distinguished name (DN) Canonical DN Domain\Username Email address GUID LegacyExchangeDN SamAccountName User ID or user principal name (UPN) Expand table Type: SecurityPrincipalIdParameter Position: Named Default value: None Required: True Accept pipeline input: False Accept wildcard characters:...
Alias Distinguished name (DN) Canonical DN Domain\Username Email address GUID LegacyExchangeDN SamAccountName User ID or user principal name (UPN) Expand table Type: MailboxIdParameter Position: Named Default value: None Required: False Accept pipeline input: False Accept wildcard characters: False...
PowerShell Copy Set-DistributionGroup Accounting -ManagedBy @{Add="<Alias>"} -BypassSecurityGroupManagerCheck After you do this, you'll be able to change the distribution group. For more information about the Set-DistributionGroup cmdlet, see Set-DistributionGroup. References To learn...
Function Remove-AliasFromScript { The second line of code is one of the most important —it obtains the code from the current file and stores it in the$bvariable (the$bvariable is the one that contains the Windows PowerShell code to be parsed by the tokenizer). In looking at the dotted...