categories
PowerShell
182 entries
20 entries

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…

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…

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…

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…

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…

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…

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.…

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…

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…

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…

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…

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…

What do we say to health checking Active Directory?
Setting up a new Active Directory is an easy task. You download and install Windows Server, install required roles and in 4 hours or less h…

What do we say to writing Active Directory documentation?
It’s no secret that nobody likes creating documentation. I don’t like it, and you don’t like it, even documentation lovers don’t like it. B…

What’s new – Event Monitoring v0.6
After having some feedback and seeing as some features were missing new version of Events Monitoring brings few of noticeable…

What’s new – Event Monitoring v0.7
I’ve further optimized code and added some more health checks so that the process is a bit smoother. You can…

Windows Server – SNMP Service Tabs missing
Setting up SNMP Monitoring on Windows Servers is usually done by opening Services MMC console and filling up Agent, Traps, Security…

Working with HTML in PowerShell just got better
Last few weeks, I’ve been working on making creating HTML based Dashboards, Reports, and Emails better. PSWriteHTML already allows fancy lo…

Working with VirusTotal from PowerShell
Virus Total is an excellent service. It’s a single place where hundreds of antivirus engines can verify if the file, URL, domain name, or I…

Working with Windows Events with PowerShell
As you may (and should) know Event Log is your first place to look for explanations on why server/client is…