The article explains how the [System.Uri] .Net class can be used to manipulate URIs and to convert them into objects. For more information on this topic please have a look at the article that has been posted on PowerShell Magazine:
The article explains how the [System.Uri] .Net class can be used to manipulate URIs and to convert them into objects. For more information on this topic please have a look at the article that has been posted on PowerShell Magazine:
Jaap,
I used your PowerShell script to list scheduled tasks on remote computer and ran into a “bug”. My network contains servers from multiple domains, not all of which I have remote access to. When the script hits a server it doesn’t have access to, it duplicates the information from the last server it could connect to. I solved the problem by adding a line to initialize $tasks.
$schedule.connect($ComputerName)
$tasks = “” <– new line
$tasks = $schedule.getfolder("\").gettasks(0)
Now when the script hits a server it doesn't have access to, the results are null.
Thank you for publishing your script as it is coming in very handy for a project I have.
Gary