Filtering data, from log or config files to data returned by an api, is an important operation to remove noise from it and make further analysis possible.
[Read More]How To Tail With PowerShell
How to replace tail in PowerShell
Printing the last or first, few lines of a file is a common operation in day to day operations.
On Linux most people will, without thinking twice, use tail
and it’s counterpart head
to achieve this.
Bash Utilities In Powershell
Replacing common bash utilities in PowerShell
Vmware Tools Copy Files
Copy To Guest
$vm = Get-VM -Name TEST
Get-Item "X:\yourfile.txt" | Copy-VMGuestFile -Destination "c:\temp" -VM $vm -LocalToGuest -GuestUser "Administrator" -GuestPassword "Pa$$w0rd"
Copy From Guest
$vm = Get-VM -Name TEST
Copy-VMGuestFile -Source c:\yourfile.txt -Destination c:\temp\ -VM $vm -GuestToLocal -GuestUser "Administrator" -GuestPassword "Pa$$w0rd"
Hello World
Who am I and what to expect on this blog
Ansible VMware Connection Plugin & Become
IANA To openSSL Ciphers
Handy table to map IANA IDs of ciphers to their openSSL IDs used in web server configurations,
for example [[nginx]] ssl_ciphers
or proxy_ssl_ciphers
Ansible
Need to automate a VM? you need Ansible!
ArgoCD
Django
My preferred framework for building web apps
GitLab
My preferred git server and CI/CD system, either gitlab.com or self-hosted.
Helm
A good way to pull in external dependencies into Kubernetes For writing my own manifests I prefer to use Kustomize.
Hugo
My static site generator of choice, used to build my blog among other things.
JQ
A incredibly powerful tool for manipulating the heaps of JSON files and responses I interact with daily.
A lot of times I also use ijq
1 instead, which is a interactive version of jq
.
Kubernetes
I have run and am still running loads of Kubernetes clusters, mostly on-premise.
Kustomize
My prefered tool for writing and provisioning home-built manifests to [[kubernetes]]
MacOS
My operating system of choice on the client, usually on a MacBook Pro.
PowerShell
PowerShell holds a special place in my heart as it was the first ever tool I dived into deeply and used to automate my daily work.
To this day it runs a bunch of fundamental automations in my life.
Python
These days Python is my language of choice for both simple scripts and more complex backend applications, usually in combination with django
vCenter Cert Bundle
Errors connecting to vCenter or any ESXi server in the cluster without certificate errors?
- Get CA cert from the vCenter:
wget https://{{ YOUR VCENTER }}/certs/download.zip --no-check-certificate
- Install where required