Enforcing script prerequisites

suggest change

Versions

[{“Name”:“2.0”,“GroupName”:null},{“Name”:“3.0”,“GroupName”:null},{“Name”:“4.0”,“GroupName”:null},{“Name”:“5.0”,“GroupName”:null}]

Syntax

Remarks

#requires statement can be placed on any line in the script (it doesn’t have to be the first line) but it must be the first statement on that line.

Multiple #requires statements may be used in one script.

For more reference, please refer to official documentation on Technet - about_about_Requires.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents