Подключение к Exchange

Exchange Server:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'http://exchangeserver.domain.com/powershell' -Authentication Kerberos -Credential $Credential

Office 365

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https://ps.outlook.com/powershell' -Authentication Basic -Credential $Credential -AllowRedirection

Импорт

Import-PSSession -Session $Session

Страницы в социальных сетях:

Twitter: https://twitter.com/vsseth
Facebook: https://fb.com/inpowershell
VKontakte: https://vk.com/inpowershell


Реклама