Invoke-Office365
Invokes PowerShell commands within Office365
Tweet
Getting Started
Pipeworks Quickstart
The Pipeworks Manifest
From Script To Software Service
What Pipeworks Does
Scripting Securely with SecureSettings
NOHtml Sites
Play with Pipeworks
PowerShell in ASP.NET
Mess With Markdown
Making Editing Easier With Markdown
Show Scripts as HTML
Making Tables with Out-HTML
Working with Write-Link
Connecting the Clouds
Get-Paid with Stripe
Getting GitIt
Get-Web Content From Anywhere
Pick up the Phone with Pipeworks
Implicit Texting with Twilio
The Wonders of Wolfram Alpha
Using Azure Table Storage in Pipeworks
Simplified SQL
Building with Blob Storage
Publishing Pipeworks to Azure
Looking Up Locations With Resolve-Location
Join Windows and Web
Why Windows
Scripting with Superglue
Integrated Intranet
Simpler SEO
Invoke-Office365
(View Source)
Invokes commands within Office365
Invokes PowerShell commands within Office365
Related Links
http://help.outlook.com/en-us/140/cc952755.aspx
Parameters
Account
The credential for the Office365 account
AccountSetting
A list of account settings to use.
ArgumentList
Any arguments to the script
AsJob
If set, will run the command in a background job
FreshConnection
If set, will create a fresh connection and destroy the connection when the command is complete. This is slower, but less likely to make the exchange server experience a session bottleneck.
Name
The name of the session. If omitted, the name will contain the email used to connect to Office365.
ScriptBlock
The script block to run in Office365
ServerName
The exchange server name. Only required if you're not invoking against Office365
Examples
Example 1
----------------------- EXAMPLE 1 -------------------------- PS C:\>Invoke-Office365 -ScriptBlock { Get-Mailbox -Identity james.brundage@start-automating.com }