This might not apply to your projects but as a DevOps Engineer I think it’s good to have a standard set of files/folders for each of my projects. It keeps things tidy and helps me. This list is based on my projects using Terraform, GitLab, Docker, Packer, git and more. Here’s a brief explanation of […]
Windows
Script to add to Windows Explorer Quick Access
Script automates adding folders to Windows Explorer’s Quick Access, streamlining new server setup; just list paths and update the array.
Transfer files using the RDP clipboard when it’s blocked.
Afternoon, Morning and Evening depending on when you are reading this. I’ve come across this one recently and thought I would post it. You know those situations where you need to copy a file from a machine, but can’t as it’s blocked in RDP, but you can still copy text through RDP. Well, you still […]
In PowerShell on a Windows machine, Create event logs and detect errors in my code.
You can create custom event logs in PowerShell using the New-EventLog cmdlet, and then use the Write-EventLog cmdlet to write events to the log. Here’s an example: In this example, the New-EventLog cmdlet is used to create a new event log named “MyScriptLog” with a source of “MyScript”. The Write-EventLog cmdlet is then used to […]
Joining machines to a domain without credentials
Need to join a machine to a domain, but don’t want to give out any credentials?