xSqlserver DSC Module

Welcome Forums DSC (Desired State Configuration) xSqlserver DSC Module

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
2 years, 4 months ago.

  • Author
    Posts
  • #50368

    Participant
    Points: 0
    Rank: Member

    How can i modify the MSFT_xsqlserversetup service accounts to follow the below naming convention?

    $SQLServer = $env:computername
    $DomainName = $env:USERDOMAIN
    $DBServiceName = "$DomainName\$SQLServer" + "DE"
    $AgtServiceName = "$DomainName\$SQLServer" + "AG"
    $FTServiceName = "$DomainName\$SQLServer" + "FT"
    $RSServiceName = "$DomainName\$SQLServer" + "RS"
    $ASServiceName = "$DomainName\$SQLServer" + "AS"
    $ISServiceName = "$DomainName\$SQLServer" + "IS"

    Thanks in anticipation.

  • #50414

    Participant
    Points: -19
    Rank: Member

    Hi,

    You set this outside of the configuration script and then supply it to the parameters of the DSC component.

    Similar to this :

    https://msdn.microsoft.com/en-us/powershell/dsc/configdata

  • #50435

    Participant
    Points: 0
    Rank: Member

    Thanks for your help. I tried following your step but I seems to be running intop more problems. Not sure I got what you meant quite clearly.

    Thanks

The topic ‘xSqlserver DSC Module’ is closed to new replies.