We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e49256c commit 1b5fd01Copy full SHA for 1b5fd01
O365-Update-O365UserUPNSuffix/Update-O365UserUPNSuffix.ps1
@@ -111,7 +111,7 @@ function Update-O365UserUPNSuffix {
111
}
112
113
CATCH {
114
- $Error[0].Exception.Message
+ $PSCmdlet.ThrowTerminatingError($_)
115
116
117
PROCESS {
@@ -144,7 +144,7 @@ function Update-O365UserUPNSuffix {
144
145
146
147
148
149
150
END {
0 commit comments