In the folder create ($ssrs.CreateFolder) we have a try{} catch{} block and if in the error message the text "already exists" is present a message is shown (Folder $folderName already exists, Skipping!), but if we use a server in another language, throw is executed.
In the folder create ($ssrs.CreateFolder) we have a try{} catch{} block and if in the error message the text "already exists" is present a message is shown (Folder $folderName already exists, Skipping!), but if we use a server in another language, throw is executed.
Suggestion, use the exception namespace: