tags

powershell

167 entries

Tags
Categories

20 entries

A command with name is already available on this system. This module may override the existing commands.

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…

modulepowershell
Accessing AzureVM with NLA and broken domain trust relationship

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…

ad trustazureazure vmnlapowershell
Active Directory DHCP Report to HTML or EMAIL with zero HTML knowledge

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…

dhcphtmlpowershell
Active Directory Health Check using Microsoft Entra Connect Health Service

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…

azure adhealth checksmicrosoft entrapowershell
Active Directory Replication Summary to your Email or Microsoft Teams

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 directorypowershellreplication
Active Directory – How to track down why and where the user account was locked out

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 directoryevent viewerget-eventsget-wineventpowershellpseventviewer
Active Directory – Move-AD Directory Server Operation Master Role: Access is denied

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 directoryfsmopowershell
Active Directory – The directory service was unable to allocate a relative identifier

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…

active directoryaderrorpowershell
Adaptive Cards with Tables and Linebreaks in Microsoft Teams

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…

adaptive cardsmicrosoft teamsoffice 365powershellteams
Adding user to local Administrators group in multiple languages

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…

administratorspowershellscripts
Advanced HTML reporting using PowerShell

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…

advanced reportingcsshtmljavascriptpowershellpswritehtml
All your HTML Tables are belong to us

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…

dashimohtmljavascriptpowershellpswritehtml
Azure ADConnect Export Failed – Permission-issue error

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…

active directoryadconnectazure adazure adconnecterrorerrors
AzureAD – Enable Password Expiration with Password Hash Synchronization

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…

azure adazure adconnectpowershell
Backing up Bitlocker Keys and LAPS passwords from Active Directory

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…

active directorybitlockerlapspowershell
Changing Exchange folder permissions in multilanguage Office 365 tenants

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…

exchangeexchange onlinepowershellroom mailbox
Comparing two or more objects visually in PowerShell (cross-platform)

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…

comparedashimohtmlout-htmlviewpowershellpswritehtml
Configuring Office 365 settings using PowerShell – The non-supported way

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…

graph apimicrosoft graphmicrosoft office 365moduleo365essentialsoffice 365
Connect-MgGraph: Keyset does not exist

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…

connet-mggraphgraphgraph-sdkmicrosoft graphpowershell
Converting Pester V4 to Pester V5 basics

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…

pesterpowershell