powershell
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
powershell [2015/02/21 20:31] – nabezo | powershell [2015/02/24 08:37] – nabezo | ||
---|---|---|---|
行 18: | 行 18: | ||
ユーザーのアカウントのプライマリ電子メール アドレスの変更 | ユーザーのアカウントのプライマリ電子メール アドレスの変更 | ||
https:// | https:// | ||
+ | |||
+ | |||
+ | Set-ExecutionPolicy RemoteSigned | ||
+ | $UserCredential = Get-Credential | ||
+ | $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:// | ||
+ | Import-PSSession $Session | ||
+ | | ||
+ | -----------close | ||
+ | Remove-PSSession $Session | ||
+ | ----------- | ||
+ | |||
プライマリメールアドレス変更 | プライマリメールアドレス変更 | ||
行 29: | 行 40: | ||
Windows PowerShell による Azure AD の管理 | Windows PowerShell による Azure AD の管理 | ||
https:// | https:// | ||
+ | |||
+ | $msolcred = get-credential | ||
+ | connect-msolservice -credential $msolcred | ||
+ | Set-MsolUserPrincipalName -UserPrincipalName User1@contoso.com -NewUserPrincipalName CCole@contoso.com | ||
+ | set-mailbox xxxx -EmailAddresses @{remove=" | ||
ユーザID(PrincipalName)の変更 | ユーザID(PrincipalName)の変更 |
powershell.txt · 最終更新: 2019/06/30 12:22 by 127.0.0.1