Multiple choice technology

Out of the below options which is not a valid parameter type in PowerShell?

  1. Mandatory

  2. Named

  3. Generic

  4. Positional

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

PowerShell parameter attributes include Mandatory, Positional, and Named (parameters you specify by name). Generic is not a valid PowerShell parameter type - there is no [Generic()] attribute in PowerShell. Parameter types can be string, int, bool, etc., but Generic is not a parameter classification.