1. Aaron Jensen
  2. Carbon
  3. Issues
Issue #185 resolved

Install-Service never updates 'logon as' if Credential parameter is used

Anonymous created an issue

In the $doInstall check on line 352 it is still using -eq 'CustomAccount' rather than -like 'CustomAccount*'

    if( $PSCmdlet.ParameterSetName -eq 'CustomAccount' -and $serviceConfig.UserName -ne $identity.FullName )

So it will never update the service if -Credential is used

Comments (3)

  1. Log in to comment