i m new to powershell i want to catch exception in it ,how to do it and where to get exception name ie) System.IO.DirectoryNotFound …etc
ie)
try{
….}
catch […..]
{
}
catch […..]
{
}
catch [….]
{
}
i m new to powershell i want to catch exception in it ,how to do it and where to get exception name ie) System.IO.DirectoryNotFound …etc
ie)
try{
….}
catch […..]
{
}
catch […..]
{
}
catch [….]
{
}