Category: PowerShell
-
PowerShell Hash Table – Storing key value pairs
Quick crash course into using hash tables in PowerShell.
-
PowerShell Array and ArrayList – storing multiple items as a one variable
Array is a basic data structure that allows to store multiple items in one variable. In this short video, I’ll show you how to create a basic array, populate it with items, how to add, access and modify items within array. In addition, I’ll present to you how to use ArrayList – which is much…
-
PowerShell Switch Statement – Different take on branching
One switch statement can replace multiple if/else statements, it makes code more readable and is really easy to use – there’s no reason why you shouldn’t give it a try!
-
PowerShell For loop
For loop – do you actually need it, since there’s foreach loop? Turns out, yes – there are situations where for loop comes very handy. In this video I’ll show you the basic syntax of the for loop, going through nested for loops to end up with real case scenario from Azure Application Insights.
-
PowerShell If statement – controlling the flow of your code
In this video we are exploring how to use If statement in various scenarios. If statement allows you to take tide control over the execution of your code, by dictating your script what to do in a given situation.
-
Resolve IP and DNS with Powershell tool
I’ve been asked to prepare a simple tool which would: Resolve IP address or DNS Return all results to table Import addresses from a file The reason behind was to check how IP/DNS records change over the period of time, therefore there was a need for something like that: A file with all addresses in…