Category: powershell

powershell

Backup Exec – TECH126877 – the device or media server cannot be deleted because existing jobs or selection lists remain

The Problem Quite some time ago I wasn’t able to delete a device (storage target) named “internal RAID” in Backup Exec 15. The GUI came up with this error message: “The device (or media server) cannot be deleted because existing jobs or selection lists remain.” Going through all jobs in the GUI i could not …

powershell, windows-8, windows-xp-vista-7-seven

powershell – download file from server via https which has a self signed certificate

the problem: when I was trying to “wget” a file using $webClient.DownloadFile from a server with a self signed certificate it failed when using the following code: $webClient = new-object System.Net.WebClient $webClient.DownloadFile( $url, $path )$webClient = new-object System.Net.WebClient $webClient.DownloadFile( $url, $path )   the resource: searching for a solution i stumpled upon http://blogs.technet.com/b/heyscriptingguy/archive/2010/07/25/windows-powershell-invalid-certificates-and-automated-downloading.aspx there you …