Guys,
In
the previous video, we discussed about commands and errors. In this video, I will
talk about Variables in PowerShell.
Variables
are common across all programming languages, although PowerShell is not a
programming language rather a scripting language it uses Variables as part of scripting.
Variables
are a way of storing data temporarily to process it using command lets.
Variable definition is simple and straightforward.
Example:
$variable =
get-service ‘workstation’ | select ‘DisplayName’
Please
subscribe to my youtube channel at www.youtube.com/c/nextopsvideos
Happy
powershelling!!!
Next
Topic : 13 PowerShell Basics – Command Piping by Value