categories
PowerShell
191 articles
20 articles

Office 365 – Creating Archive Mailboxes with PowerShell in bulk
Quick PowerShell Script that allows to enable Archive Mailboxes for users that don’t have it enabled. Below script just does…

Office 365 – Find Users Forwarding Emails (PowerShell)
Use PowerShell to find Office 365 users who forward email through inbox rules so you can audit external forwarding and risky mail flow.

Office 365 – Limiting license to minimum apps required
Office 365 has a lot of options and applications to choose from. Enabling one E1, E3, or any other license gives the user a lot of features…

Office 365 – msExchHideFromAddressLists does not synchronize with Office 365
In my life I’ve deployed multiple Office 365 tenants connected with Active Directory and I’ve been synchronizing msExchHideFromAddressLists…

Office 365 – Report containing User Information and Mailbox Usage
Working with Office 365 is my bread and butter in the last few months. I’m a System Architect and I am dropped in multiple projects, both n…

Office 365 – The following error occurred during validation in agent Archive ParameterSet Enforcement Agent
If you try to use Enable-Mailbox for cloud-only Office 365 users, Exchange Online can return an Archive ParameterSet Enforcement Agent erro…

Office 365 – Using dynamic variable as prefix for Office 365 commands
One of the nice features of an Import-PSSession is Prefix parameter. If you have never used one let me try to…

Office 365 – Using Import-PSSession from separate module
Import-PSSession inside a module can surprise you because the imported commands may stay scoped to that module unless you deliberately impo…

Out-HtmlView – HTML alternative to Out-GridView
One of the most comfortable output’s in PowerShell to work and analyze data is Out-GridView. It’s handy as you can search, sort and have th…

Outlook – The primary account cannot be removed unless it is the only account in the profile
Fix the Outlook error about removing the primary account by handling Office 365 migration profiles without forcing full mailbox re-download…

PowerBGInfo 2.x: support-ready Windows backgrounds from PowerShell
Build and deploy Windows backgrounds that show the machine details a user or support technician actually needs.

PowerBGInfo – PowerShell alternative to Sysinternals BGInfo
When I created ImagePlayground, I thought about how to show its usefulness to the general community. On how to deliver what PowerShell can…

PowerShell Core – The type initializer for Gdip threw an exception.
While working on PSWriteExcel on Ubuntu / Mac OS I’ve noticed that my -AutoFit method for ConvertTo-Excel was crashing. I couldn’t…

PowerShell modules I worked on in 2018
A look back at the PowerShell modules built in 2018, what they solved, how they grew, and why some were merged, retired, or kept simple.

PowerShell Modules I worked on in 2019
A 2019 roundup of PowerShell modules, growth, retirements, and download trends across the projects built and maintained that year.

PowerShell way to get all information about Office 365 Service Health
Office 365 is an excellent cloud service. But like any service, there’s some infrastructure behind it that has to be cared for. Since this…

Powershell – Change DNS IP Addresses remotely
Use PowerShell to change DNS server addresses on remote Windows machines with a safer pattern that validates adapters and returns the final…

PowerShell – Comparing advanced objects
Compare nested and advanced PowerShell objects more reliably by flattening complex structures before visual diffing and review.

PowerShell – Converting advanced object to flat object
PowerShell language allows you to work and build complicated objects. There are multiple ways to save them, such as XML or JSON, but someti…

PowerShell – Environment Path is missing or overwritten
If PSModulePath is suddenly missing default module locations, PowerShell can stop discovering built-in or installed modules even though not…