tags
powershell
167 entries
20 entries

A command with name is already available on this system. This module may override the existing commands.
Another day, another issue one may say. Today I wanted to install one of my modules to a new server and was greeted with a well-known messa…

Accessing AzureVM with NLA and broken domain trust relationship
Hosting your VM’s in Azure Cloud is excellent. You have all those features, professionally managed and virtually limitless. I don’t want to…

Active Directory DHCP Report to HTML or EMAIL with zero HTML knowledge
I’m pretty addicted to reading blog posts. I saw this new blog post the other day, where the author created the DHCP HTML report, and he di…

Active Directory Health Check using Microsoft Entra Connect Health Service
Active Directory (AD) is crucial in managing identities and resources within an organization. Ensuring its health is pivotal for the seamle…

Active Directory Replication Summary to your Email or Microsoft Teams
Active Directory replication is a critical process that ensures the consistent and up-to-date state of directory information across all dom…

Active Directory – How to track down why and where the user account was locked out
I’ve been working with Windows Events for a while now. One of the things I did to help me diagnose problems and reporting on Windows Events…

Active Directory – Move-AD Directory Server Operation Master Role: Access is denied
When working with Active Directory one of the common tasks is to move FSMO roles between servers. Well, maybe not that common but it happen…

Active Directory – The directory service was unable to allocate a relative identifier
I’ve been testing Disaster Recovery scenario restoring Active Directory. One of the servers was restored, and it worked for a moment after…

Adaptive Cards with Tables and Linebreaks in Microsoft Teams
PSTeams is a PowerShell module that helps simplify sending notifications to Microsoft Teams via Incoming webhooks. It’s easy to use and doe…

Adding user to local Administrators group in multiple languages
Everyone now and then, there comes a moment you need to add a user into Administrators group on each computer…

Advanced HTML reporting using PowerShell
I’ve been using HTML reporting in PowerShell for a while. Initially, I would usually build HTML by hand, but the time spent trying to figur…

All your HTML Tables are belong to us
Last few days, I’ve fulfilled my little dream related to building HTML tables. You know I’ve been using HTML based scripts for a long while…

Azure ADConnect Export Failed – Permission-issue error
During our recent setup of Azure ADConnect for one of our Clients we’ve been getting permission-issue – Insufficient access rights…

AzureAD – Enable Password Expiration with Password Hash Synchronization
Azure AD Connect allows three ways to make sure the user password is the same in Active Directory and Office 365. Those are Password Hash S…

Backing up Bitlocker Keys and LAPS passwords from Active Directory
Having a modern, secure infrastructure in 2019 is a requirement. You should implement BitLocker to make sure that in the event of stolen la…

Changing Exchange folder permissions in multilanguage Office 365 tenants
One of the tasks I often get when setting up new Office 365 tenant or installing Exchange Servers is to change the visibility of Room Mailb…

Comparing two or more objects visually in PowerShell (cross-platform)
For the last few weeks I’m working on a small project, that should be released within next few weeks (it is open source so don’t worry – yo…

Configuring Office 365 settings using PowerShell – The non-supported way
Office 365 is a huge beast. It has so many services that it’s hard to track all of them. It’s even harder if you want to manage Office 365…

Connect-MgGraph: Keyset does not exist
I had this little issue today when I tried to schedule the Microsoft Graph script to run as a service account on a certificate. To my surpr…

Converting Pester V4 to Pester V5 basics
Now that Pester V5 is out, I decided that I need to make sure that my Pester tests for all my modules keep on running correctly. Some subst…