Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Power Shell script to stop the application pool in IIS 6.0:-
--------------------------------------------------------------------------------
$appPool = get-wmiobject -namespace "root\MicrosoftIISv2" -class "IIsApplicationPool" | where-object {$_.Name -eq "W3SVC/AppPools/SharePoint - 80"}
$appPool.Stop()
---------------------------------------------------------------------------------
Power Shell script to start the application pool in IIS 6.0 :-
--------------------------------------------------------------------------------
$appPool = get-wmiobject -namespace "root\MicrosoftIISv2" -class "IIsApplicationPool" | where-object {$_.Name -eq "W3SVC/AppPools/SharePoint - 80"}
$appPool.Start()
---------------------------------------------------------------------------------
** need to change the name of the application pool (sharepoint - 80) as per in your farm.
Comments
Anonymous
January 01, 2003
Very nice, I just added these to my sharepoint powershell library. code.google.com/.../detail Thanks!Anonymous
August 21, 2012
Can you please suggest how to start/stop complete iisAnonymous
January 21, 2016
ok