I published a post about aliasing with PowerShell over on the ScriptRunner blog.
Why You Want To Install PowerShell On Windows
Why installing PowerShell on Windows may actually be a good idea
Q: Wait a minute! Don’t I already have PowerShell?
A: Yes. However you may want to continue reading because things are never as simple as they appear.
[Read More]Collections and Randomization
Randomize Collections in PowerShell
Randomizing a collection is useful in a variety of situations and in most languages it is fairly straight forward.
[Read More]How To Grep With PowerShell
It's just like Bash, but more powerful!
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.