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

Regain access to Azure VMs after a broken domain trust by disabling NLA remotely and repairing the machine relationship with PowerShell.

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

Monitor Active Directory replication with Repadmin summaries delivered to email or Microsoft Teams so failures surface without manual check…

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

Build complex HTML tables from PowerShell with PSWriteHTML, including multi-row headers and report layouts that are painful to hand-code.

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

Enable Office 365 password expiration for Azure AD Connect password hash sync users so cloud sign-ins follow your on-premises policy.

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

Backing up Bitlocker Keys and LAPS passwords from Active Directory

Back up BitLocker recovery keys and LAPS passwords from Active Directory so older restores and disaster recovery scenarios remain accessibl…

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)

Compare two or more PowerShell objects visually with PSWriteHTML so property differences are easier to review, share, and export.

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

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

Use O365Essentials to read and change Microsoft 365 admin settings from PowerShell when the official modules do not expose them.

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

Connect-MgGraph: Keyset does not exist

If Connect-MgGraph works interactively but fails in a scheduled task with 'Keyset does not exist', the certificate is usually installed in…

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

Converting Pester V4 to Pester V5 basics

Convert Pester v4 tests to Pester v5 basics, understand the breaking changes, and get existing PowerShell test suites running again faster.

pesterpowershell