diff --git a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md index 3f1ed3342c..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 will### example - diff --git a/src/Files/beta/examples/Copy-MgBetaDriveItem.md b/src/Files/beta/examples/Copy-MgBetaDriveItem.md index 1daa9b7029..bcc494a69a 100644 --- a/src/Files/beta/examples/Copy-MgBetaDriveItem.md +++ b/src/Files/beta/examples/Copy-MgBetaDriveItem.md @@ -6,7 +6,7 @@ Import-Module Microsoft.Graph.Beta.Files $params = @{ parentReference = @{ - driveId = "6F7D00BF-FC4D-4E62-9769-6AEA81F3A21B" + driveId = "b!s8RqPCGh0ESQS2EYnKM0IKS3lM7GxjdAviiob7oc5pXv_0LiL-62Qq3IXyrXnEop" id = "DCD0D3AD-8989-4F23-A5A2-2C086050513F" } name = "contoso plan (copy).txt" @@ -25,7 +25,7 @@ Import-Module Microsoft.Graph.Beta.Files $params = @{ parentReference = @{ - driveId = "6F7D00BF-FC4D-4E62-9769-6AEA81F3A21B" + driveId = "b!s8RqPCGh0ESQS2EYnKM0IKS3lM7GxjdAviiob7oc5pXv_0LiL-62Qq3IXyrXnEop" id = "DCD0D3AD-8989-4F23-A5A2-2C086050513F" } childrenOnly = $true @@ -44,7 +44,7 @@ Import-Module Microsoft.Graph.Beta.Files $params = @{ parentReference = @{ - driveId = "6F7D00BF-FC4D-4E62-9769-6AEA81F3A21B" + driveId = "b!s8RqPCGh0ESQS2EYnKM0IKS3lM7GxjdAviiob7oc5pXv_0LiL-62Qq3IXyrXnEop" id = "DCD0D3AD-8989-4F23-A5A2-2C086050513F" } } @@ -62,7 +62,7 @@ Import-Module Microsoft.Graph.Beta.Files $params = @{ parentReference = @{ - driveId = "6F7D00BF-FC4D-4E62-9769-6AEA81F3A21B" + driveId = "b!s8RqPCGh0ESQS2EYnKM0IKS3lM7GxjdAviiob7oc5pXv_0LiL-62Qq3IXyrXnEop" id = "DCD0D3AD-8989-4F23-A5A2-2C086050513F" } } @@ -72,3 +72,22 @@ Copy-MgBetaDriveItem -DriveId $driveId -DriveItemId $driveItemId -@microsoft.gra ``` This example shows how to use the Copy-MgBetaDriveItem Cmdlet. +### Example 5: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Files + +$params = @{ + parentReference = @{ + driveId = "b!s8RqPCGh0ESQS2EYnKM0IKS3lM7GxjdAviiob7oc5pXv_0LiL-62Qq3IXyrXnEop" + id = "DCD0D3AD-8989-4F23-A5A2-2C086050513F" + } + includeAllVersionHistory = $true +} + +Copy-MgBetaDriveItem -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params + +``` +This example shows how to use the Copy-MgBetaDriveItem Cmdlet. +