Advanced Search
Search Results
141 total results found
Installed software via PowerShell
Query registry for installed software There's more data in each registry than is being displayed in the PowerShell Custom Objects output be the script below. You can inspect $InstalledSoftware for further details. # HKEY_Local_Machine $HKLM_InstalledS...
Smokeping
*** Database *** # MSHARP 20250106 # - 20 pings every two minutes, one ping every 10 seconds # - raw data (2 minutes) for 31 days (1 month) # - seconds in a month: 31 * 24 * 60 * 60 = 2678400 # - steps per month: 2678400 / 120 = 22320 #...
Microsoft Remote Desktop
Select RDP transport protocols (client side) Source Check Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" -Name "SelectTransport" "Use only TCP" Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windo...
Logging
Interesting log messages These are log messages that have been observed that would be ideal to receive administrative notifications regarding. system,error,critical could not save configuration changes, not enough storage space available.
PowerAruba
PowerAruba PowerArubaSW - PowerShell module to manage ArubaOS switches
Microsoft 365 Licensing
Source
ExpressJS devnull
This is a simple NodeJS script that will give you a GET and POST endpoint to push data to for testing. npm init -y npm install express body-parser touch server.js // FILE: server.js const util = require('util'); const express = require('express')...
mcaselector on Linux
Download the proper version of JavaFX and then run with a command line similar to the one below: java --module-path openjfx-21.0.7_linux-x64_bin-sdk/javafx-sdk-21.0.7/lib --add-modules ALL-MODULE-PATH -jar mcaselector-2.5.2.jar I was successful running mcas...
Party Games
ClothespinsGame ChangerWho can pin the most clothespins to themselves in one minute. Keep in mind, by self, we mean not clothes but skin. Compliment DualGame Changer -end
OpenDKIM
sudo apt install opendkim mkdir -p /etc/opendkim/keys cd /etc/opendkim touch key.table signing.table trusted.hosts sudo chown -R opendkim:adm /etc/opendkim sudo find /etc/opendkim -type d -exec chmod 770 {} \; sudo find /etc/opendkim -type f -exec chmod 660 ...
Trend Micro Vision One Search Auto-Clicker Auto-Refresher
Use case I need to auto-refresh the Trend Vision One Quarantine list every minute since they haven't added that into their platform. I tried using an auto-clicker / auto-refresh browser extension, but it would only hard refresh the page or click on anchor lin...
HPE Aruba
HPE Aruba specific configuration snippets Aruba 5400r RFC-1918 subnet matching for route distribution ip prefix-list "PRIVATE-IP-SUBNETS" seq 10 permit 10.0.0.0 255.0.0.0 ge 8 le 32 ip prefix-list "PRIVATE-IP-SUBNETS" seq 20 permit 172.16.0.0 255.240.0....
High Availability
Proxmox Documentation: High Availability Below are relevant excerpts from the above source materials for quick access to necessary commands for various tasks. Please consult the source material for more documentation related to the concepts and commands refer...
ZFS
Upgrade single disk rpool to mirrored rpool I added a second M.2 drive to a laptop already running Proxmox VE. From the zpool-attach man page: If the existing device is a mirror or plain device (e.g. specified as "sda" or "mirror-7"), the new device...
Useful additions
Packages to add apt install lldpd snmpd
Nested Virtualization Benchmarks
Disk benchmark tests fio simple write test fio --name=sequential_write --rw=write --bs=1M --size=10G --filename=/root/testfile --direct=1 fio random read job file [global] ioengine=libaio direct=1 group_reporting runtime=60 time_based [random_read_...
Troubleshooting
Various notes for random troubleshooting List all block devices with model lsblk -o NAME,MODEL,SERIAL,SIZE,TYPE,MOUNTPOINT Backup to NAS mount via SMB - stale file handle Testing backups to a QNAP via SMB resulted in failures with the message stale fi...
DHCP Leases to CSV
CSV output of DHPC related items in RouterOS Static DHCP leases to CSV output { # process only static leases :local staticLeases [/ip dhcp-server lease find where dynamic=no] :foreach l in=$staticLeases do={ :local lma [/ip dhcp-serve...
CEPH
Adding CEPH Manager Dashboard Source # run this on all service manager nodes apt install ceph-mgr-dashboard # run this to configure ceph mgr echo "admin-password" > ~/ceph-dashboard-admin-password.txt ceph mgr module enable dashboard ceph dashb...
Supermicro fan control
Quick and dirty Login to the IPMI interface, go Configuration -> Fan Speed -> Power Usage Effectiveness mode More stuff apt install ipmiutil Show current fan speeds ipmiutil sensor -g fan -end