About
TIMVKN.NL hosts a repository of scripts and patterns I have created over the course of time.
My Frequently Used CLI Commands / Admin Tools (QuickRef) | Description | Category |
---|---|---|
dsa.msc / adsiedit.msc / virtmgmt.msc | Active Directory Users & Computers / ADSI Edit / Hyper-V Manager | MSWin |
start-process powershell -verb runas | Start PowerShell with Elevated Privileges | MSWin |
rundll32 sysdm.cpl,EditEnvironmentVariables | Edit system environment variables | MSWin |
cacls “C:\Path\To\File.TXT” /E /G username@example.com:C | Quick way to add write permission to a filesystem resource | MSWin |
mvn clean package -DskipTests | Mavin compile (Java) code and create local package | GNU/Linux (Java) |
mvn test -Dtest=JavaClassTest#specificTest | Run a specific unit test from the command line | GNU/Linux (Java) |
java -Djavax.net.debug=ssl:handshake -jar target/packagename-1.0.0-SNAPSHOT.jar | Start package with TLS handshake debugging enabled | GNU/Linux (Java) |
oc create secret generic gateway1 –from-file=server.p12 | Create an OpenShift secret from the command line | GNU/Linux (OpenShift) |
oc get pods | grep Evicted | awk ‘{print $1}’ | xargs oc delete pod | Delete evicted pods from current OpenShift project | GNU/Linux (OpenShift) |