Powershell ile Office 365’e bağlanmak
- Enis GOKTAY
- 8 Şub 2014
- 1 dakikada okunur
Powershell ile Office 365’e bağlanmak;
OS: Win7-8 ve 8.1, Windows Server 2008R2, Windows Server 2012 ve R2
Net Framework 3.51
Microsoft Online Services Sign-In Assistant, http://go.microsoft.com/fwlink/?LinkId=286152
Office 365 cmdlets
Aşağıdaki komutlar yardımıyla bağlantı sağlayabiliriz.
Import-Module MSOnline
$Cred = Get-Credential
$Session = New-PSSession –ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $Cred -Authentication Basic -AllowRedirection
Import-PSSession $Session -AllowClobber
Connect-MsolService –Credential $Cred
Comments