Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Using Windows Update Module remotely

$
0
0

I've downloaded and installed the Windows Update modules for powershell. The commands work perfectly locally but fails to  work remotely.  I am able to run other commands remotely such as Get-Culture.

Windows Update Module:

https://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc

Example Code:

Invoke-Command -ComputerName test_server -Credential domain\me -ScriptBlock {Get-WUHistory}

Output:

The term 'Get-WUHistory' is not recognized as the name of a cmdlet, function, script file, or operable program.



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>