Somebody please tell me what the purpose of this > $null is? If the value is a null will it stop a script running? Is this another way of saying 'only continue if the result of the expression is not null'?
Is that similar to doing -erroraction silentlycontinue and should I use this after every single command if I don't want error messages to be written to the console?
Ok makes sense. I am trying to build up some automated build scripts for SharePoint so I guess I am maybe better to keep the output visible to know whether the cmdlets are doing what they are supposed to.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.