Skip to content

[Tweaks] Conditionally determine when to use sc and Set-Service#3761

Merged
ChrisTitusTech merged 2 commits intoChrisTitusTech:mainfrom
CodingWonders:main
Dec 1, 2025
Merged

[Tweaks] Conditionally determine when to use sc and Set-Service#3761
ChrisTitusTech merged 2 commits intoChrisTitusTech:mainfrom
CodingWonders:main

Conversation

@CodingWonders
Copy link
Contributor

@CodingWonders CodingWonders commented Dec 1, 2025

Type of Change

  • Bug fix

Description

This PR fixes issues related to service start types and auto delayed start on pwsh 5.

Testing

This should work.

Issue related to PR

Additional Information

REVIEW AND TEST THIS CHRIS, I KNOW YOU DON'T READ THIS SECTION!!!

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no errors/warnings/merge conflicts.

Removed comments explaining the handling of auto delayed start for PWSH 5.
@GabiNun
Copy link
Contributor

GabiNun commented Dec 1, 2025

sc dosen't need a foreach loop?

@ChrisTitusTech ChrisTitusTech merged commit cfaf139 into ChrisTitusTech:main Dec 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WPFTweaksServices can't set any service to AutomaticDelayedStart

3 participants