Restart-WebAppPool
Restarts an application pool.
Syntax
Restart-WebAppPool
[[-Name] <String>]
[<CommonParameters>]
Description
The Restart-WebAppPool cmdlet restarts the specified application pool.
Examples
Example 1: Restart an application pool
IIS:\> Restart-WebAppPool -Name "DefaultAppPool"
This command restarts the application pool named DefaultAppPool.
Parameters
-Name
Specifies the name of the application pool to restart.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Related Links
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應