Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions src/Applications/beta/examples/Get-MgBetaApplicationTemplate.md
Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
@@ -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.

Loading