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

Create issue
Issue #185 resolved
Former user 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