Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started