« Previous Next »
Last post 10-22-2009 8:13 PM by anilr. 2 replies.
Average Rating Rate It (5)Thank you for the rating!
Page 1 of 1 (3 items)
Sort Posts: Oldest to newest Newest to oldest
Hello,
Is there any way to Set a server farm's status programmatically using PowerShell? It is fairly easy to Get a farm's Status, but I cannot seem to find the Method name to Set a farm online or offline. An Example snipet would be nice.
Thank You
Don't have an answer, but we've told clients to delete / change a status file, i.e. http://server/AmIRunning.aspx and then just test that file often - We found that easier for most clients than saying to use PS (usually they want to do this to deploy updates so a file copy first is a trivial step).
You can find the ARR schema in %windir%\system32\inetsrv\config\schema\arr_schema.xml and webfarm.xml - the particular property you want to change is the enabled property under the webfarm element.