Before I dive into the question, I have found several other questions that seem similar to mine, but they have not been able to solve my problem. Here are links to them: Remotely run a script invoking "Run As Administrator" https://stackoverflow.com/questions/10724591/how-to-remote-execute-an-elevated-remote-script-in-powershell Now onto the question: I need to run a [...] read more
I started testing around if i could create a powershell script, which would update all device drivers automatically. After searching for a while, i stumbled across this thread: How to Automatically update all devices in device manager The User "HarryMc" pretty much provided me with all the answers needed. My [...] read more
I come across a sample vbscript program from Microsoft site regarding Windows Update(named WUA_SearchDownloadInstall.vbs). http://msdn.microsoft.com/en-us/library/aa387102%28VS.85%29.aspx Set updateSession = CreateObject("Microsoft.Update.Session") Set updateSearcher = updateSession.CreateupdateSearcher() WScript.Echo "Searching for updates..." & vbCRLF Set searchResult = _ updateSearcher.Search("IsInstalled=0 and Type='Software'") WScript.Echo "List of applicable items on the machine:" For I = 0 To searchResult.Updates.Count-1 [...] read more
I am trying to hide a windows update that's causing havoc on our systems, but something is causing the app to get blocked, when running over the network. We are on an AD domain and I'm running this command as an administrator on the machine. When I run the command: [...] read more
I cant recall where I found the code, but it used to work fine. I have not edited it in any fashion and don't know why it no longer works. I had to do recovery disk installation and was looking for this to run again. 'ServerSelection values ssDefault = 0 [...] read more