Use methods to accept user inputs in Windows PowerShell scripts
This method explains multiple methods for accepting user input in a Windows PowerShell script.
Identify values in a script that are likely to change., Explain how to use Read-Host to accept user input., Explain how to use Get-Credential to accept user credentials., Explain how to use Out-GridView to obtain user input., Obtain user input by using Read-Host, Get-Credential, and Out-GridView., Explain how to pass parameters to a script., Obtain user input by using parameters.
Prerequisites
Familiarity with Windows networking technologies and implementation
Familiarity with Windows Server administration, maintenance, and troubleshooting
Familiarity with Windows PowerShell and its commands to perform specific tasks
Familiarity with PowerShell cmdlets used for system administration tasks related to Active Directory, network configuration, server administration, and Windows 10 device administration
Familiarity with Windows PowerShell pipeline, PowerShell providers, and PowerShell drives
Familiarity with CIM and WMI technologies
Familiarity to use variables, arrays, and hash tables in Windows PowerShell
There are no reviews yet.