Intermediate
For those who have mastered the basics and are ready to level up.
-
PowerShell has a number of built-in variables that can be used for all sorts of things. One of these variable is $MyInvocation. It is useful when you need detailed information about the context in which a script or function is being executed.
-
When writing scripts, one of the most important aspects to consider is how you name your custom functions. Good naming conventions not only make your code more readable and maintainable but also ensure consistency across your scripts and modules. In this blog post, we will explore the best practices and conventions for naming custom functions.
