Trying to teach myself what PowerShell replacements there are for well known CMD commands. I have always used IPConfig, even in PowerShell out of old habit. What commandlet you can use in PowerShell is Get-NetIPAddress. Heres Microsofts description: Example of output: Here is a one liner for finding your computers DHCP address:
Set forwarding address for everyone.
Short but useful script to set forwarding email address for every user in your Office 365 tenant. Can be useful for example if a company have been acquired, and the new owners want them to use theire email domain. Forwarding can then be a good temporary/quick fix to catching all emails to the old domain.
Email notification with external members in Teams team.
Been over a month since my last blogpost. I have been completely out of ides on what to blog about or what to script. Twitter to the rescue. Did not take long time after asking that i got some ideas on what i could script. So this is what i decided on doing: What about … Continue reading Email notification with external members in Teams team.
Office 365 Groups reporting and Power BI visualisation
This is a improvement of my reporting script from my Power BI blog series. Read these two blog posts to better understand this script and article: Integrating PowerShell with PowerBI (Part 1) Integrating PowerShell with PowerBI: Module, script and reporting (Part 2) The script reports on a large variety of different data. It can for … Continue reading Office 365 Groups reporting and Power BI visualisation
Office 365 Groups activity one-liners.
Here are some one-liners to get various Office 365 Groups reporting/statistics. You can for example see last activity date on SharePoint, Inbox and Teams. Remember to log in to Exchange Online and SharePoint Online in the PowerShell session before running these one-liners.
Get mailbox data size and number of mailbox items for your tennant.
Short little script to get the totalt amount of mailboxdata and number of mailbox items in your Office 365 tenant. Shure, this could easily been done in the Office 365 services. But whats the fun in that? I did it PowerShell to learn a thing or two on the way. I even got to use … Continue reading Get mailbox data size and number of mailbox items for your tennant.
Check if Office 365 Groups is Teams enabled
If you use the Microsoft Teams PowerShell module you can only get a list of teams your a member of, even if you are a global admin. With this little script you get a list of all Office 365 Groups and whether its Teams enabled or not. It checks if the group's mailbox contains a … Continue reading Check if Office 365 Groups is Teams enabled