O365Tools

2.4

This module contains tools that will help you more powerfully and efficiently administer the functionality of Office 365. In version 2, significant changes were made to the reports functionality. The origins of creating this module relate back to working with LiftOff LLC.

Minimum PowerShell version

4.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name O365Tools

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name O365Tools

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2018 Cliff Cazes. All rights reserved.

Package Details

Author(s)

  • Cliff Cazes

Dependencies

This module has no dependencies.

Release Notes

Overview:
-------------------
With this module, you can run multiple tasks with a single command. Functions included to date as of Version 2.4 include the following:

Commands Available:
-------------------

Enable-O365Settings: Enable mailbox features such as Audit Logging and in-place archiving

Enable-O365Settings:
This command allows you to enable mailbox features such as Audi Logging and In-Place Archiving

Get-O365OUs
Lists available Active Directory OUs for you to view if necessary. I use this for reference purposes when working with PowerShell and Office 365 with Azure Directory Services.

Get-O365Reports:
This command allows you to generate many different reports for analyzing your Office 365 mailboxes, accounts, etc. Use the 'Get-Help' for more info on this command.

Get-O365AllReports:
This command will run all the available reports from Get-O365Reports and save them to a ZIP archive in either the default location of '$env:HOMEDRIVE\Reports' or whatever you specify as the save location.

New-O365SyncdUser:
This PowerShell cmdlet streamlines setting up a new user in Active Directory to sync with Office 365. You could use the New-AdUser command to accomplish the same task, but this shortens it significantly and sets up a user with the necessary fields needed for the Azure AD Sync Tool running on your Directory sync server.

Set-O365ExecPol:
This is just a redundant command to set your Execution policy to the right level in order to run the module.

Set-O365Info:
Currently, this command is only set to allow you to update Timezones for your users in Office 365.

Start-O365ConvertToShared:
This command will aid you in converting a synced AD User mailbox to a shared mailbox. In short, it automates the process in an environment that uses Azure AD Connect to move a user to an unsynced OU, force a sync, restore the mailbox in the cloud, and change it from a user mailbox to a shared mailbox. This is something I encountered and wanted to automate hence I added it to O365Tools. (Note: this function has been buggy in the past, so YMMV).

Start-O365DirSync:
This command will force an Azure AD Sync (Delta, Full, or Full Password). The command can only be run on your Azure Directory Sync server. If you are not on that system and you attempt to run the command, it will abort.

Test-O365Connection:
This command is used to test your connection to Office 365. It requires you have the Azure Active Directory Module already installed. When run, it will check if you are connected and if not, it will initiate a connection to Office 365 in your Powershell session.

Changelog for 2.4:
-------------------

The entire module was revamped using dot sourcing to build the *.PSM1 file. Now the module calls all of the *.PS1 files in the public folder and writes them to the *.PSM1 file allowing for ease of management. This does not change any functionality for the end user. Also, I've added some CSS style sheets for the HTML reports that you can generate using this module.

Added Functions:
----------------
Get-O365AllReports  :  This runs all available reports from the Get-O365Reports Module and then compresses them into a ZIP archive. You can choose to save the reports in CSV, HTML, or ALL formats!



Updated Functions and More:
----------------------------
Get-O365Reports : Updates were made to the reports module that allow formatting, saving in multiple file formats, and setting a color scheme for html reports.


Removed Functions:
------------------
Connect-O365Tools : The function exists, but it is now private. It was redundant in that 'Test-O365Connection' will call to 'Connect-O365Tools' if necessary.

Help Information:
-----------------
'Get-Help' information has been updated with much more detailed information for functions relating to the reports. See “Commands Available” section for a brief overview. Use the internal Get-Help commands for info and examples!

TROUBLESHOOTING:
----------------
NOTE: If you have problems connecting an Office 365 Powershell Session, make sure you have the 'MSOnline' Module installed:

Install-Module MSOnline

FileList

Version History

Version Downloads Last updated
2.4 (current version) 1,163 4/24/2018
1.0.3 655 9/2/2016