The variable names are the names you gave to the parameters of the "Start-Service" function. Isn't that the first question you asked?.
The two examples I posted links to also show this.
MIcrosoft has replaced services with tasks for security reasons, simplicity and ease of management.
Search found 15436 matches
- Tue Jun 27, 2023 8:43 am
- Forum: PowerShell
- Topic: Service Script with Parameters
- Replies: 8
- Views: 3992
- Mon Jun 26, 2023 7:03 pm
- Forum: PowerShell
- Topic: Service Script with Parameters
- Replies: 8
- Views: 3992
Re: Service Script with Parameters
That depends on what you want the parameters do. They arrive like all other function parameters. You can use them as needed. They act just like any other variable sent to a function. All sent will be converted to strings so objects and Booleans cannot be sent. Numbers will bem received as strings bu...
- Sat Jun 24, 2023 3:53 pm
- Forum: PowerShell GUIs
- Topic: How to add stripline to chart
- Replies: 1
- Views: 795
- Wed Jun 21, 2023 5:08 pm
- Forum: PowerShell
- Topic: Service Script with Parameters
- Replies: 8
- Views: 3992
Re: Service Script with Parameters
The parameter comes from the command you use to start the service.
https://serverfault.com/questions/14336 ... on-windows
https://learn.microsoft.com/en-us/previ ... 6(v=ws.11)
https://serverfault.com/questions/14336 ... on-windows
https://learn.microsoft.com/en-us/previ ... 6(v=ws.11)
- Tue Jun 20, 2023 3:51 am
- Forum: PowerShell
- Topic: MenuStrip SelecedItem
- Replies: 5
- Views: 2440
Re: MenuStrip SelecedItem
Here iws a walkthrough on how to use menus and add items.
https://www.sapien.com/blog/2019/01/22/ ... owershell/
https://www.sapien.com/blog/2019/01/22/ ... owershell/
- Tue Jun 20, 2023 3:44 am
- Forum: PowerShell
- Topic: MenuStrip SelecedItem
- Replies: 5
- Views: 2440
Re: MenuStrip SelecedItem
You still have to add it before it will work.
- Tue Jun 20, 2023 3:30 am
- Forum: PowerShell
- Topic: MenuStrip SelecedItem
- Replies: 5
- Views: 2440
Re: MenuStrip SelecedItem
You have to add the menu items to the menustrip for this to work.
- Thu Jun 01, 2023 2:51 pm
- Forum: PowerShell GUIs
- Topic: PS Studio / EXO v3 / 3.1.0 issues
- Replies: 3
- Views: 1112
Re: PS Studio / EXO v3 / 3.1.0 issues
Adding code to the top oof a form in PSS causes the code to be executed on the forms thread. You must load before calling the form function.
- Wed May 31, 2023 4:48 pm
- Forum: PowerShell GUIs
- Topic: Form validation doco
- Replies: 7
- Views: 932
Re: Form validation doco
Couldn't get my thick head to see that you were criticizing the documentation and not how to use the event.
Take two points and a chocolate chip cookie. I need one more lemon to make lemonade.
Take two points and a chocolate chip cookie. I need one more lemon to make lemonade.
- Tue May 30, 2023 6:01 am
- Forum: PowerShell GUIs
- Topic: Form validation doco
- Replies: 7
- Views: 932
Re: Form validation doco
Never-the-less, that is how event routing works in Windows. It has always worked like that. "Cancel" means stop processing all related events in the validation chain. Other events will not be affected.
Set $_.Cancel equal to $true when you wish to STOP processing events.
Set $_.Cancel equal to $true when you wish to STOP processing events.