In Sitecore Powershell extensions I can use
If ( Get-Item ...)
to return true if an item exists or false if it doesn't, but if the item isn't found then it outputs an error message as well.
Is there a way of checking for an item's existence that doesn't output an error message (and is possibly less intensive than using Get-Item - I only need to know if it's there or not, I don't need to instantiate it)? I've tried using the standard powershell -ErrorAction SilentlyContinue but this doesn't seem to be implemented.