Seems like the modules you are trying to install are untrusted and you are being prompted before installation. If you can force install, without any prompts, it might work. Like, below
install-module <modulename> -force
If that too doesn't solve the problem. please try this before you run the install commands, to register the Powershell repository as trusted one
Register-PSRepository -Default -InstallationPolicy Trusted
The above syntax is for PS version 5+. If the version on the node is not this, we can try the below syntax.
Register-PSRepository -Name PSGallery -SourceLocation https://www.powershellgallery.com/api/v2/ -InstallationPolicy Trusted
please let us know how it goes.