categories

PowerShell

191 articles

Tags
Catégories

20 articles

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)

Review the PSWriteWord 0.4.1 release, including the breaking change, document-generation fixes, and practical improvements that make Word a…

docxexamplesmicrosoft wordpowershellPSWriteWordword
PSWriteWord – Version 0.5.1

PSWriteWord – Version 0.5.1

During last couple of weeks I’ve spent most of my time developing PSWinDocumentation project. While building that I’ve came across differen…

docxmicrosoft officemicrosoft wordPSWriteWordword
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

Use PowerShell to find OUs protected from accidental deletion and remove that flag in bulk when you need to move or clean them up carefully.

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

Exchange Online can send from a mailbox alias, but the tenant-level setting must be enabled first before users will see predictable alias-s…

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 information to Event Log with extended fields using PowerShell

Sending information to Event Log with extended fields using PowerShell

Reading Event Logs is something that every admin does or at least should do quite often. When writing PowerShell scripts, you often need to…

events pswinreportingpseventviewerwrite-event
Sending Messages to Microsoft Teams from PowerShell just got easier and better

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

Send Microsoft Teams messages from PowerShell with PSTeams, using richer message cards and easier formatting for Office 365 notifications.

microsoft teamsoffice 365powershell
Set service recovery options in PowerShell

Set service recovery options in PowerShell

PowerShell still often relies on sc.exe for Windows service recovery actions, and this example shows how to configure restart behavior for…

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
Solving typo problems with Fuzzy Search in PSWriteHTML

Solving typo problems with Fuzzy Search in PSWriteHTML

One of the everyday use cases with PSWriteHTML is to create a simple view of PowerShell data in a table. While PowerShell comes with a buil…

cssfuzzysearchhtmljavascriptjsout-htmlview