Skip to content
Connect. Provision. Maintain.
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 399 commits behind kevinblumenfeld:master.
itpro-tips Delete Get-EXOGroup.ps1
Delete Get-EXOGroup.ps1

Same script as Get-ExchangeDistributionGroup so can be removed for better understanding and code update.
The only difference is about the OU attribute. To me it is not a problem because this attribute also exists in Office 365
Latest commit b17d0a8 Jan 9, 2019


Type Name Latest commit message Commit time
Failed to load latest commit information.
Posh365 Delete Get-EXOGroup.ps1 Jan 9, 2019
.gitignore add perm chain gitignore Oct 4, 2018 updated Sep 19, 2018


Connect. Provision. Maintain.
Posh365 is a Toolbox for Office 365 and On-Premises Environments

Change Log Various improvements and a couple new functions like Compare-Csv and Compare-List Now allows for decimal input for StartSearchHoursAgo and EndSearchHoursAgo for New-EXOMessageTrace Fixed bug in New-EXOMessageTrace where using -subject parameter would cause script to fail. Also now uses -StartSearchHoursAgo and EndSearchHoursAgo instead of minutes. in Connect-Cloud, added verbiage to give user alternate method to download MFA PS module if auto-install fails Added support to automatically download MFA module needed for EXO and Security & Compliance in Connect-Cloud Added support to connect to Exchange Online and Security and Compliance with MFA in the same console Added support to connect to Exchange Online with MFA without having to download MFA console each time Added functionality and killed bugs in Get-DiscoveryInfo, Export-CsvData & Import-CsvData Corrected issue with Get-DiscoveryInfo Get-DiscoveryInfo for on-premises discovery. First version Formatted hashtables properly in Permissions functions Added support for loading MFA module if already installed. Corrected Get-ActiveDirectoryGroup Correct bug in Export-CsvData Added function Clear-Attribute to clear pesky AD Attribute values Added replace and attribute selection for Import-CsvData Added ability to change domains when importing addresses with Import-CsvData Squashed bug when Add or Remove ProxyAddresses from AD with Import-CsvData Ability to Add or Remove ProxyAddresses from AD with Import-CsvData More output with Export-CsvData Better logging for Import-CsvData Import-CsvData cleaned Removed Add-SecondarySIP function Export-CsvDataForGroups added and corrections to Get-ActiveDirecoryGroup Corrected a bug in Get-ActiveDirectoryGroup Added Get-ActiveDirectoryGroup Corrected Get-ActiveDirectoryObject output incorrectly was using Get-ADUser instead of Get-ADObject Added new function Get-ActiveDirectoryObject and added column to Export-CsvData Now Import-ADProxyAddress is split between Import-ADUserProxyAddress and Import-ADGroupProxyAddress Added option to pick from 3 different columns from CSV when using Export-CSVData Added additional CBH for Import-ADProxyAddress and Export-CSVData Get-ActiveDirectoryUserFiltered is working properly now Removed old sip in Switch-AddressDomain Updated comment based help for Switch-AddressDomain Corrected bug in Switch-AddressDomain that would cause new address become the new secondary, instead current primary smtp should become new additional smtp: address Corrected bug in Switch-AddressDomain that would cause odd logging of errors Created Switch-AddressDomain and removed same functionality from Import-ADProxyAddress Updated Import-ADProxyAddress with new functionality New Comment Based Help Removed the switch -SelectMessageForDetails & made the action default in New-EXOMessageTrace Changed Sort to descending for migration and move request stats detailed report Added Get-EXOMigrationStatistics & Get-EXOMoveRequestStatistics Added New-EXOMailTransportRuleReport Completely revised New-EXOMessageTrace to allow for searches by minute for both start and end times. All output is to Out-GridView. Message(s) can then be selected. Click OK and MessageTraceDetails will appear an in Out-Grid, one for each message selected Working version of Import-ActiveDirectoryGroupMember Corrected issue where rename of DisplayName (to account for CNs longer than 15 characters) would fail in New-ActiveDirectoryGroup New-ActiveDirectoryGroup can now replace domain (domain/newDomain params) when importing email addresses New-ActiveDirectoryUser now renames CN attribute to DisplayName Changed method to iterate samaccountname in New-ActiveDirectoryUser Corrected iteration when duplicate sAMAccountname is found in New-ActiveDirectoryUser sAMAccountname truncate to 15 characters in New-ActiveDirectoryUser Removed unneeded parameters from New-ActiveDirectoryUser Added New-ActiveDirectoryUser for adding SharedMailbox and Resource Mailboxes in a tenant to tenant migration etc. Added domain replacement functionality to Import-ADProxyAddresses -Domain -NewDomain Added functions Import-ActiveDirectoryGroup & Import-ActiveDirectoryGroupMember Added functions Test-PreFlight and Test-PreFlightOnPrem Corrected bug in Import-ADProxyAddress and added Verbose output Added error handling for Import-ADProxyAddress Added Import-ADProxyAddress. Prior to adding any action will output file with what will be added to each ADUser
0.8.1 Property order change in Get-ActiveDirectoryUser
0.8.0 Corrected duplicate properties in Get-ActiveDirectoryUser
0.7.9 Rearranged order of properties for Get-ActiveDirectoryUser
0.7.8 Corrected module PSD1 file to export function names correctly
0.7.7 Added several new function. As always use Get-Command -Module Posh365 for a list of commands and use Get-Help on each command.
0.7.6 Removed unneeded attributes from Import-EXOGroup's parameter splat
0.7.5 Removed Duplicate -ResultSize Unlimited from Get-EXOMailboxPerms
0.7.4 Corrected cmdlet name in Import-EXOMailboxPermissions. Performance enhancements in Get-365Info
0.7.3 Added 3 -ResultSize Unlimited to correct issue where over 1000 recipients in 2 functions
0.7.2 Fix multi-domain forest issue with mailbox and dg permissions if Global Catalog was not already being used to authenticate session. Added more -Verbose output for permissions functions. SendOnBehalf permissions on Distribution Groups is reported on from Distribution Groups script instead of permissions scripts
0.7.1 Corrected DG SendAs report. SendOnBehalf to follow. In the meantime, GrantSendOnBehalfTo is reported at the Group level
0.7.0 Added on-prem Dist Group Permissions Reporting function
0.6.9 Added EXO "apply" permissions to mailboxes and groups function
0.6.8 Added Get-DGPerms and added to Get-365Info comprehensive report
0.6.6 Fixed typo
0.6.5 Updated example
0.6.4 Add Get-EXOMailContact function
0.6.3 Added controller script (Get-365Info) to discover EXO/365 Tenant with the means to restrict by domain name. Added report for archive mailboxes, licensing, Retention Policies. Improved help with detailed examples.
0.6.2 Fixed a bug that prevented Get-EXOGroup from correct output when requesting all groups
0.6.1 Added several Get-EXO... functions to gather msolusers, msolgroups, mailboxes, resource mailboxes(calendar processing) with simple and/or detailed reports. Reporting can can be limited by email domains etc.
0.6.0 Corrected issue where Get-EXOGroups would not report members when reporting on all groups
0.5.9 Added Get-EXOGroups, reports on all Exchange Online mail-enabled dist & sec groups, all email addresses and other multivalued attributes (semicolon separated). Also all members. Planning to add a -Recurse switch soon. Also, Get-EXOMailboxPerms collects all Exchange Online permissions and can accept txt input instead of entire tenant. Moving txt to pipeline input in next release
0.5.8 Resolved issue where AzureAD and MSOnline modules would not auto install
0.5.7 Added VanHybrid's amazing Get-VirtualDirectoryInfo (ver 1.8) function
0.5.6 Added Get-EdiscoveryCase function to obtain Security and Compliance case reports
0.5.5 Add 2 New-EXOMessageTrace functions
0.5.4 New-HybridMailbox will give user SIP proxy address if -primarySMTPAddress parameter is used (No EAP applied) 0.5.3 made correction to New-HybridMailbox. Used Try/Catch to import AD Module and throw if not available on all needed functions
0.5.2 Check for ActiveDirectory module for New-HybridMailbox uses Try/Catch instead of #Requires
0.5.1 Get-MailboxPerms, Get-EXOMailboxPerms and Get-EXOMailboxRecursePerms released

You can’t perform that action at this time.