Valid NCP-MCA Dumps shared by ExamDiscuss.com for Helping Passing NCP-MCA Exam! ExamDiscuss.com now offer the newest NCP-MCA exam dumps, the ExamDiscuss.com NCP-MCA exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com NCP-MCA dumps with Test Engine here:
Refer to the exhibit. Calm encountered the error shown in the exhibit when importing a script that maps a network drive. Upon further investigation, the Calm administrator was unable to run the script manually on a VM and discovered that elevated permissions were needed. Which command should the administrator add to the script?
Correct Answer: B
The error message indicates that the script failed to authenticate to the remote server using CredSSP. CredSSP is a security mechanism that allows a client to delegate its credentials to a remote server for authentication. To use CredSSP, both the client and the server need to enable it and configure the role and the trusted hosts. The command Enable-WSManCredSSP -Role Client enables CredSSP on the client side and specifies the remote server as a trusted host. This command should be added to the script before invoking the Invoke-Command cmdlet that runs the script block on the remote server. The other commands are either irrelevant or incorrect for this scenario. References: Nutanix Calm: PowerShell Scripts - Read the Docs and Enable-WSManCredSSP (Microsoft.PowerShell.Management) - PowerShell | Microsoft Docs.