18 October 2013

Script prerequisites

if you need to ensure your script with powershell minimum version, loaded module, PSSnapin you can use the #Requires statement :

#Requires -Version 3.0
#Requires -Modules ActiveDirectory


No comments:

Post a Comment