Get-EntraBetaDirectorySettingTemplate

ディレクトリ設定テンプレートを取得します。

構文

GetQuery (既定)

Get-EntraBetaDirectorySettingTemplate

    [-Property <String[]>]
    [<CommonParameters>]

GetById

Get-EntraBetaDirectorySettingTemplate

    -Id <String>
    [-Property <String[]>]
    [<CommonParameters>]

説明

Get-EntraBetaDirectorySettingTemplate コマンドレットは、Microsoft Entra IDからディレクトリ設定テンプレートを取得します。 ディレクトリ設定テンプレート Id 取得するパラメーターを指定します。

例 1: すべてのディレクトリ設定テンプレートを取得する

Connect-Entra -Scopes 'Directory.ReadWrite.All'
Get-EntraBetaDirectorySettingTemplate
Id                                   DisplayName                          Description
--                                   -----------                          -----------
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb Group.Unified.Guest                  Settings for a specific Unified Group
bbbbbbbb-1111-2222-3333-cccccccccccc Application                          ...
cccccccc-2222-3333-4444-dddddddddddd Password Rule Settings               ...

この例では、すべてのディレクトリ設定テンプレートを取得します。

例 2: ディレクトリ設定テンプレートを取得する

Connect-Entra -Scopes 'Directory.ReadWrite.All'
Get-EntraBetaDirectorySettingTemplate -Id 'aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb'
Id                                   DisplayName                          Description
--                                   -----------                          -----------
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb Group.Unified.Guest                  Settings for a specific Unified Group

この例では、ディレクトリ設定テンプレートを取得します。

  • -Id パラメーターは、設定テンプレートの ID を指定します。

パラメーター

-Id

取得する設定テンプレートの ID。

パラメーターのプロパティ

型:System.String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

GetById
配置:Named
必須:True
パイプラインからの値:True
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

-Property

返されるプロパティを指定します。

パラメーターのプロパティ

型:

System.String[]

規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:Select

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。