Introduction to PowerShell - part 3 - Variable Scopes and Arrays

preview_player
Показать описание
In this part we're trying to understand how PowerShell handles variables and the data stored in them which are important aspects of the interface. This section presents information on the life and times of variables and ends with how to handle arrays.

Рекомендации по теме
Комментарии
Автор

Instead of -aq try -eq. EQ stands for EQuals.

CononymousAnward
Автор

Make sure your statement is not a continuation of the previous statement. See, there is no "?" in the statement you were trying to run. If needed - run the empty ";" command or restart PowerShell and try that line again, ensuring you have no typos. What you see in the video is a live environment, so everything should work just fine.

You might also want to update your PowerShell, even though it's not a problem here.

CononymousAnward