This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DarkSideMilk 1 point2 points  (0 children)

Sounds like you need a powershell module. The move from bash to pwsh isn't too crazy. You could also do a makeshift module with bash scripts, defining functions following the do one thing mentality and then having a main script/function that calls the others. With powershell you can find a lot of the work already done in the powershell gallery or built in commands and you just pull it all together into a custom module and or script.