-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in Version 4.4 #58
Comments
Please be sure your target server has powershell 5.1 or above.
…________________________________
From: sayeesrivenky ***@***.***>
Sent: Friday, September 24, 2021 7:53:04 AM
To: Dejulia489/WindowsServiceManager ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [Dejulia489/WindowsServiceManager] Error in Version 4.4 (#58)
We are using version 4.4 and while deploying a non-top shelf service we get this error. Error does not occur in TopShelf Service though.
"The term '\Add-LocalUserToLogonAsAService.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#58>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFY6CKTIOSFZOTOEUPVDS7TUDRRCBANCNFSM5EVZGHXA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
powershell version in the target server is: 5.1.14393.4583 |
I have same/similar issue. PIpeline have been working fine and without changes to the pipeline it suddenly stopped working. To troubleshoot I created a delops release with just this task keeps failing with errors: ... 2021-11-24T10:27:54.8139381Z Out-Default : The term 'global:Out-Default' is not recognized as the name of a cmdlet, function, script file, or Windows server 2016, powershell version 5.1.14393.1066 |
Hi again. |
We are using version 4.4 and while deploying a non-top shelf service we get this error. Error does not occur in TopShelf Service though.
"The term '\Add-LocalUserToLogonAsAService.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
The text was updated successfully, but these errors were encountered: