Skip to content

Instantly share code, notes, and snippets.

View Tiberriver256's full-sized avatar
๐Ÿ“š
Still learning

Micah Rairdon Tiberriver256

๐Ÿ“š
Still learning
View GitHub Profile
@Tiberriver256
Tiberriver256 / gist:e3664c30c5e6e1db8622
Created March 28, 2016 14:15
SharePoint Development
cinst sharepointdesigner2013x64
cinst visualstudio2015community
cinst visualstudiocode
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
Connect-MsolService -credential $UserCredential
$ReportPath = "C:\filename"+ (Get-Date -UFormat %D).Replace("/",".") +".csv"
$Report = @()