categories

PowerShell

191 entradas

Etiquetas
Categorías

20 entradas

Enhanced Dashboards with PSWriteHTML – Introducing InfoCards and Density Options

Enhanced Dashboards with PSWriteHTML – Introducing InfoCards and Density Options

Discover new features in the PSWriteHTML PowerShell module – including New-HTMLInfoCard, improved layout controls with the -Density paramet…

csshtmljspswritehtmlreporting
Exchange 2013 – Grant SendOnBehalf permission for Mailbox overwrites Existing permissions

Exchange 2013 – Grant SendOnBehalf permission for Mailbox overwrites Existing permissions

When you change GrantSendOnBehalfTo in Exchange PowerShell, use add and remove operations instead of replacing the whole delegate list by a…

exchange 2010exchange 2013exchange 2016GrantSendOnBehalfTopowershellSet-DistributionGroup
Exchange 2013 – How to add Relay Connector from PowerShell

Exchange 2013 – How to add Relay Connector from PowerShell

Adding new receiving connector is standard procedure available via GUI on Exchange 2010 / Exchange 2013 or Exchange 2016. However…

exchange 2010exchange 2013exchange 2016powershellreceive connector
Executing hidden or private functions from PowerShell Modules

Executing hidden or private functions from PowerShell Modules

When you write PowerShell modules, there’s a high chance you will have conflicts with either existing system commands (you should avoid tha…

hiddenpowershellpowershell module
Export-CliXML and Import-CliXML serialization woes

Export-CliXML and Import-CliXML serialization woes

I’ve been working today trying to deliver to one of my Clients Active Directory documentation. To my surprise, something that worked fine f…

export-clixmlimport-clixmlpowershell
Finding duplicate DNS entries using PowerShell

Finding duplicate DNS entries using PowerShell

Today’s blog post is about Active Directory-integrated DNS and how to find duplicate entries. By duplicate, I mean those where one DNS name…

active directoryaddnsDNSServerpowershell
Finding duplicate DNS records by IP Address using PowerShell

Finding duplicate DNS records by IP Address using PowerShell

In my earlier blog post, I showed you a way to find duplicate DNS entries using PowerShell, but the focus was on finding duplicate entries…

active directorydnsDNSServerduplicatespowershell
Finding duplicate SPN with PowerShell

Finding duplicate SPN with PowerShell

Duplicate SPNs aren’t very common but can happen in any Active Directory as there’s no built-in way that tracks and prevent duplicate SPN’s…

active directoryadadessentialsforestpowershellspn
Finding GPOs missing permissions that may prevent GPOs from working correctly

Finding GPOs missing permissions that may prevent GPOs from working correctly

I’ve been in IT for a longer time now. I’ve made my fair share of mistakes and misconfigurations. One of those misconfigurations was removi…

active directoryadessentialsgpopowershell
Fixing Active Directory PasswordNotRequired with PowerShell

Fixing Active Directory PasswordNotRequired with PowerShell

There was I, deploying PSPasswordExpiryNotifications for one of my Clients when I started getting complaints that some users are not gettin…

active directoryadPasswordNotRequiredpowershell
Formatting and minifying resources (HTML, CSS, JavaScript) with PowerShell

Formatting and minifying resources (HTML, CSS, JavaScript) with PowerShell

When you work with HTML, CSS, and JavaScript, you often meet three versions on how those are stored in files – minified, formatted, somewhe…

csshtmljavascriptpowershellpsparsehtmlpswritehtml
Four commands to help you track down insecure LDAP Bindings before March 2020

Four commands to help you track down insecure LDAP Bindings before March 2020

In March 2020, Microsoft will release its monthly updates. With those updates, Microsoft will disable insecure LDAP Bindings, which is goin…

adessentialspowershellpseventviewerpswinreportingv2
Function cannot be created because function capacity 4096 has been exceeded for this scope

Function cannot be created because function capacity 4096 has been exceeded for this scope

I had a long day today when my long-running script (10 hours) gave me weird errors with Microsoft Graph for Teams. Finally, I solved my mis…

aliaseserrorsfunctionslimitspowershellwindows powershell
Get-ADObject : The server has returned the following error: invalid enumeration context.

Get-ADObject : The server has returned the following error: invalid enumeration context.

In the last weeks, I’m working on a PowerShell module that the main goal is to work on gathering and fixing GPOs. I’ve been testing my modu…

active directoryget-adobjectpowershell
Get-AdPermission – The operation couldn’t be performed because object couldn’t be found

Get-AdPermission – The operation couldn’t be performed because object couldn’t be found

During our recent creation of Relay Receive Connector on Exchange 2013 we’ve encountered an error: The operation couldn’t be performed beca…

errorexchangeexchange 2013powershell
Get-EventLog shows wrong maximum size of event logs

Get-EventLog shows wrong maximum size of event logs

If Get-EventLog and older WMI queries show misleading maximum log size values, Get-WinEvent can return the event log metadata more accurate…

eventevent idevent logsevent viewerget-eventlogget-winevent
Get-EventsLibrary.ps1 – Monitoring Events PowerShell

Get-EventsLibrary.ps1 – Monitoring Events PowerShell

This event library (Get-EventsLibrary.ps1) is PowerShell script that parses Security (mostly) logs on Domain Controllers. It has few report…

active directoryaddomain controllerget-eventsmonitoringpowershell
Getting Active Directory Last Backup Time using PowerShell

Getting Active Directory Last Backup Time using PowerShell

I shouldn’t be telling you that, but Active Directory Backup is an essential part of your Active Directory setup. When a backup of Active D…

active directorypowershell
Getting Azure Health by parsing HTML using PSParseHTML

Getting Azure Health by parsing HTML using PSParseHTML

Some time ago I’ve wrote PowerShell way to get all information about Office 365 Service Health, and if you were thinking that I would try t…

azureazure healthpowershellpsparsehtml
Getting Bitlocker and LAPS summary report with PowerShell

Getting Bitlocker and LAPS summary report with PowerShell

Having Bitlocker and LAPS in modern Active Directory is a must. But just because you enable GPO and have a process that should say Bitlocke…

active directoryadbitlockerlapspowershell