Question: The Read - Host cmdlet reads a line of input from the console. Which following statement is NOT correct? - AsSecureString parameter indicates that the
The ReadHost cmdlet reads a line of input from the console. Which following statement is NOT correct?
AsSecureString parameter indicates that the cmdlet displays asterisks in place of the characters that the user types as input.
When you use AsSecureString parameter, the output of the ReadHost cmdlet is a SecureString object SystemSecurity.SecureString
MaskInput parameter indicates that the cmdlet displays dot in place of the characters that the user types as input.
When you use MaskInput parameter, the output of the ReadHost cmdlet is a String object. This allows you to safely prompt for a password that is returned as plaintext instead of SecureString.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
