Skip to content

Commit

Permalink
Added parameter for Get-FullOwnerReport to grab all Unified Groups
Browse files Browse the repository at this point in the history
  • Loading branch information
nmswitzer1 committed Jun 8, 2018
1 parent 4ccd43c commit 1c536de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Get-FullTeamsReport/Get-FullTeamsReport.ps1
Expand Up @@ -49,7 +49,7 @@ $creds = Get-Credential
$Session365 = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $creds -Authentication Basic -AllowRedirection


$allGroups = Invoke-Command -ScriptBlock {Get-UnifiedGroup} -Session $Session365
$allGroups = Invoke-Command -ScriptBlock {Get-UnifiedGroup -ResultSize Unlimited} -Session $Session365

Remove-PSSession -Session $Session365

Expand Down

0 comments on commit 1c536de

Please sign in to comment.