Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

issue in PDQ Deploy when I try to install the PSWindowsUpdate Module.

Hello, I'm having an issue in PDQ Deploy when I try to install the PSWindowsUpdate Module.

Exception calling "ShouldContinue" with "2" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available." At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:7455 char:8

if($Force -or $psCmdlet.ShouldContinue($shouldContinueQueryMessag ...
CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
FullyQualifiedErrorId : PSInvalidOperationException
Script is Find-Module -name "pswindowsupdate" |install-module

Any Thoughts? I'm quite new to powershell.
Thanks.
0

Comments

2 comments
Date Votes
  • Try Install-Module -Forceor Install-Module -Confirm:$false.

    0
  • This could also happen when you don't have other powershell modules preinstalled required for the intended operation.

    0