PowerShell scripting for Office365 Administration and deployment is pretty powerful. Essentially, all scripts will start the same group of lines that provide for establishing a session and retrieving the Office365 commands. Hope this helps provide a simple starting point. Set-ExecutionPolicy unrestricted Y $cred = Get-Credential $O365 = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication …
Tag Archive: PowerShell
Permanent link to this article: http://www.edalexanderconsulting.com/archives/512
Jul 10 2011
Office365 PowerShell Script to Block Incoming Email from Specified Domain
BPOS allowed a simple UI method to maintain a block list for incoming email to your hosted Exchange service. Office365 has no such simplified implementation and instead offers full access to create transport rules in Exchange. The rules can be created either through the web management UI or via PowerShell as below: Save the following …
Permanent link to this article: http://www.edalexanderconsulting.com/archives/455
