Hi there 馃憢

I’m Marco, a DevOps engineer and founder working with PowerShell, Ansible and other great technologies to automate my work away!

GitLab Merge Request from the CLI

Speed up your work with git by automatically creating Merge Requests for your git push

2021-05-06 路 2 min 路 Marco Kamner

Linked: Powershell PSDefaultParameterValues

A deep dive into PowerShell parameter defaults

2021-03-27 路 1 min 路 Marco Kamner

The Null-Coalescing Operator

Today we take a closer look at the null-coalescing operator and how it can help us in writing smarter, more concise scripts. PS> $userDate ?? (Get-Date -Format "yyyy-MM-dd") 2021-02-14 PS> $userDate = Get-Date -Year 2020 -Format "yyyy-MM-dd" PS> $userDate ?? (Get-Date -Format "yyyy-MM-dd") 2020-02-14 How it works We can write some simple code to visualize what the null-coalescing operator is doing function nullCoalescingOperator ($leftValue, $rightValue) { if ($null -eq $leftValue) { return $rightValue } else { return $leftValue } } Usually we will want to assign the resulting value to a variable....

2021-03-22 路 2 min 路 Marco Kamner

Filter Arrays

Filter arrays in PowerShell

2021-02-27 路 1 min 路 Marco Kamner

GumLab

My first ever product

2021-01-04 路 1 min 路 Marco Kamner

Delete Your Old VMware Snapshots

For the love of Pete, please delete your old snapshots regularly! Old snapshots have caused incidents and even outages more than once in my career and it is really easy to preemptively look for them and get them removed before anything happens. Why To put it plainly, they can cause issues - like 03:00 in the morning pager alert issues and additionally eat up storage space like crazy. Degraded performance of the VM having the snapshot Degraded performance to full outages for other VMs on the same data store due to rapidly increasing snapshot sizes VMware recommends a series of steps to reduce risk when using snapshots:...

2021-01-01 路 3 min 路 Marco Kamner

Show vCenter On VM Object

Show vCenter on VMs in PowerCLI with this custom property

2021-01-01 路 1 min 路 Marco Kamner

How To Find With PowerShell

Finding files, do I even need to describe how important this is?

2020-12-31 路 5 min 路 Marco Kamner

Looking back at 2020, Four Months Of Blogging

A look back on four months of blogging and engaging the PowerShell community

2020-12-22 路 4 min 路 Marco Kamner

My Stand On Affiliate Links

What I think about affiliate links

2020-12-17 路 1 min 路 Marco Kamner