Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Using dsc – how can you deploy files related to existing services?

$
0
0

I am looking into using DSC for application deployments. At the moment, we have a set of scripts that save the current start mode and state of all application services and then stop and disable all applications services before copying new application files to target servers. If we don't do this, the files tied to the services fail to publish because the old versions of the files are in use. Then after the copy, we set the services states back to what ever they were before (started/stopped and either disabled, manaual, or automatic).

How can the desired effect of copying the new service related files to the target servers be accomplished using DSC?


Viewing all articles
Browse latest Browse all 13067

Trending Articles