ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 71 - NCP-MCA discussion

Report
Export

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?

A.
Enable-WSManCredSSP -Role Server -Force
Answers
A.
Enable-WSManCredSSP -Role Server -Force
B.
Enable-WSManCredSSP -Role Client
Answers
B.
Enable-WSManCredSSP -Role Client
C.
Enable-WSManCredSSP -Role Server
Answers
C.
Enable-WSManCredSSP -Role Server
D.
Disable-WSManCredSSP -Role Server -Force
Answers
D.
Disable-WSManCredSSP -Role Server -Force
Suggested answer: B

Explanation:

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.Reference:Nutanix Calm: PowerShell Scripts - Read the DocsandEnable-WSManCredSSP (Microsoft.PowerShell.Management) - PowerShell | Microsoft Docs.

asked 23/09/2024
Donald Geddis
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first