Measure-WssFolder
Measure-WssFolder
Calculates the size of a given server folder.
構文
Parameter Set: Default
Measure-WssFolder [-Folder] <Folder> [ <CommonParameters>]
詳細説明
The Measure-WssFolder cmdlet calculates the size of a given server folder.
パラメーター
-Folder<Folder>
Specifies the folder to calculate the size of.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
Microsoft.WindowsServerSolutions.Storage.CalculateFolderSizeRequest
This cmdlet generates the CalculateFolderSizeRequest object which can be used to calculate the size of a server folder.
例
Example 1: Calculate the size of a server folder
The first command gets the folder named Projects01, and stores the folder in the $Pfolder variable. The second command calculates the size of the server folder stored in $Pfolder.
PS C:\> $Pfolder = Get-WssFolder -Name "Projects01"
Measure-WssFolder -Folder $Pfolder