Get-FsrmMgmtProperty

Get-FsrmMgmtProperty

Gets management properties.

構文

Parameter Set: GetMgmtProperty0
Get-FsrmMgmtProperty [-AsJob] [-CimSession <CimSession[]> ] [-Effective] [-Name <String> ] [-Namespace <String> ] [-Recurse] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Get-FsrmMgmtProperty cmdlet gets File Server Resource Manager (FSRM) management properties for a namespace. A management property is a classification property that includes Folder in its AppliesTo property and whose Flags property does not include the Secure value. You can use the Get-FsrmClassificationPropertyDefinition cmdlet to get definitions of classification properties.

パラメーター

-AsJob

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CimSession<CimSession[]>

リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。

エイリアス

Session

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Effective

Indicates that the cmdlet gets the management property for the nearest folder that has the name that you specify. The cmdlet finds the nearest management property based on the namespace that you specify or the parent hierarchy. If you specify this parameter, you must specify the Name parameter.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Name<String>

Specifies the name of a management property. Specify the value of the Name property in a FsrmClassificationPropertyDefinition object. If you do not specify this parameter, the cmdlet gets all management properties on the server.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

true

-Namespace<String>

Specifies a local path to a folder.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Recurse

Indicates that this cmdlet gets management properties for all folders that contain management properties in the namespace. If you specify this parameter, you must specify the Namespace parameter.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ThrottleLimit<Int32>

このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0 を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Get all management properties

This command gets all management properties for the server.

PS C:\> Get-FsrmMgmtProperty

Example 2: Get management properties by using a namespace

This command gets the Folder Usage property for the folder C:\Shares.

PS C:\> Get-FsrmMgmtProperty -Namespace "C:\Shares"

Example 3: Get management properties by using a name

This command gets the Folder Usage property for the management property named "FolderUsage_MS" in the folder C:\Shares.

PS C:\> Get-FsrmMgmtProperty -Namespace "C:\Shares" -Name "FolderUsage_MS"

Example 4: Get management properties for all folders in a path

This command gets management properties for C:\Shares and for all folders within the path.

PS C:\> Get-FsrmMgmtProperty -Namespace "C:\Shares" -Recurse

Example 5: Get the nearest management properties by using a name

This command gets the FolderUsage property value on C:\Shares\CtrShares03. If the folder usage management property named "FolderUsage_MS" is not set on C:\Shares\CtrShares03, the cmdlet searches up through the namespace (C:\shares, C:\) and finds the first occurrence of the management property.

PS C:\> Get-FsrmMgmtProperty -Namespace "C:\Shares\CtrShares03" -Name "FolderUsage_MS" -Effective

関連トピック

Set-FsrmMgmtProperty

Remove-FsrmMgmtProperty

Get-FsrmClassificationPropertyDefinition