Тёмный

PowerShell Fortschrittsbalken erzeugen: Write Progress 

Patrick Gruenauer
Подписаться 714
Просмотров 160
50% 1

Write-Progress
$progress = @{
Activity = 'Retrieving data ...'
CurrentOperation = "Loading"
PercentComplete = 0
Status = 'Starting...'
}
Prozesse abrufen
$process = Get-Process
For($i = 1; $i -le $process.count; $i++) {
$count = $process.Count
(Get-Process)[$i]
Write-Progress -Activity "Services" -PercentComplete (($i*100)/$process.count) -Status "$(([math]::Round((($i)/$count * 100),0))) %"
Start-Sleep -Milliseconds 10
}
Write-Progress @progress
www.udemy.com/user/patrick-gr...

Опубликовано:

 

8 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@ashisharya65
@ashisharya65 27 дней назад
Thank you so much Patrick for making those PowerShell beginner blogs. It was the first resource that I read to learn PowerShell. Please make these videos in English as well so that non-native speakers like me can also learn from your videos.
@patrickgruenauer
@patrickgruenauer 27 дней назад
Thank you!
Далее
PowerShell: Write Host
3:19
Просмотров 89
PowerShell: Zertifikate erstellen
4:19
Просмотров 144
Making hacking screen with python
1:55
Просмотров 68
Daran denkt niemand beim Kauf! Audi RS6 Avant
9:32
Просмотров 203 тыс.
5 Angewohnheiten, die Männer unsympathisch machen
8:31
Viren & Trojaner - So entfernst du sie!
12:16
Просмотров 32 тыс.
Das Alphabet in PowerShell
4:46
Просмотров 144