tags

powershell

175 entradas

Etiquetas
Categorías

20 entradas

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 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
Strengthening Password Security in Active Directory: A PowerShell-Powered Approach

Strengthening Password Security in Active Directory: A PowerShell-Powered Approach

PasswordSolution uses the DSInternals PowerShell module to gather Active Directory hashes and then combines that data into a prettified rep…

active directoryaddsinternalshtmlpassword qualitypasswordsolution
Submitting blogs to web.archive.org using PowerShell

Submitting blogs to web.archive.org using PowerShell

Since my website went down in fire with OVH SBG2, I used this occasion to publish my restored website via Cloudflare. It allows me to have…

archiveblogspowershellpswritecolorrssweb.archive.org
Synchronizing Active Directory with External Time Source

Synchronizing Active Directory with External Time Source

Synchronize Active Directory with an external time source to keep domain time accurate and avoid authentication or replication issues.

active directoryadntpntp serverspdcpowershell
Syncing Global Address List (GAL) to personal contacts and between Office 365 tenants with PowerShell

Syncing Global Address List (GAL) to personal contacts and between Office 365 tenants with PowerShell

Hey there! Today, I wanted to introduce you to one of the small but excellent module I’ve created called the O365Synchronizer. This module…

apiexchangemicrosoft graphoffice 365powershell
Testing LDAP and LDAPS connectivity with PowerShell

Testing LDAP and LDAPS connectivity with PowerShell

One of the common ways to connect to Active Directory is thru LDAP protocol. There are a lot of applications that talk to AD via LDAP. By d…

active directoryldappowershell
The curious case of $null should be on the left side of equality comparisons PSScriptAnalyzer

The curious case of $null should be on the left side of equality comparisons PSScriptAnalyzer

If you’re using VSCode with Powershell extension, you probably got used to PSScriptAnalyzer giving you all kind of tips on optimizing thing…

$nullpowershellPSScriptAnalyzer
The only command you will ever need to understand and fix your Group Policies (GPO)

The only command you will ever need to understand and fix your Group Policies (GPO)

Use GPOZaurr to analyze, understand, and fix Group Policy issues from multiple angles, with actionable output for large, messy GPO estates.

active directorygpogroup policypowershell
The only PowerShell Command you will ever need to find out who did what in Active Directory

The only PowerShell Command you will ever need to find out who did what in Active Directory

While the title of this blog may be a bit exaggeration, the command I’m trying to show here does it’s best to deliver on the promise. What…

active directoryadeventsevents viewerpowershellpswinreporting
The security account manager (SAM) has determined that SID is already in use in the Forest

The security account manager (SAM) has determined that SID is already in use in the Forest

The security account manager (SAM) has determined that the security identifier (SID) for this computer is already in use in the Forest you…

active directorypowershellsid
Track Ubiquiti Unifi Stock, and get notified of changes

Track Ubiquiti Unifi Stock, and get notified of changes

I am a pretty big fan of Ubiquiti and their Unifi products line. Whether it’s network equipment or their camera systems, Unifi Protect, I h…

notificationspowershellstocktrackerubiquitiunifi
Analyst selecting a useful web table beside an editable workbook version

Turn HTML tables into Excel workbooks with PSParseHTML and PSWriteOffice

Parse useful tables from an HTML page and turn them into native Excel workbooks from either PowerShell or C#.

powershellpsparsehtmlpswriteofficehtmltinkerxofficeimoexcel
Unlocking PowerShell Magic: Different Approach to Creating ‘Empty’ PSCustomObjects

Unlocking PowerShell Magic: Different Approach to Creating ‘Empty’ PSCustomObjects

Today I saw an article from Christian Ritter, “PowerShell: Creating an “empty” PSCustomObject” on X that got me curious. Do people create e…

conversionhashtableordereddictionarypowershellpscustomobject