add function to manage taskbar item

changed from manually setting the taskbar overlay, progressvalue and progress state to setting them through a function
This commit is contained in:
MyDrift
2024-07-12 08:00:32 +02:00
parent a86b07a826
commit 73973d7101
12 changed files with 99 additions and 57 deletions

View File

@ -80,7 +80,7 @@ function Install-WinUtilProgramChoco {
}
}
$x++
# $sync["Form"].TaskbarItemInfo.ProgressValue = $x/$count
# Set-WinUtilTaskbaritem -state "Normal" -value $x/$count
}
Write-Progress -Activity "$manage Applications" -Status "Finished" -Completed