categories

PowerShell

182 Einträge

Tags
Kategorien

20 Einträge

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.

This PowerShellGet error usually means Windows is using the inbox module version, so you need to install a newer copy side by side instead…

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

Use PowerShell on Ubuntu 18 to patch UniFi .deb packages that reject MongoDB 3.6, reducing the manual steps needed after upgrades.

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
What do we say to health checking Active Directory?

What do we say to health checking Active Directory?

Health check Active Directory with PowerShell, dcdiag, repadmin, and security-focused reviews so replication, DNS, DHCP, and GPO issues sur…

active directoryaddhcpdnshealth checkspowershell
What do we say to writing Active Directory documentation?

What do we say to writing Active Directory documentation?

Document Active Directory with PowerShell using PSWinDocumentation, Dashimo, Documentimo, and Excelimo to keep environment knowledge curren…

dashimodocumentationdocumentimoexcelexcelimopowershell
What’s new – Event Monitoring v0.6

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…

active directoryad monitoringchangelogevent monitoringeventsversion
What’s new – Event Monitoring v0.7

What’s new – Event Monitoring v0.7

See what changed in Event Monitoring v0.7, including configuration updates, health-check improvements, and the known limitations that still…

active directoryaddcdomain controllerevent idevent monitoring
Windows Server – SNMP Service Tabs missing

Windows Server – SNMP Service Tabs missing

If the SNMP service installs but the Agent, Traps, and Security tabs are missing, the usual problem is that the SNMP management tools compo…

snmpsnmp servicesnmp trapwindowswindows serverwindows server 2012 r2
Working with HTML in PowerShell just got better

Working with HTML in PowerShell just got better

PSWriteHTML, Dashimo, and Emailimo add better inline styling and conditional formatting for PowerShell reports, dashboards, and emails.

cssdashimoemailimohtmljspowershell
Working with VirusTotal from PowerShell

Working with VirusTotal from PowerShell

Work with VirusTotal from PowerShell to scan files, URLs, domains, and IP addresses, and reduce false positives on released modules.

apipowershellrestapisecurityvirusvirus total
Working with Windows Events with PowerShell

Working with Windows Events with PowerShell

Work with Windows Event Logs in PowerShell more effectively by querying events, filtering noisy data, and building repeatable troubleshooti…

event viewerget-eventsget-wineventmicrosoftpowershellwindows