# How to change SQL Server collation using DSC

**URL:** <https://forums.powershell.org/t/how-to-change-sql-server-collation-using-dsc/12269>\
**Category:** DSC\
**Created:** [March 27, 2019, 7:40am UTC](https://forums.powershell.org/t/how-to-change-sql-server-collation-using-dsc/12269 "2019-03-27T07:40:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arif](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@arif](https://forums.powershell.org/u/arif)\
**Post date:** [March 27, 2019, 7:40am UTC](https://forums.powershell.org/t/how-to-change-sql-server-collation-using-dsc/12269/1 "2019-03-27T07:40:42Z")

</div>

I am looking for examples of DSC to change SQL server collation(Note: not for DB alone, but i am looking for the instance itself).

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)\
**Post date:** [March 27, 2019, 9:49am UTC](https://forums.powershell.org/t/how-to-change-sql-server-collation-using-dsc/12269/2 "2019-03-27T09:49:33Z")

</div>

Not a SQL guy hence never used DSC for SQL. But you can use below DSC resource for this.

> **[GitHub - dsccommunity/SqlServerDsc: This module contains DSC resources for...](https://github.com/dsccommunity/SqlServerDsc#sqldatabase)**
>
> This module contains DSC resources for deployment and configuration of Microsoft SQL Server. - GitHub - dsccommunity/SqlServerDsc: This module contains DSC resources for deployment and configuratio...

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 9:16pm UTC](https://forums.powershell.org/t/how-to-change-sql-server-collation-using-dsc/12269/3 "2024-05-16T21:16:23Z")

</div>

Closed on May 16, 2024, 9:16pm UTC


