-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote install, say update is not needed but scan do not. #202
Comments
thanks for the report, can you let me know what version you are using? get-module kbupdate. i had issues in earlier versions |
Hello i'm on the latest version. Regards |
Hello, Install-KbUpdate -ComputerName WKSADMCSP2A -FilePath "C:\windows10.0-kb5017270-x64_2060f8588180e3ad36a6169be2e06395227db418.cab" -Verbose I see that it has copied in the programfile\windowsPowershell\Modules\ "Xwindowsupdate" and "xPSDesiredStateConfiguration", but this is not the case for the KBUDATE module and the others...
Do you have an exhaustive list of things to respect before launching a remote installation? |
Sweet, this will be helpful. Thank you. Unfortunately, I won't have time to return to kbupdate for probably a month. kbupdate does not need to be copied to the remote system -- only the DSC modules. The only thing you need enabled is WinRM. It's not signed so you do need to modify your execution policy that works for you on the local machine. The remote machine does not need modifications as I use built-in commands and modules signed by Microsoft. |
This will be released to the gallery sometime today |
done! |
Hello potatoqualitee, Thank you very much for the latest update (2.17), it solved my problem :) .
So in order to bypass that I make a copy of the KB via new-session and install the KB via invoke-like { start-process ....}. |
thank you for the report! ill work in kbupdate again in about another month or two (working on dbatools 2.0 release). This will help 👍🏼 |
Hello,
i have an installation of windows 10 21H2, get-neededkbupdate point me to the latest patches to apply, but when i try an install-kbupdate on any package it tells me that i have nothing to do:
PS C:\windows\system32> Install-KbUpdate -ComputerName catswks11.XXXX.YYYYY -FilePath D:\share\kb\windows10.0-kb5017308-
x64_2027053968a06948b45d139d95475ab4feee5654.msu -Verbose
VERBOSE: [18:11:23][Install-KbUpdate] Processing catswks11.XXXX.YYYYY
VERBOSE: [18:11:23][Install-KbUpdate] Installing using DSC
VERBOSE: [18:11:23][Install-KbUpdate] Using jobs for update to catswks11.XXXX.YYYYY
VERBOSE: [18:11:24][Start-JobProcess] Processing jobs
VERBOSE: Exporting function 'Get-NetConnectionProfile'.
VERBOSE: Exporting function 'Set-NetConnectionProfile'.
VERBOSE: Exporting function 'New-PSWorkflowSession'.
VERBOSE: Exporting alias 'nwsn'.
VERBOSE: [18:12:06][Invoke-KbCommand] Computer is not localhost, adding catswks11.XXXX.YYYYY to
PSDefaultParameterValues
VERBOSE: [18:12:11][Invoke-KbCommand] Connecting to session using Invoke-PSFCommand
VERBOSE: [18:12:11][Invoke-PSFCommand] Invoking command against catswks11.XXXX.YYYYY
VERBOSE: [18:12:12][] Adding catswks11.XXXX.YYYYY to PSDefaultParameterValues for
Invoke-KbCommand:ComputerName
VERBOSE: [18:12:15][] Initializing remote session to catswks11.XXXX.YYYYY and also getting the
remote home directory
VERBOSE: [18:12:15][Invoke-KbCommand] Computer is not localhost, adding catswks11.XXXX.YYYYY to
PSDefaultParameterValues
VERBOSE: [18:12:15][Invoke-KbCommand] Connecting to session using Invoke-PSFCommand
VERBOSE: [18:12:15][Invoke-PSFCommand] Invoking command against catswks11.XXXX.YYYYY
VERBOSE: [18:12:15][] Checking for home downloads directory
VERBOSE: [18:12:15][Invoke-KbCommand] Computer is not localhost, adding catswks11.XXXX.YYYYY to
PSDefaultParameterValues
VERBOSE: [18:12:15][Invoke-KbCommand] Connecting to session using Invoke-PSFCommand
VERBOSE: [18:12:15][Invoke-PSFCommand] Invoking command against catswks11.XXXX.YYYYY
VERBOSE: [18:12:15][Invoke-KbCommand] Computer is not localhost, adding catswks11.XXXX.YYYYY to
PSDefaultParameterValues
VERBOSE: [18:12:15][Invoke-KbCommand] Connecting to session using Invoke-PSFCommand
VERBOSE: [18:12:15][Invoke-PSFCommand] Invoking command against catswks11.XXXX.YYYYY
VERBOSE: [18:12:16][Invoke-KbCommand] Computer is not localhost, adding catswks11.XXXX.YYYYY to
PSDefaultParameterValues
VERBOSE: [18:12:16][Invoke-KbCommand] Connecting to session using Invoke-PSFCommand
VERBOSE: [18:12:16][Invoke-PSFCommand] Invoking command against catswks11.XXXX.YYYYY
VERBOSE: [18:12:16][] Nothing to install on catswks11.XXXX.YYYYY, moving on
VERBOSE: [18:12:21][Start-JobProcess] Finished installing updates on catswks11.XXXX.YYYYY
I think i might miss something configured on the system as on other machines installed with a different process are successfull but i can"t find what...
Thanks for your help
The text was updated successfully, but these errors were encountered: