다음을 통해 공유


PowerShell Variables

Windows PowerShell has got some built in Variable Which you can see them by typing Get-Variables in Powershell and It will list all of them for you. As you can see in below instance.

Now It's time to create our own Variables.

Here is the examples:

Imagine you want to have a Variable which will call Get-WindowsFeature

Just type $( Variable Name ) = ( Command )

Here is an example of how to do It.