Check Flash Wear

How to check flash wear via PowerShell within Windows 10 To check the wear value of an internal SSD drive via PowerShell within Windows 10, launch an elevated PowerShell session and use the following command. Get-PhysicalDisk | Get-StorageReliabilityCounter | Select Wear Not all drives accurately report this value to Windows. In some cases, the counter … Read more

How to Backup and Restore the VMware ESXi 6x Configuration

How to Backup the ESXi Configuration (https://graspingtech.com/backup-vmware-esxi-6-5-configuration/) First of all, since this tutorial will be using the ESXi command line, you will need to connect to the host using SSH. If you don’t know how to enable SSH, you can learn how in the following post: How to Connect to an ESXi 6.5 Host using … Read more

How to enable OS X screen sharing (VNC) through SSH?

Source: http://technotes.twosmallcoins.com/?p=279 Putty is a good SSH client for Windows. 1) SSH into your remote OS X machine with an administrator’s log in and password. 2) Enable Remote Desktop (a.k.a. Screen Sharing, a.k.a. VNC) with this command: sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw mypasswd -restart -agent -privs -all … Read more

Updates Message of the Day

Ever login to a Debian/Ubuntu system that just says the servername or something similar, but not the number of updates (if any) it needs? Normally when you login …you might see the message like this: Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-58-generic x86_64) * Documentation: https://help.ubuntu.com/ 115 packages can be updated. 115 updates are security … Read more

Know about SAN Certificate and How to Create With OpenSSL

Original here –  Reduce SSL cost and maintenance by using single certificate for multiple websites using SAN certificate SAN stands for “Subject Alternative Names” and this helps you to have a single certificate for multiple CN (Common Name). You might be thinking this is wildcard SSL but let me tell you – it’s slightly different. In … Read more

Self-Signed Wildcard certificate with SAN using openssl / SSL

Copy the default template of openssl.cnf to a writable location. cp /System/Library/OpenSSL/openssl.cnf src Uncomment the req_extensions = v3_req req_extensions = v3_req # The extensions to add to a certificate request Add subjectAltName to v3_req section [ v3_req ] # Extensions to add to a certificate request basicConstraints = CA:FALSE keyUsage = nonRepudiation, digitalSignature, keyEncipherment subjectAltName = @alt_names Add the … Read more

Set NTP Time by command line

Usage: systemsetup -settimezone <timezone> Set current time zone to <timezone>. Use “-listtimezones” to list time zones. Usage: systemsetup -listtimezones List time zones supported by this machine. Usage: systemsetup -getusingnetworktime Display whether network time is on or off. Usage: systemsetup -setusingnetworktime <on off> Set using network time to either <on> or <off>. Usage: systemsetup -getnetworktimeserver Display … Read more