tags
powershell
175 Einträge
20 Einträge

Merging, splitting and creating PDF files with PowerShell
We’re in the last days of 2019, and this will be my last blog post this year. What better way to end a good year than with the release of t…

Microsoft Exchange – Connecting to remote server failed with the following error message
Connecting to Microsoft Exchange via PowerShell is a standard administrative tasks since Exchange 2007 was released. It’s available in all…

Microsoft Exchange – Set address book policy based on group membership
You may remember our older post how to set address book policy based on group membership. After using this method above…

Microsoft Exchange – Set Address Book Policy to multiple users based on group membership
One of the common tasks of Exchange Administrator is to add Exchange Address Book Policy to a user. Depending on needs…

Microsoft Graph – InvalidAuthenticationToken – Access token validation failure. Invalid audience
Fix Microsoft Graph InvalidAuthenticationToken invalid audience errors in PowerShell by requesting the token for the correct resource.

Monitoring Active Directory Changes on Users and Groups with PowerShell
Working as Administrator with Active Directory can be rewarding. You can easily deploy new settings, make changes to users even…

Monitoring BlackLists with PowerShell module
Blacklist checks are still a useful early-warning signal for mail flow issues, and this PowerShell module was built to automate those check…

Monitoring LDAPS connectivity/certificate with PowerShell
Some time ago, I wrote a blog post on checking for LDAP, LDAPS, LDAP GC, and LDAPS GC ports with PowerShell. It mostly works, but it requir…

Monitoring User, Groups Changes in Active Directory – version 0.8
💡 Little introduction Event Monitoring solution written in PowerShell is an event library (Get-EventsLibrary.ps1) script that parses Secur…

Move data between databases, CSV, and Excel with DbaClientX and PSWriteOffice
Move database rows through CSV or Excel, bring reviewed changes back safely, and choose the right PowerShell data shape for each step.

Nested Tabs, Diagram Updates, Diagram Events, Calendar Object and more in PSWriteHTML
One of the new features I’ve worked on was connecting Diagrams with Tables. Someone suggested, and I thought it would be cool to be able to…

Office 365 Health Service using PowerShell
Use PowerShell and Microsoft Graph to collect Office 365 service health data after the legacy communications API retirement.

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…