PowerShell – Variables and Objects

You can store data in the form of a variable and then retrieve that data by calling the variable as and when needed. You can do all sorts of things with variables, here’s a just a tiny examples. Here we store a string in a variable: PS C:\> $var1 = […]

Read More

PowerShell – Script and manifest modules

Chapter 13 – Script and manifest modules In Chapter 4 you have found a number of ways that you can create a custom command…e.g. by creating custom scripts/functions. E.g. if you want to use a function like a command, then you have to dot-source the script that houses the function. […]

Read More