O365Tools
1.0.3
-----
Originally, I set out to make scripts that I alone would use, and as I read up more about PowerShell, I found posts suggesting the creation of modules that could be used by everyone. In turn, I have done just that. I created O365Tools to ease the management of Offic
-----
Originally, I set out to make scripts that I alone would use, and as I read up more about PowerShell, I found posts suggesting the creation of modules that could be used by everyone. In turn, I have done just that. I created O365Tools to ease the management of Office 365 for my organization and want to share it for use by anyone.
I also like to give credit where it is due and while I utilized Technet, the Powershell subreddit, and more, I also used information obtained by working with LiftOff LLC to develop this simple tool. Feel free to use it and if you have any questions, suggestions, or comments, feel free to contact me.
Minimum PowerShell version
4.0
Installation Options
Owners
Copyright
(c) 2016 Cliff Cazes. All rights reserved.
Package Details
Author(s)
- Cliff Cazes
Functions
Set-O365ExecutionPol Connect-O365Tools Test-O365Connection Get-O365OUs Start-O365DirSync Enable-O365Settings Get-O365Reports Set-O365Info New-O365SyncdUser Start-O365ConvertToShared Test-0365DirSync
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 1.0.3 include the following:
Commands Available:
-------------------
Connect-O365Tools: Connects your PowerShell session to Azure AD services. This allows you to work with your mailboxes and Office 365 user accounts.
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.
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.
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 1.0.3:
-------------------
Enabled Functions for standalone use:
Connect-O365Tools; Set-O365ExecutionPol; Test-O365Connection;
Updated Functions:
Start-O365DirSync – Added a delay with a status check to let you know when the sync completes
Added Functions:
Get-O365OUs; NewO365SyncdUser; Start-O365ConvertToShared
See “Commands Available” section for a brief overview. Use the internal Get-Help commands for info and examples!
FileList
- O365Tools.nuspec
- O365Tools.psd1
- O365Tools.psm1
Version History
Version | Downloads | Last updated |
---|---|---|
2.4 | 1,163 | 4/24/2018 |
1.0.3 (current version) | 655 | 9/2/2016 |