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
Update, read here: https://alexholmeset.blog/2018/06/09/is-office-365-groups-pre-prepared-for-teams/ 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 … Continue reading Check if Office 365 Groups is Teams enabled
Lava lamp encryption
Lately there have been some articles on that 10% of the internet I protected by lava lamp encryption. Cloudflare have a wall of lava lamps that theire encryption take photos of to compute a more random password. Even though their encryption algorithms is most likely never going to run out of randomnes, they added a … Continue reading Lava lamp encryption
My story on how I got into automation and why you should do the same in 2018.
A couple of years ago I felt that i was stuck professionally. It didn`t matter how hard I worked, how I proved myself. I still didn`t get any chance to climb the ladder inside the IT department I was part of. Even though I got a couple more large responsibilities I was still stuck with the … Continue reading My story on how I got into automation and why you should do the same in 2018.
PowerShell Advent calendar
Here is a short office Advent calendar drawing script. It demonstrates some basic concepts in PowerShell scripting: - Creating a arraylist. - Subtracting from a arraylist. - Creating a function. - Simple If/Else statement. - Counting number of objects in a variable. - Get-Random. Im not going to go into dept about the concepts, but … Continue reading PowerShell Advent calendar
PowerShell: Beginner pittfalls
As i have started to advance my PowerShell skills, il share what common error i came upon in the beginning. Not knowing some of these can create some confusion and frustration. Please comment below any other tips you have for other beginners. Variable scope. If you write a script that contains a function, and you … Continue reading PowerShell: Beginner pittfalls