logo-MindMajix
s
sri kanth

Posted on 26th July 2024|72 views

0
votes

Powershell Default Parameter

How to Create and Use default Parameters in Powershell?

1 answers
Answers
P
jordan chris

Posted on 26th July 2024| views

In Powershell, We can use default arguments through the automatic variable “$args”. “$args” variable contains unnamed arguments, and they are given to the PowerShell script, while it is running. By passing the path of the script to the “$args” variable, we can create the default parameters.

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number