Dynamically Replacing Text in Static Files with Nginx Using Lua
I have my PowerShell tool, LanScan, that I serve from my server so it can be executed on a machine with irm techish.net/lanscan | iex. I have a…
I have my PowerShell tool, LanScan, that I serve from my server so it can be executed on a machine with irm techish.net/lanscan | iex. I have a…
Here's a quick snippet to get the IP, MAC address and Vendor using PowerShell in Windows with the native arp -a command and curl. It is based on…
This PowerShell one-liner is a convenient way to monitor log files in real-time and quickly spot error messages. The script continuously reads the log and highlights lines that…
Awhile back I used a piece of software (iMazing) to backup an old iPhone of mine. The raw backup when extracted is a bunch of files without extensions…
I want to start off with acknowledging that I know, but don’t have the ability, to manage Google Chrome in an organizational setting through Google Cloud which produces…
The PowerShell script is designed to extract information about Remote Desktop Protocol (RDP) local session manager events from the Windows event logs on a RDS host and save…
Working with some older Cisco ASA devices, I’m trying to access the ASDM interface. The browser isn’t giving me luck, so I turned to PowerShell to help me,…
This PowerShell script retrieves information about enabled Active Directory (AD) users, including their SAM account name, last logon time, and organizational unit (OU). The script makes use of…
I needed a quick way to check activation status of Windows Servers in a domain. This is the solution I came up with using PowerShell to run the…
Nested virtualization is available on Windows 10 build 19636 and later. As far as I understand, AMD support will be officially available as part of Windows 11 and…
Clear all the Windows Event Logs, resetting reliability history, from the command line. Command Line Method for /F "tokens=*" %1 in ('wevtutil.exe el') do wevtutil.exe cl "%1" Batch…
The following powershell command will return make and serial number of a monitor connected to the computer. gwmi WmiMonitorID -Namespace root\wmi | ForEach-Object {($_.UserFriendlyName -ne 0 | foreach…
Using the following package PSWindowsUpdate you can Get-WindowsUpdate and Install-WindowsUpdate. install-module pswindowsupdate DESCRIPTION Use Get-WindowsUpdate (aka Get-WUList) cmdlet to get list of available or installed updates meeting specific…
Using the following command, a computer can be joined to an existing Active Directory Domain. netdom join %computername% /domaind:DOMAIN /userd:username /passwordd:password PowerShell it can be accomplished with the…
This PowerShell script will enable retention for all Windows event logs. This will create an archive log file and start a new log file when it reaches the…