Skip to content

Instantly share code, notes, and snippets.

Last active January 8, 2019 15:07
What would you like to do?
Create a SQL Server Alias basd on Configuration Data
$ConfigurationData.NonNodeData.SqlServerAlias | ForEach-Object -Process {
SqlAlias $_.Name
Name = $_.Name
ServerName = $_.ServerName
Protocol = $_.Protocol
UseDynamicTcpPort = $_.UseDynamicTcpPort
TcpPort = $_.TcpPort
Ensure = 'Present'
PsDscRunAsCredential = $SpSetupAccount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment