diff --git a/src/Applications/beta/examples/Get-MgBetaApplicationTemplate.md b/src/Applications/beta/examples/Get-MgBetaApplicationTemplate.md index 24f32956cc..d8b35bc5bc 100644 --- a/src/Applications/beta/examples/Get-MgBetaApplicationTemplate.md +++ b/src/Applications/beta/examples/Get-MgBetaApplicationTemplate.md @@ -1,11 +1,22 @@ -### Example 1: Code snippet +### Example 1: Get application template ```powershell Import-Module Microsoft.Graph.Beta.Applications -Get-MgBetaApplicationTemplate +Get-MgBetaApplicationTemplate -ApplicationTemplateId $applicationTemplateId ``` -This example shows how to use the Get-MgBetaApplicationTemplate Cmdlet. +This example will get application template + +### Example 2: Get application template with optional properties + +```powershell + +Import-Module Microsoft.Graph.Beta.Applications + +Get-MgBetaApplicationTemplate -ApplicationTemplateId $applicationTemplateId -Property "id,displayName,riskScore,riskFactors" + +``` +This example will get application template with optional properties diff --git a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md index d05037861a..e69de29bb2 100644 --- a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md +++ b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md @@ -1,11 +0,0 @@ -### Example - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId - -``` -This example shows how to use the Get-MgBetaServicePrincipalSynchronizationTemplate Cmdlet. -