You can get the alias by name using Get-Alias with -Name parameter… To get all the aliases of a CmdLet, use Get-Alias with -Definition parameter…
Converting a string to upper and lower cases are possible with the string object using the dot notation, but not sure why title case is
To refer the overload definitions/syntax of a method of an object using the OverloadDefinitions property of a method with simple dot notation… Example: Thank you.
When a variable is assigned with a value, it won’t print it on the console by default, you need to print it separately. And variable
A simple REST API get method call to retrieve the datetime from http://worldclockapi.com service.
Prior to Windows PowerShell 5.0, if you want to zip or unzip the files you have to depend on COM objects, but from version 5.0
Sometimes in the interactive session when we are executing the scripts, and where it requires an input/consent from the user to proceed further we can
When selecting properties using Select-Object, sometimes we may need to fetch the values in a more meaningful and understandable format, and in some cases, conditional
The code below will download the .zip file from the internet, then extracts the files from the zip and opens the extracted folder…
In scripting, there are many things to experience in many ways, the traditional way is always the best practice though, the formal way is always
When PowerShell requires to execute the script with elevated permissions then add #requires statement in the beginning of the code… For more details about #requires,
Know your PowerShell Version