Remove-Alias cmdlet 从当前 PowerShell 会话中移除别名。 若要移除 Option 属性设置为 ReadOnly 的别名,请使用 Force 参数。 Remove-Alias cmdlet 是在 PowerShell 6.0 中引入的。
Name The alias name to remove. PagingParameters If the cmdlet declares paging support (via SupportsPaging), then PagingParameters property contains arguments of the paging parameters. Otherwise PagingParameters property is null. (Inherited from PSCmdlet) ParameterSetName The name of the parameter ...
PowerShell 複製 $newPSSessionOptionSplat = @{ ProxyAccessType = 'IEConfig' ProxyAuthentication = 'Negotiate' ProxyCredential = 'Domain01\User01' } $SessionOption = New-PSSessionOption @newPSSessionOptionSplat $newPSSessionSplat = @{ ConnectionUri = 'https://www.fabrikam.com' SessionOption = ...
User principal name (UPN) Legacy Exchange DN SMTP address Alias You can't use this parameter with the MailboxGuid or MoveRequestQueue parameters. Expand table Type: MoveRequestIdParameter Position: 1 Default value: None Required: True Accept pipeline input: True Accept wildcard characters: False...
Directory: Microsoft.PowerShell.Security\Certificate::CurrentUser\My Thumbprint Subject --- --- 4D4917CB140714BA5B81B96E0B18AAF2C4564FDF CN=PowerShell User ] 스크립트 서명 자체 서명된 인증서를 만든 후 스크립트에 서명할 수 있습니다. ...
The Member parameter specifies the recipient that you want to remove from the group. You can use any value that uniquely identifies the recipient. For example: Name Alias Distinguished name (DN) Canonical DN Email address GUID Expand table Type: GeneralRecipientIdParameter Position: Named Default...
Alias Distinguished name (DN) Canonical DN Domain\Username Email address GUID LegacyExchangeDN SamAccountName User ID or user principal name (UPN) Type:MailboxIdParameter Position:Named Default value:None Required:False Accept pipeline input:False ...
Alias $null If you set this parameter's value to $null, you will unlink the account and convert the linked mailbox into a non-linked user mailbox. The mailbox won't retain the permissions previously set on it such as Send As, full access, folder, and calendar delegation. This parameter...
.1.1PSFTPAlias Receive-FTPItem1.7.1.1PSFTPAlias Send-FTPItem1.7.1.1PSFTPFunction Add-FTPItem1.7.1.1PSFTPFunction Get-FTPChildItem1.7.1.1PSFTPFunction Get-FTPConnection1.7.1.1PSFTPFunction Get-FTPItem1.7.1.1PSFTPFunction Get-FTPItemSize1.7.1.1PSFTPFunction New-FTPItem1.7.1.1PSFTPFunction Remove-FTPItem...
$command = {New-Mailbox -UserPrincipalName testuser1@test.com -OrganizationalUnit test.com/Users -Alias testuser1 -Name testuser1 -DisplayName testuser1 -Password $args[0];} Invoke-Command -Session $session -ScriptBlock $command -ArgumentList $pwd ...