Closed
Description
Currently, if I want to reference a .NET assembly like System.Configuration, I do something like this at the top of my scripts:
try{[void][Configuration.ConfigurationManager]}catch{Add-Type -AN System.Configuration}
it would be much more readable (and declarative) as something like:
#Requires -Assembly System.Configuration