Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
Sub DeleteTasks() Dim st As ScheduledTasks = New ScheduledTasks Dim taskNames = st.GetTaskNames Dim name As String For Each name In taskNames If name = "MyFirst.job" Or name = "MySecond.job" Then Dim t As Task = st.OpenTask(name) st.DeleteTask(name) End If Next st.Dispose() End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.