Read a Windows registry Hive from Linux CLI
Just had to find the operating system of a remote computer so I copied the C:\Windows\System32\config\software.sav (the software hive file is locked by the OS so used the .sav instead) file to Ubuntu 2024 Linux and used hivexget to read the "ProductName" sudo apt-get...
Get Motherboard model without opening the case
wmic baseboard get product,Manufacturer,version,serialnumber Manufacturer Product SerialNumber Version Micro-Star International Co., Ltd. B450M PRO-M2 MAX (MS-7B84) JC17042885 2.0
Stop being prompted for ssh passphrase when trying to sync repo with github in VS Code
The Problem: You have cloned your repo with the SSH URL. Whenever you go to push to GitHub. You might be asked to enter a passphrase repeatedly for your SSH key... Before Fix git remote -v origin [email protected]:toggenation/cakephp-live-test-sxs.git (fetch) origin...
List local disks
GET-CimInstance -query "SELECT * from Win32_DiskDrive" DeviceID Caption Partitions Size Model -------- ------- ---------- ---- ----- \\.\PHYSICALDRIVE0 WDC WD60EZAZ-00ZGHB0 0 6001172513280 WDC WD60EZAZ-00ZGHB0 \\.\PHYSICALDRIVE2 Seagate One Touch w/PW SCSI Disk Device...
Create ISO using Powershell
Usage New-IsoFile -NewIsoFilePath C:\tmp\Hyper-V.iso-sources -ImageName Hyper-V -SourceFilePath 'C:\tmp\Hyper-V' New-IsoFile -NewIsoFilePath C:\tmp\W2K3SP2CD1.iso -ImageName W2K3SP2CD1 -SourceFilePath 'C:\tmp\Windows 2003 Server R2 Std Edition SP2 CD1' New-IsoFile...
Synology Compatibility list and RAID Calculator
When deciding on Synology models and disks the following links are handy Synology compatibility list https://www.synology.com/en-au/compatibility How much disk space will you get from SHR-1 / SHR-2 volumes...