tags

powershell

167 entries

Tags
Categories

20 entries

PSWinReporting 1.0 – Monitoring Active Directrory Events

PSWinReporting 1.0 – Monitoring Active Directrory Events

Few months after initial release a new public version of PSWinReporting 1.0 is released. While the name might not be…

active directoryaddomain controlleremailhtmlmonitoring
PSWinReporting 1.8 – Split of branches (Legacy vs. New Hope)

PSWinReporting 1.8 – Split of branches (Legacy vs. New Hope)

A new branch of PSWinReporting is slowly coming, and I thought it would be the best time to have a final article about it with all configur…

eventevent monitoringeventspowershellpswinreporting
PSWinReporting – Forwarders, Microsoft Teams, Slack, Microsoft SQL and more

PSWinReporting – Forwarders, Microsoft Teams, Slack, Microsoft SQL and more

It’s been a while since PSWinReporting has been updated, or rather since I’ve written a blog post about it since it’s always…

active directoryevent logeventsmicrosoft teamsms sqlpowershell
PSWriteWord – Add-WordTable / Add-WordText Expanded

PSWriteWord – Add-WordTable / Add-WordText Expanded

In this weekly release (PSWriteWord 0.4.6) there are handful of updates and tweaks to Add-WordTable and Add-WordText. If you’ve not…

docxexamplesmicrosoft wordpowershellPSWriteWordword
PSWriteWord – Updated to 0.4.1 (Breaking Change included)

PSWriteWord – Updated to 0.4.1 (Breaking Change included)

While the update may seem small – change from 0.4 to 0.4.1 it actually brought a number of fixes and…

docxexamplesmicrosoft wordpowershellPSWriteWordword
Quickly test multiple proxies with Powershell

Quickly test multiple proxies with Powershell

Recently we were tasked with testing connectivity with Good For Enterprise servers. Since the environment is highly secure it requires…

powershellproxyproxy powershellproxy telnetproxy testscripts
Reading IIS logs with PowerShell

Reading IIS logs with PowerShell

Today I was reading Twitter, as I am pretty addicted to technology news when Adam Bacon mentioned that he’s surprised that no one has rebui…

iisiis-serverlogspowershell
Remove Protect Object setting from Organizational Unit via PowerShell

Remove Protect Object setting from Organizational Unit via PowerShell

Sometimes when you want to clean up Active Directory by deleting or moving Organizational Units you get Access Denied error….

active directorypowershellwindows 2012windows 2012 r2windows 2016
Remove-Item : Access to the cloud file is denied while deleting files from OneDrive

Remove-Item : Access to the cloud file is denied while deleting files from OneDrive

I like OneDrive. It allows me to keep my data secure and always synchronized. If things go wrong, I can always get it back. I use it for al…

deleteonedrivepowershellremove-item
Removing user from local administrator group based on data stored in Active Directory

Removing user from local administrator group based on data stored in Active Directory

We need to deal with a group names through SID’s rather than names because each group name is different in different languages. The second…

active directoryadsipowershellpowershell 2.0windows 7
Renaming NETBIOS name of Active Directory Error

Renaming NETBIOS name of Active Directory Error

Recently I was testing renaming the NETBIOS name of an Active Directory domain. While this process is fairly easy, there are a few gotcha’s…

active directorynetbiospowershell
Report Active Directory Accounts that are Synchronized with Azure AD

Report Active Directory Accounts that are Synchronized with Azure AD

I was scrolling X (aka Twitter) today and saw this blog post, “PowerShell: Report On-Premises Active Directory Accounts that are Synchroniz…

active directoryadazure admicrosoft graphpowershell
Reporting group membership for critical Active Directory groups

Reporting group membership for critical Active Directory groups

I work a lot with Active Directory-related tasks. One of the tasks is to know the group membership of critical Active Directory Groups such…

active directoryadgroup membershipgroupsnested groupspowershell
Restoring (Recovering) PowerShell Scripts from Event Logs

Restoring (Recovering) PowerShell Scripts from Event Logs

A few days ago, I was asked to take a look at PowerShell Malware. While I don’t know much about malware, my curiosity didn’t let me skip on…

event logget-eventspowershellpowershellmanagerpseventviewer
Seamless HTML Report Creation: Harness the Power of Markdown with PSWriteHTML PowerShell Module

Seamless HTML Report Creation: Harness the Power of Markdown with PSWriteHTML PowerShell Module

In today’s digital age, the ability to create compelling and informative HTML reports and documents is a crucial skill for professionals in…

csshtmlmarkdownpowershellpowershell modulepswritehtml
Sending email as an alias (proxy address) with Office 365

Sending email as an alias (proxy address) with Office 365

Sending emails in Microsoft Exchange world using an alias for an account has always been a pain. It required working with workarounds such…

exchangeexchange onlineoffice 365powershellproxy addresssendasalias
Sending HTML emails with PowerShell and zero HTML knowledge required

Sending HTML emails with PowerShell and zero HTML knowledge required

I saw this article by Altaro tweeted Building PowerShell Tools for MSPs: HTML Tables for Reporting, and it describes how you can create HTM…

dashimoemailemailimohtmlpowershellpswritehtml
Sending Messages to Microsoft Teams from PowerShell just got easier and better

Sending Messages to Microsoft Teams from PowerShell just got easier and better

Christmas time is upon us, and I’ve decided that my PSTeams module needs some love. I wrote it in late 2018 and updated it a few times at t…

microsoft teamsoffice 365powershell
Set service recovery options in PowerShell

Set service recovery options in PowerShell

Recently one of our Administrators reported that he had to manually startup some Pulseway services after windows updates. It sometimes happ…

microsoft windowspc monitorpowershellpulsewayrecovery optionssc.exe
Set-PSRepository Installation Policy Trusted – Invalid Class Error

Set-PSRepository Installation Policy Trusted – Invalid Class Error

I have to admit – executing the same command three times and expecting different results is dumb, but I still do it anyway. Fortunately, af…

errorsimport-moduleinstall-modulepowershellpowershellget