tags

powershell

167 entries

Tags
Categories

20 entries

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

One of the crucial parts in modern IT world is proper time and date. While it may seem that 30…

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)

I’ve been working on cleaning up Group Policies for a couple of months. While it may seem trivial, things get complicated when you’re taske…

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
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
Update-Module : Module ‘PowershellGet’ was not installed by using Install-Module, so it cannot be updated.

Update-Module : Module ‘PowershellGet’ was not installed by using Install-Module, so it cannot be updated.

When trying to fix PowerShellGet lack of AllowPrerelease Windows actually blocked me from updating PowerShellGet which I knew is the reason…

powershellpowershellgetupdate-module
Update-Module – PackageManagement\Install-Package : Unable to find repository

Update-Module – PackageManagement\Install-Package : Unable to find repository

I was installing newest version of my PSWinDocumentation module on Windows 2016 when I noticed I can’t really get anything…

powershellwindowswindows 2012windows 2012R2windows server
Upload and Download files from Azure Blob Storage using Connection String

Upload and Download files from Azure Blob Storage using Connection String

They say there is a first time for everything. For me, it’s how to download and upload files to Azure Blog Storage using Connection String.…

az.storageazure adazure blob storagedownloadpowershellupload
Using Lansweeper with PowerShell to your advantage

Using Lansweeper with PowerShell to your advantage

I’m on a tight deadline for one of the chapters for PowerShell Conference Book vol. 2. That means my brain wants me to do a lot of differen…

dbatoolslansweeperpowershellreportingsqluser reports
Using PowerShell to fix Ubiquiti Unifi requirement for MongoDB 3.6 on Ubuntu 18

Using PowerShell to fix Ubiquiti Unifi requirement for MongoDB 3.6 on Ubuntu 18

I’ve been using Ubiquiti Unifi for some years now, for both home and work usage. It’s great hardware at a great price, and the best thing f…

linuxmongodbpowershellubuntuubuntu 18.04unifi
Using Win32_UserAccount WMI filter in PowerShell/Group Policies and what to avoid

Using Win32_UserAccount WMI filter in PowerShell/Group Policies and what to avoid

Some months ago, I created PowerShell Script to create local administrative users on workstations – Create a local user or administrator ac…

active directoryadgpopowershellwmi
Visually display Active Directory Nested Group Membership using PowerShell

Visually display Active Directory Nested Group Membership using PowerShell

In the Active Directory PowerShell module, you have two commands to your disposal that help display group membership. Those are Get-ADGroup…

adessentialsdiagramget-adgroupget-adgroupmembernested groupspowershell
Visually display Active Directory Trusts using PowerShell

Visually display Active Directory Trusts using PowerShell

Active Directory Trusts are useful to connect one or more domains. But as useful those are, they can be very dangerous. Also, keeping trust…

activedirectoryadessentialsget-winadtrustpowershellpswritehtmlshow-winadtrust