Archives for August 2016

cmdletbinding or parameter, for PowerShell Advanced Function?

You must have read that cmdletbinding attribute adds common parameters to your function like -debug, -verbose. Which then enables you to use write-verbose, write-debug in your script. Same is true if you use [parameter()] attribute in any of your parameter. Basically, using any of these attributes, or both together, recognizes your function as advanced function. […]