Part 1 of this series looked at setting up Terraform for use with Azure and then deploying some infrastructure. Part 2 looked at changing Azure subscriptions, inserting an SSH key in virtual machines and making the virtual machine run commands at creation. Backend Storage When I discussed using Terrform with AWS I made a blog … Continue reading Terraform and Azure (Infrastructure as Code) – Part 3
Category: PowerShell
Terraform and Azure (Infrastructure as Code) – Part 2
Changing Azure Subscriptions In part 1 I discussed logging into Azure using Azure CLI and noting the default subscription, as that is where Terraform will deploy resources to. However, you may have multiple Azure subscriptions and want to deploy to one that is not the default. This can be accomplished using the Azure CLI: az … Continue reading Terraform and Azure (Infrastructure as Code) – Part 2
Terraform and Azure (Infrastructure as Code) – Part 1
During Summer 2020 I wrote a few blog posts about Terraform and gave a few examples in my geektechstuff AWS environment. Over the Autumn and Winter of 2020, and the Spring of 2021 I expanded my Terraform knowledge and experience a lot, and one of the points I think I need to blog about is … Continue reading Terraform and Azure (Infrastructure as Code) – Part 1
SHA256 File Hash Values And How To Check Them (Raspberry Pi / Mac OS X / PowerShell)
Imagine that you are a software company and host an awesome free piece of software. One day your site is hacked and the download file for your software is replaced with a malicious version of the software. It might be days (or longer!) before you notice. Or what if someone is intercepting traffic and altering … Continue reading SHA256 File Hash Values And How To Check Them (Raspberry Pi / Mac OS X / PowerShell)
PowerShell Core on Mac OS (PowerShell)
PowerShell is an amazing command line, scripting & programming tool that I have used a few times on Microsoft Windows. PowerShell Core is now available for Mac OS and so today I am going to look at installing it on my MacBook. Note: I am installing PowerShell Core onto Mac OS Mojave (specifically Mac OS … Continue reading PowerShell Core on Mac OS (PowerShell)
Move Folders Using Values From CSV (PowerShell)
This evening I came up with a way for PowerShell to move multiple folders depending on names in a CSV. Below I will describe the scenario and my PowerShell scripts coding. Imagine you had a folder structure on your device (or network share) containing folders named after the users that use them e.g. The account … Continue reading Move Folders Using Values From CSV (PowerShell)
Reporting On Folder Permissions (PowerShell)
Over the weekend I was thinking about ways to check which users could access a folder, which lead me into wondering if a report could be run to show multiple folders and save the results. After a little bit of thinking and I had knocked up some PowerShell: The PowerShell uses a variable called $foldername … Continue reading Reporting On Folder Permissions (PowerShell)
Removing Direct Access (Powershell)
Microsoft introduced Direct Access with Windows Server 2008 (R2) for use with Windows 7 Enterprise and Windows 8 Enterprise edition clients, it can also be used on Windows 10. Direct Access is a VPN-like technology that allows clients to connect intranet services (including applications and file shares) via a secure connection over internet, controlled via … Continue reading Removing Direct Access (Powershell)
Testing Network Connectivity via PowerShell (Part 2)
Continuing on with my exploring of testing connectivity I ran into a practical reason today for using Powershell. A computer on my employers network apparently loses network connectivity (according to the end user) during a 2 hour window in the evening. The event logs on the PC don’t indicate any issues and the network logs … Continue reading Testing Network Connectivity via PowerShell (Part 2)
Testing Network Connectivity via PowerShell (Part 1)
Ask any IT user how they test basic network connectivity and the majority of answers will probably mention ping. Ping sends a ICMP (Internet Control Message Protocol) packet to a target and then waits for a reply. If ping shows a reply then there is basic network connectivity, if it doesn't get a reply then … Continue reading Testing Network Connectivity via PowerShell (Part 1)
You must be logged in to post a comment.