PowerShell 2 Error Handling


i scripting active directory membership. but, whenever user happens in group, 4 line error. need ps ignore these errors, want told of more critical ones (i.e. user account not exist). possible suppress errors, while displaying more simplified customer error message? thinking might have using -erroraction cilentlycontinue if statement, uncertain....

well, makes me sad. installed quest ad snapin , works beautifully. why can't native cmdlets work 3rd party ones? going move forward initial answer , hope using 3rd party stuff not come , bite later.

thanks help!



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file