PowerShell 18 Creating an ArrayList with a While Loop and Testing with a Foreach Loop
Автор: Kilts and Computers
Загружено: 2022-09-30
Просмотров: 272
Описание:
In this video, the Kilt Guy goes over a slightly more complex function to be added to our PowerShell script.
Commands discussed:
function
Write-Host
While (loop)
Foreach (loop)
Get-LocalUser
0:00 Intro
0:20 Building a function to create an ArrayList
1:25 Testing one of the variables
1:58 Showing the difference in how information is shown between simply calling the variable and using it as part of "Write-Host"
2:15 Explaining the difference between an Array and ArrayList
2:42 Showing how to create a Global Variable inside a function
3:35 Explaining the While Loop
5:28 Testing the function's While Loop
6:28 Validating the variable
6:51 Creating a foreach loop with the ArrayList and Get-LocalUser
7:50 Outro
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: