Skip to content
Closed
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Example

```powershell
Import-Module Microsoft.Graph.Beta.Applications
Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId
```
This example shows how to use the Get-MgBetaServicePrincipalSynchronizationTemplate Cmdlet.

Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
### Example

```powershell

Import-Module Microsoft.Graph.Applications

Get-MgServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId

```
This example shows how to use the Get-MgServicePrincipalSynchronizationTemplate Cmdlet.

19 changes: 19 additions & 0 deletions src/Files/beta/examples/Copy-MgBetaDriveItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,25 @@ This example shows how to use the Copy-MgBetaDriveItem Cmdlet.

Import-Module Microsoft.Graph.Beta.Files

$params = @{
parentReference = @{
driveId = "b!s8RqPCGh0ESQS2EYnKM0IKS3lM7GxjdAviiob7oc5pXv_0LiL-62Qq3IXyrXnEop"
id = "DCD0D3AD-8989-4F23-A5A2-2C086050513F"
}
childrenOnly = $true
}

Copy-MgBetaDriveItem -DriveId $driveId -DriveItemId $driveItemId -@microsoft.graph.conflictbehavior "replace" -BodyParameter $params

```
This example shows how to use the Copy-MgBetaDriveItem Cmdlet.

### Example 6: Code snippet

```powershell

Import-Module Microsoft.Graph.Beta.Files

$params = @{
parentReference = @{
driveId = "b!s8RqPCGh0ESQS2EYnKM0IKS3lM7GxjdAviiob7oc5pXv_0LiL-62Qq3IXyrXnEop"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1cenario1 for u1ing query parameter1
### Example scenarios for using query parameters

```powershell

Expand All @@ -7,5 +7,5 @@ Import-Module Microsoft.Graph.Identity.Governance
Get-MgEntitlementManagementAssignment

```
This example shows scenarios for using query parameters
This example shows how to use the Get-MgEntitlementManagementAssignment Cmdlet.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1cenario1 for u1ing query parameter1
### Example scenarios for using query parameters

```powershell

Expand All @@ -7,5 +7,5 @@ Import-Module Microsoft.Graph.Identity.Governance
Get-MgEntitlementManagementAssignmentRequest

```
This example shows scenarios for using query parameters
This example shows how to use the Get-MgEntitlementManagementAssignmentRequest Cmdlet.

Loading