Skip to content

Commit

Permalink
Changes to SqlDatabase
Browse files Browse the repository at this point in the history
- Updated resource description in README.md
- Fix examples to use PsDscRunAsCredential (issue dsccommunity#760).
  • Loading branch information
johlju committed Jul 15, 2019
1 parent 0af543d commit 7c0a848
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@
- Can also pipe in 'Microsoft.SqlServer.Management.Smo.Server' object.
- Can pipe Connect-SQL | Invoke-Query.
- Added default values to Invoke-Query.
- Minor style fixes in unit tests.
- Changes to SqlServerSecureConnection
- Forced $Thumbprint to lowercase to fix [issue #1350](https://github.com/PowerShell/SqlServerDsc/issues/1350).
- Changes to SqlSetup
- Correct minor style violation [issue #1387](https://github.com/PowerShell/SqlServerDsc/issues/1387).
- Changes to SqlDatabase
- Updated resource description in README.md
- Fix examples to use `PsDscRunAsCredential` ([issue #760](https://github.com/PowerShell/SqlServerDsc/issues/760)).
- Added integration tests ([issue #739](https://github.com/PowerShell/SqlServerDsc/issues/739)).

## 13.0.0.0

Expand Down
4 changes: 4 additions & 0 deletions Examples/Resources/SqlDatabase/1-CreateDatabase.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Configuration Example
ServerName = 'sqltest.company.local'
InstanceName = 'DSC'
Name = 'Contoso'

PsDscRunAsCredential = $SqlAdministratorCredential
}

SqlDatabase Create_Database_with_different_collation
Expand All @@ -34,6 +36,8 @@ Configuration Example
InstanceName = 'DSC'
Name = 'AdventureWorks'
Collation = 'SQL_Latin1_General_Pref_CP850_CI_AS'

PsDscRunAsCredential = $SqlAdministratorCredential
}
}
}
2 changes: 2 additions & 0 deletions Examples/Resources/SqlDatabase/2-DeleteDatabase.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Configuration Example
ServerName = 'sqltest.company.local'
InstanceName = 'DSC'
Name = 'AdventureWorks'

PsDscRunAsCredential = $SqlAdministratorCredential
}
}
}

0 comments on commit 7c0a848

Please sign in to comment.