You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If ((Test-Path$outFile) -and-not$AllowOverwrite.IsPresent) {
96
-
throw ('The file ''{0}'' already exists. Please choose a different name, use the -AppendNameWithSysID switch parameter, or use the -AllowOverwrite switch parameter to overwrite the file.'-f$OutFile)
97
-
}
107
+
If ((Test-Path$outFile) -and-not$AllowOverwrite.IsPresent) {
108
+
throw ('The file ''{0}'' already exists. Please choose a different name, use the -AppendNameWithSysID switch parameter, or use the -AllowOverwrite switch parameter to overwrite the file.'-f$OutFile)
109
+
}
98
110
99
-
$params.OutFile=$outFile
111
+
$params.OutFile=$outFile
112
+
}
100
113
101
114
If ($PSCmdlet.ShouldProcess($outFile,"Save attachment")) {
0 commit comments