Quantcast
Channel: PowerShell Magazine » ServiceController
Browsing all 2 articles
Browse latest View live

#PSTip Refreshing service objects

When you assign the result of a service query to a variable, you must take into account one very important thing – the result is just a snapshot of the service state for a specific point in time....

View Article



#PSTip Wait for a Service to reach a specified status

So, in your script, you need to wait for a service until it reaches a specified status and performs an action based on the new state. One way to achieve this, and... Read more »

View Article
Browsing all 2 articles
Browse latest View live




Latest Images