Skip to content

Commit 5735eed

Browse files
authored
Update Add-OdbcDsn.md
Made changes to Example 4 as the variable used was incorrect
1 parent be0d8db commit 5735eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docset/winserver2022-ps/wdac/Add-OdbcDsn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Without *PassThru*, the cmdlet does not return anything.
5858
### Example 4: Migrates DSNs to a newer version of a driver
5959
```
6060
PS C:\> $DsnArray = Get-OdbcDsn -DriverName 'SQL Server Native Client 10.0'
61-
PS C:\> ForEach ($Dsn in $ DsnArr) {
61+
PS C:\> ForEach ($Dsn in $ DsnArray) {
6262
Remove-OdbcDsn -InputObject $Dsn
6363
# You can change the property array as well,
6464
# if DSN attributes have been changed in the new driver version

0 commit comments

Comments
 (0)