diff --git a/.azure-pipelines/config/credscan/credscan-suppressions.json b/.azure-pipelines/config/credscan/credscan-suppressions.json index 0d82e91eda..656d7772bd 100644 --- a/.azure-pipelines/config/credscan/credscan-suppressions.json +++ b/.azure-pipelines/config/credscan/credscan-suppressions.json @@ -38,13 +38,14 @@ "file": [ "src\\Users.Actions\\beta\\examples\\Test-MgBetaUserPassword.md", "src\\Users.Actions\\beta\\examples\\Update-MgBetaUserPassword.md", + "src\\Users.Actions\\beta\\examples\\Reset-MgBetaUserAuthenticationMethodPassword.md", "src\\Users.Actions\\v1.0\\examples\\Update-MgUserPassword.md" ], "_justification": "[Users.Actions] Examples contain random values recognized as secret" }, { "file": [ - "src\\DeviceManagement.Actions\\beta\\examples\\Update-MgBetaDeviceManagementVirtualEndpointOnPremisConnectionAdDomainPassword.md" + "src\\DeviceManagement.Actions\\beta\\examples\\Update-MgBetaDeviceManagementVirtualEndpointOnPremiseConnectionAdDomainPassword.md" ], "_justification": "[DeviceManagement.Actions] Examples contain random values recognized as secret" }, 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/Beta.Applications/beta/examples/Add-MgBetaApplicationKey.md b/src/Beta.Applications/beta/examples/Add-MgBetaApplicationKey.md deleted file mode 100644 index 74fba9a3cd..0000000000 --- a/src/Beta.Applications/beta/examples/Add-MgBetaApplicationKey.md +++ /dev/null @@ -1,44 +0,0 @@ -### Example 1: Add a new key credential to an application - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - keyCredential = @{ - type = "AsymmetricX509Cert" - usage = "Verify" - key = [System.Text.Encoding]::ASCII.GetBytes("MIIDYDCCAki...") - } - passwordCredential = $null - proof = "eyJ0eXAiOiJ..." -} - -Add-MgBetaApplicationKey -ApplicationId $applicationId -BodyParameter $params - -``` -This example will add a new key credential to an application - -### Example 2: Add a key credential and an associated password for the key - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - keyCredential = @{ - type = "X509CertAndPassword" - usage = "Sign" - key = [System.Text.Encoding]::ASCII.GetBytes("MIIDYDCCAki...") - } - passwordCredential = @{ - secretText = "MKTr0w1..." - } - proof = "eyJ0eXAiOiJ..." -} - -Add-MgBetaApplicationKey -ApplicationId $applicationId -BodyParameter $params - -``` -This example will add a key credential and an associated password for the key - diff --git a/src/Beta.Applications/beta/examples/Add-MgBetaApplicationPassword.md b/src/Beta.Applications/beta/examples/Add-MgBetaApplicationPassword.md deleted file mode 100644 index 71f74021b3..0000000000 --- a/src/Beta.Applications/beta/examples/Add-MgBetaApplicationPassword.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - passwordCredential = @{ - displayName = "Password friendly name" - } -} - -Add-MgBetaApplicationPassword -ApplicationId $applicationId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaApplicationPassword Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Add-MgBetaServicePrincipalTokenSigningCertificate.md b/src/Beta.Applications/beta/examples/Add-MgBetaServicePrincipalTokenSigningCertificate.md deleted file mode 100644 index 1fd4b582fc..0000000000 --- a/src/Beta.Applications/beta/examples/Add-MgBetaServicePrincipalTokenSigningCertificate.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - displayName = "CN=customDisplayName" - endDateTime = [System.DateTime]::Parse("2024-01-25T00:00:00Z") -} - -Add-MgBetaServicePrincipalTokenSigningCertificate -ServicePrincipalId $servicePrincipalId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaServicePrincipalTokenSigningCertificate Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Clear-MgBetaApplicationVerifiedPublisher.md b/src/Beta.Applications/beta/examples/Clear-MgBetaApplicationVerifiedPublisher.md deleted file mode 100644 index 0d3e16bc9d..0000000000 --- a/src/Beta.Applications/beta/examples/Clear-MgBetaApplicationVerifiedPublisher.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Clear-MgBetaApplicationVerifiedPublisher -ApplicationId $applicationId - -``` -This example shows how to use the Clear-MgBetaApplicationVerifiedPublisher Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Confirm-MgBetaApplicationMemberGroup.md b/src/Beta.Applications/beta/examples/Confirm-MgBetaApplicationMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Confirm-MgBetaApplicationMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Confirm-MgBetaServicePrincipalMemberGroup.md b/src/Beta.Applications/beta/examples/Confirm-MgBetaServicePrincipalMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Confirm-MgBetaServicePrincipalMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Find-MgBetaApplicationSynchronizationJobSchemaDirectory.md b/src/Beta.Applications/beta/examples/Find-MgBetaApplicationSynchronizationJobSchemaDirectory.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Find-MgBetaApplicationSynchronizationJobSchemaDirectory.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Find-MgBetaApplicationSynchronizationTemplateSchemaDirectory.md b/src/Beta.Applications/beta/examples/Find-MgBetaApplicationSynchronizationTemplateSchemaDirectory.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Find-MgBetaApplicationSynchronizationTemplateSchemaDirectory.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Find-MgBetaServicePrincipalSynchronizationJobSchemaDirectory.md b/src/Beta.Applications/beta/examples/Find-MgBetaServicePrincipalSynchronizationJobSchemaDirectory.md deleted file mode 100644 index 466539155e..0000000000 --- a/src/Beta.Applications/beta/examples/Find-MgBetaServicePrincipalSynchronizationJobSchemaDirectory.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Find-MgBetaServicePrincipalSynchronizationJobSchemaDirectory -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId -DirectoryDefinitionId $directoryDefinitionId - -``` -This example shows how to use the Find-MgBetaServicePrincipalSynchronizationJobSchemaDirectory Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Find-MgBetaServicePrincipalSynchronizationTemplateSchemaDirectory.md b/src/Beta.Applications/beta/examples/Find-MgBetaServicePrincipalSynchronizationTemplateSchemaDirectory.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Find-MgBetaServicePrincipalSynchronizationTemplateSchemaDirectory.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaApplication.md b/src/Beta.Applications/beta/examples/Get-MgBetaApplication.md deleted file mode 100644 index 92b5690275..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaApplication.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Retrieve the properties of an application object - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Get-MgBetaApplication -ApplicationId $applicationId - -``` -This example will retrieve the properties of an application object - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationByAppId.md b/src/Beta.Applications/beta/examples/Get-MgBetaApplicationByAppId.md deleted file mode 100644 index 69f973b597..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationByAppId.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Retrieve an application by its appId and only specific properties - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Get-MgBetaApplicationByAppId -Property "id,appId,displayName,requiredResourceAccess" - -``` -This example will retrieve an application by its appid and only specific properties - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationById.md b/src/Beta.Applications/beta/examples/Get-MgBetaApplicationById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationByUniqueName.md b/src/Beta.Applications/beta/examples/Get-MgBetaApplicationByUniqueName.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationByUniqueName.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationDelta.md b/src/Beta.Applications/beta/examples/Get-MgBetaApplicationDelta.md deleted file mode 100644 index e7d36b9708..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationDelta.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Get-MgBetaApplicationDelta - -``` -This example will### example - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationMemberGroup.md b/src/Beta.Applications/beta/examples/Get-MgBetaApplicationMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationSynchronizationAccessToken.md b/src/Beta.Applications/beta/examples/Get-MgBetaApplicationSynchronizationAccessToken.md deleted file mode 100644 index 733f4fb1bc..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationSynchronizationAccessToken.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - credentials = @( - @{ - "@odata.type" = "microsoft.graph.synchronizationSecretKeyStringValuePair" - } - ) -} - -Get-MgBetaApplicationSynchronizationAccessToken -ApplicationId $applicationId -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaApplicationSynchronizationAccessToken Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationTemplate.md b/src/Beta.Applications/beta/examples/Get-MgBetaApplicationTemplate.md deleted file mode 100644 index 4ca099dc8f..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationTemplate.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Get-MgBetaApplicationTemplate -ApplicationTemplateId $applicationTemplateId - -``` -This example shows how to use the Get-MgBetaApplicationTemplate Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaApplicationUserOwnedObject.md b/src/Beta.Applications/beta/examples/Get-MgBetaApplicationUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipal.md b/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipal.md deleted file mode 100644 index d60205533f..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipal.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Get the properties of the specified service principal - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Get-MgBetaServicePrincipal -ServicePrincipalId $servicePrincipalId - -``` -This example will get the properties of the specified service principal - -### Example 2: Get the custom security attribute assignments of the specified service principal - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Get-MgBetaServicePrincipal -ServicePrincipalId $servicePrincipalId -Property "customSecurityAttributes" - -``` -This example will get the custom security attribute assignments of the specified service principal - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalByAppId.md b/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalByAppId.md deleted file mode 100644 index 1bad62320e..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalByAppId.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Retrieve a service principal by its appId and only specific properties - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Get-MgBetaServicePrincipalByAppId -Property "id,appId,displayName,appRoles,publishedPermissionScopes,resourceSpecificApplicationPermissions" - -``` -This example will retrieve a service principal by its appid and only specific properties - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalById.md b/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalDelta.md b/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalDelta.md deleted file mode 100644 index fa6ce23b35..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalDelta.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Get-MgBetaServicePrincipalDelta - -``` -This example shows how to use the Get-MgBetaServicePrincipalDelta Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalLicenseDetailTeamLicensingDetail.md b/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalLicenseDetailTeamLicensingDetail.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalLicenseDetailTeamLicensingDetail.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalMemberGroup.md b/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalPasswordSingleSignOnCredential.md b/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalPasswordSingleSignOnCredential.md deleted file mode 100644 index a1aaa2757e..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalPasswordSingleSignOnCredential.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - id = "5793aa3b-cca9-4794-679a240f8b58" -} - -Get-MgBetaServicePrincipalPasswordSingleSignOnCredential -ServicePrincipalId $servicePrincipalId -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaServicePrincipalPasswordSingleSignOnCredential Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationAccessToken.md b/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationAccessToken.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationAccessToken.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalUserOwnedObject.md b/src/Beta.Applications/beta/examples/Get-MgBetaServicePrincipalUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationJobSchemaOperator.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationJobSchemaOperator.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationJobSchemaOperator.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationTemplateSchemaOperator.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationTemplateSchemaOperator.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationTemplateSchemaOperator.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterServicePrincipalSynchronizationJobSchemaOperator.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterServicePrincipalSynchronizationJobSchemaOperator.md deleted file mode 100644 index 963c6b3067..0000000000 --- a/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterServicePrincipalSynchronizationJobSchemaOperator.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Invoke-MgBetaFilterServicePrincipalSynchronizationJobSchemaOperator -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId - -``` -This example shows how to use the Invoke-MgBetaFilterServicePrincipalSynchronizationJobSchemaOperator Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterServicePrincipalSynchronizationTemplateSchemaOperator.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterServicePrincipalSynchronizationTemplateSchemaOperator.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Invoke-MgBetaFilterServicePrincipalSynchronizationTemplateSchemaOperator.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationJobSchema.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationJobSchema.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationJobSchema.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationTemplateSchema.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationTemplateSchema.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationTemplateSchema.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionServicePrincipalSynchronizationJobSchema.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionServicePrincipalSynchronizationJobSchema.md deleted file mode 100644 index 1aaa28b1e0..0000000000 --- a/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionServicePrincipalSynchronizationJobSchema.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Invoke-MgBetaFunctionServicePrincipalSynchronizationJobSchema -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId - -``` -This example shows how to use the Invoke-MgBetaFunctionServicePrincipalSynchronizationJobSchema Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionServicePrincipalSynchronizationTemplateSchema.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionServicePrincipalSynchronizationTemplateSchema.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Invoke-MgBetaFunctionServicePrincipalSynchronizationTemplateSchema.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaInstantiateApplicationTemplate.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaInstantiateApplicationTemplate.md deleted file mode 100644 index 56c49227c3..0000000000 --- a/src/Beta.Applications/beta/examples/Invoke-MgBetaInstantiateApplicationTemplate.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - displayName = "testProperties" -} - -Invoke-MgBetaInstantiateApplicationTemplate -ApplicationTemplateId $applicationTemplateId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaInstantiateApplicationTemplate Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaParseApplicationSynchronizationJobSchemaExpression.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaParseApplicationSynchronizationJobSchemaExpression.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaParseApplicationSynchronizationTemplateSchemaExpression.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaParseApplicationSynchronizationTemplateSchemaExpression.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaParseServicePrincipalSynchronizationJobSchemaExpression.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaParseServicePrincipalSynchronizationJobSchemaExpression.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Applications/beta/examples/Invoke-MgBetaParseServicePrincipalSynchronizationTemplateSchemaExpression.md b/src/Beta.Applications/beta/examples/Invoke-MgBetaParseServicePrincipalSynchronizationTemplateSchemaExpression.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Applications/beta/examples/New-MgBetaApplication.md b/src/Beta.Applications/beta/examples/New-MgBetaApplication.md deleted file mode 100644 index f987620a14..0000000000 --- a/src/Beta.Applications/beta/examples/New-MgBetaApplication.md +++ /dev/null @@ -1,35 +0,0 @@ -### Example 1: Create an application with the default settings - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - displayName = "Display name" -} - -New-MgBetaApplication -BodyParameter $params - -``` -This example will create an application with the default settings - -### Example 2: Create a new application and add a password secret - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - displayName = "MyAppName" - passwordCredentials = @( - @{ - displayName = "Password name" - } - ) -} - -New-MgBetaApplication -BodyParameter $params - -``` -This example will create a new application and add a password secret - diff --git a/src/Beta.Applications/beta/examples/New-MgBetaApplicationSynchronizationJobOnDemand.md b/src/Beta.Applications/beta/examples/New-MgBetaApplicationSynchronizationJobOnDemand.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/New-MgBetaApplicationSynchronizationJobOnDemand.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/New-MgBetaServicePrincipal.md b/src/Beta.Applications/beta/examples/New-MgBetaServicePrincipal.md deleted file mode 100644 index 0f38f5db51..0000000000 --- a/src/Beta.Applications/beta/examples/New-MgBetaServicePrincipal.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - appId = "65415bb1-9267-4313-bbf5-ae259732ee12" -} - -New-MgBetaServicePrincipal -BodyParameter $params - -``` -This example shows how to use the New-MgBetaServicePrincipal Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/New-MgBetaServicePrincipalPasswordSingleSignOnCredential.md b/src/Beta.Applications/beta/examples/New-MgBetaServicePrincipalPasswordSingleSignOnCredential.md deleted file mode 100644 index cbfb0ead70..0000000000 --- a/src/Beta.Applications/beta/examples/New-MgBetaServicePrincipalPasswordSingleSignOnCredential.md +++ /dev/null @@ -1,27 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - id = "5793aa3b-cca9-4794-679a240f8b58" - credentials = @( - @{ - fieldId = "param_username" - value = "myusername" - type = "username" - } - @{ - fieldId = "param_password" - value = "pa$$w0rd" - type = "password" - } - ) -} - -New-MgBetaServicePrincipalPasswordSingleSignOnCredential -ServicePrincipalId $servicePrincipalId -BodyParameter $params - -``` -This example shows how to use the New-MgBetaServicePrincipalPasswordSingleSignOnCredential Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/New-MgBetaServicePrincipalSynchronizationJobOnDemand.md b/src/Beta.Applications/beta/examples/New-MgBetaServicePrincipalSynchronizationJobOnDemand.md deleted file mode 100644 index 1e840c02d3..0000000000 --- a/src/Beta.Applications/beta/examples/New-MgBetaServicePrincipalSynchronizationJobOnDemand.md +++ /dev/null @@ -1,87 +0,0 @@ -### Example 1: Provision users from Microsoft Entra ID to third-party applications - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - parameters = @( - @{ - subjects = @( - @{ - objectId = "9bb0f679-a883-4a6f-8260-35b491b8b8c8" - objectTypeName = "User" - } - ) - ruleId = "ea807875-5618-4f0a-9125-0b46a05298ca" - } - ) -} - -New-MgBetaServicePrincipalSynchronizationJobOnDemand -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId -BodyParameter $params - -``` -This example will provision users from microsoft entra id to third-party applications - -### Example 2: Sync on-demand from Active Directory to Microsoft Entra ID (Microsoft Entra Cloud Sync) - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - parameters = @( - @{ - ruleId = "6c409270-f78a-4bc6-af23-7cf3ab6482fe" - subjects = @( - @{ - objectId = "CN=AdeleV,CN=Users,DC=corp,DC=chicago,DC=com" - objectTypeName = "user" - } - ) - } - ) -} - -New-MgBetaServicePrincipalSynchronizationJobOnDemand -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId -BodyParameter $params - -``` -This example will sync on-demand from active directory to microsoft entra id (microsoft entra cloud sync) - -### Example 3: Provision a group and two of its members on demand - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - parameters = @( - @{ - ruleId = "33f7c90d-bf71-41b1-bda6-aaf0ddbee5d8#V2" - subjects = @( - @{ - objectId = "8213fd99-d6b6-417b-8e13-af6334856215" - objectTypeName = "Group" - links = @{ - members = @( - @{ - objectId = "cbc86211-6ada-4803-b73f-8039cf56d8a2" - objectTypeName = "User" - } - @{ - objectId = "2bc86211-6ada-4803-b73f-8039cf56d8a2" - objectTypeName = "User" - } - ) - } - } - ) - } - ) -} - -New-MgBetaServicePrincipalSynchronizationJobOnDemand -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId -BodyParameter $params - -``` -This example will provision a group and two of its members on demand - diff --git a/src/Beta.Applications/beta/examples/Remove-MgBetaApplication.md b/src/Beta.Applications/beta/examples/Remove-MgBetaApplication.md deleted file mode 100644 index b2961affcb..0000000000 --- a/src/Beta.Applications/beta/examples/Remove-MgBetaApplication.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Remove-MgBetaApplication -ApplicationId $applicationId - -``` -This example shows how to use the Remove-MgBetaApplication Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationByAppId.md b/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationByAppId.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationByAppId.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationByUniqueName.md b/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationByUniqueName.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationByUniqueName.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationKey.md b/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationKey.md deleted file mode 100644 index 0e5f53b6e8..0000000000 --- a/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationKey.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - keyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" - proof = "eyJ0eXAiOiJ..." -} - -Remove-MgBetaApplicationKey -ApplicationId $applicationId -BodyParameter $params - -``` -This example shows how to use the Remove-MgBetaApplicationKey Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationPassword.md b/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationPassword.md deleted file mode 100644 index 58549caef2..0000000000 --- a/src/Beta.Applications/beta/examples/Remove-MgBetaApplicationPassword.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - keyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" -} - -Remove-MgBetaApplicationPassword -ApplicationId $applicationId -BodyParameter $params - -``` -This example shows how to use the Remove-MgBetaApplicationPassword Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Remove-MgBetaServicePrincipal.md b/src/Beta.Applications/beta/examples/Remove-MgBetaServicePrincipal.md deleted file mode 100644 index e2824cb518..0000000000 --- a/src/Beta.Applications/beta/examples/Remove-MgBetaServicePrincipal.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Remove-MgBetaServicePrincipal -ServicePrincipalId $servicePrincipalId - -``` -This example shows how to use the Remove-MgBetaServicePrincipal Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Remove-MgBetaServicePrincipalByAppId.md b/src/Beta.Applications/beta/examples/Remove-MgBetaServicePrincipalByAppId.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Remove-MgBetaServicePrincipalByAppId.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Remove-MgBetaServicePrincipalPasswordSingleSignOnCredential.md b/src/Beta.Applications/beta/examples/Remove-MgBetaServicePrincipalPasswordSingleSignOnCredential.md deleted file mode 100644 index 784bc255f6..0000000000 --- a/src/Beta.Applications/beta/examples/Remove-MgBetaServicePrincipalPasswordSingleSignOnCredential.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - id = "5793aa3b-cca9-4794-679a240f8b58" -} - -Remove-MgBetaServicePrincipalPasswordSingleSignOnCredential -ServicePrincipalId $servicePrincipalId -BodyParameter $params - -``` -This example shows how to use the Remove-MgBetaServicePrincipalPasswordSingleSignOnCredential Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Restart-MgBetaApplicationSynchronizationJob.md b/src/Beta.Applications/beta/examples/Restart-MgBetaApplicationSynchronizationJob.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Restart-MgBetaApplicationSynchronizationJob.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Restart-MgBetaServicePrincipalSynchronizationJob.md b/src/Beta.Applications/beta/examples/Restart-MgBetaServicePrincipalSynchronizationJob.md deleted file mode 100644 index 254801ef43..0000000000 --- a/src/Beta.Applications/beta/examples/Restart-MgBetaServicePrincipalSynchronizationJob.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - criteria = @{ - resetScope = "Watermark, Escrows, QuarantineState" - } -} - -Restart-MgBetaServicePrincipalSynchronizationJob -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId -BodyParameter $params - -``` -This example shows how to use the Restart-MgBetaServicePrincipalSynchronizationJob Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Set-MgBetaApplicationVerifiedPublisher.md b/src/Beta.Applications/beta/examples/Set-MgBetaApplicationVerifiedPublisher.md deleted file mode 100644 index 4a9efe5247..0000000000 --- a/src/Beta.Applications/beta/examples/Set-MgBetaApplicationVerifiedPublisher.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - verifiedPublisherId = "1234567" -} - -Set-MgBetaApplicationVerifiedPublisher -ApplicationId $applicationId -BodyParameter $params - -``` -This example shows how to use the Set-MgBetaApplicationVerifiedPublisher Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Start-MgBetaApplicationSynchronizationJob.md b/src/Beta.Applications/beta/examples/Start-MgBetaApplicationSynchronizationJob.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Start-MgBetaApplicationSynchronizationJob.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Start-MgBetaServicePrincipalSynchronizationJob.md b/src/Beta.Applications/beta/examples/Start-MgBetaServicePrincipalSynchronizationJob.md deleted file mode 100644 index c35e4096ce..0000000000 --- a/src/Beta.Applications/beta/examples/Start-MgBetaServicePrincipalSynchronizationJob.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Start-MgBetaServicePrincipalSynchronizationJob -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId - -``` -This example shows how to use the Start-MgBetaServicePrincipalSynchronizationJob Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Suspend-MgBetaApplicationSynchronizationJob.md b/src/Beta.Applications/beta/examples/Suspend-MgBetaApplicationSynchronizationJob.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Suspend-MgBetaApplicationSynchronizationJob.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Suspend-MgBetaServicePrincipalSynchronizationJob.md b/src/Beta.Applications/beta/examples/Suspend-MgBetaServicePrincipalSynchronizationJob.md deleted file mode 100644 index c149b90e6c..0000000000 --- a/src/Beta.Applications/beta/examples/Suspend-MgBetaServicePrincipalSynchronizationJob.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Suspend-MgBetaServicePrincipalSynchronizationJob -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId - -``` -This example shows how to use the Suspend-MgBetaServicePrincipalSynchronizationJob Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Test-MgBetaApplicationProperty.md b/src/Beta.Applications/beta/examples/Test-MgBetaApplicationProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Test-MgBetaApplicationProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Test-MgBetaApplicationSynchronizationJobCredential.md b/src/Beta.Applications/beta/examples/Test-MgBetaApplicationSynchronizationJobCredential.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Test-MgBetaApplicationSynchronizationJobCredential.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Test-MgBetaServicePrincipalProperty.md b/src/Beta.Applications/beta/examples/Test-MgBetaServicePrincipalProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Test-MgBetaServicePrincipalProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Test-MgBetaServicePrincipalSynchronizationJobCredential.md b/src/Beta.Applications/beta/examples/Test-MgBetaServicePrincipalSynchronizationJobCredential.md deleted file mode 100644 index c2bc084325..0000000000 --- a/src/Beta.Applications/beta/examples/Test-MgBetaServicePrincipalSynchronizationJobCredential.md +++ /dev/null @@ -1,24 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - credentials = @( - @{ - key = "UserName" - value = "user@domain.com" - } - @{ - key = "Password" - value = "password-value" - } - ) -} - -Test-MgBetaServicePrincipalSynchronizationJobCredential -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId -BodyParameter $params - -``` -This example shows how to use the Test-MgBetaServicePrincipalSynchronizationJobCredential Cmdlet. - diff --git a/src/Beta.Applications/beta/examples/Update-MgBetaApplication.md b/src/Beta.Applications/beta/examples/Update-MgBetaApplication.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Update-MgBetaApplication.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Update-MgBetaApplicationByAppId.md b/src/Beta.Applications/beta/examples/Update-MgBetaApplicationByAppId.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Update-MgBetaApplicationByAppId.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Update-MgBetaApplicationByUniqueName.md b/src/Beta.Applications/beta/examples/Update-MgBetaApplicationByUniqueName.md deleted file mode 100644 index e2329abd6d..0000000000 --- a/src/Beta.Applications/beta/examples/Update-MgBetaApplicationByUniqueName.md +++ /dev/null @@ -1,30 +0,0 @@ -### Example 1: Create a new application if it doesn't exist - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - displayName = "Display name" -} - -Update-MgBetaApplicationByUniqueName -BodyParameter $params - -``` -This example will create a new application if it doesn't exist - -### Example 2: Update an existing application - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - displayName = "Display name" -} - -Update-MgBetaApplicationByUniqueName -BodyParameter $params - -``` -This example will update an existing application - diff --git a/src/Beta.Applications/beta/examples/Update-MgBetaServicePrincipal.md b/src/Beta.Applications/beta/examples/Update-MgBetaServicePrincipal.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Applications/beta/examples/Update-MgBetaServicePrincipal.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Applications/beta/examples/Update-MgBetaServicePrincipalByAppId.md b/src/Beta.Applications/beta/examples/Update-MgBetaServicePrincipalByAppId.md deleted file mode 100644 index af0aac382b..0000000000 --- a/src/Beta.Applications/beta/examples/Update-MgBetaServicePrincipalByAppId.md +++ /dev/null @@ -1,30 +0,0 @@ -### Example 1: Create a new servicePrincipal if it doesn't exist - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - displayName = "My app instance" -} - -Update-MgBetaServicePrincipalByAppId -BodyParameter $params - -``` -This example will create a new serviceprincipal if it doesn't exist - -### Example 2: Update an existing servicePrincipal - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - displayName = "My app instance" -} - -Update-MgBetaServicePrincipalByAppId -BodyParameter $params - -``` -This example will update an existing serviceprincipal - diff --git a/src/Beta.Applications/beta/examples/Update-MgBetaServicePrincipalPasswordSingleSignOnCredential.md b/src/Beta.Applications/beta/examples/Update-MgBetaServicePrincipalPasswordSingleSignOnCredential.md deleted file mode 100644 index 1c4e9d0682..0000000000 --- a/src/Beta.Applications/beta/examples/Update-MgBetaServicePrincipalPasswordSingleSignOnCredential.md +++ /dev/null @@ -1,27 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -$params = @{ - id = "5793aa3b-cca9-4794-679a240f8b58" - credentials = @( - @{ - fieldId = "param_username" - value = "myusername" - type = "username" - } - @{ - fieldId = "param_password" - value = "pa$$w0rd" - type = "password" - } - ) -} - -Update-MgBetaServicePrincipalPasswordSingleSignOnCredential -ServicePrincipalId $servicePrincipalId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaServicePrincipalPasswordSingleSignOnCredential Cmdlet. - diff --git a/src/Beta.Bookings/beta/examples/Get-MgBetaBookingBusinessStaffAvailability.md b/src/Beta.Bookings/beta/examples/Get-MgBetaBookingBusinessStaffAvailability.md deleted file mode 100644 index b0c2df41e3..0000000000 --- a/src/Beta.Bookings/beta/examples/Get-MgBetaBookingBusinessStaffAvailability.md +++ /dev/null @@ -1,25 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Bookings - -$params = @{ - staffIds = @( - "311a5454-08b2-4560-ba1c-f715e938cb79" -) -startDateTime = @{ - dateTime = "2022-01-25T00:00:00" - timeZone = "India Standard Time" -} -endDateTime = @{ - dateTime = "2022-01-26T17:00:00" - timeZone = "Pacific Standard Time" -} -} - -Get-MgBetaBookingBusinessStaffAvailability -BookingBusinessId $bookingBusinessId -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaBookingBusinessStaffAvailability Cmdlet. - diff --git a/src/Beta.Bookings/beta/examples/Get-MgBetaBusinessScenarioPlannerPlan.md b/src/Beta.Bookings/beta/examples/Get-MgBetaBusinessScenarioPlannerPlan.md deleted file mode 100644 index 6a82787b71..0000000000 --- a/src/Beta.Bookings/beta/examples/Get-MgBetaBusinessScenarioPlannerPlan.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Bookings - -$params = @{ - target = @{ - "@odata.type" = "microsoft.graph.businessScenarioGroupTarget" - taskTargetKind = "group" - groupId = "7a339254-4b2b-4410-b295-c890a16776ee" - } -} - -Get-MgBetaBusinessScenarioPlannerPlan -BusinessScenarioId $businessScenarioId -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaBusinessScenarioPlannerPlan Cmdlet. - diff --git a/src/Beta.Bookings/beta/examples/Get-MgBetaVirtualEventWebinarByUserIdAndRole.md b/src/Beta.Bookings/beta/examples/Get-MgBetaVirtualEventWebinarByUserIdAndRole.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Bookings/beta/examples/Get-MgBetaVirtualEventWebinarByUserIdAndRole.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Bookings/beta/examples/Get-MgBetaVirtualEventWebinarByUserRole.md b/src/Beta.Bookings/beta/examples/Get-MgBetaVirtualEventWebinarByUserRole.md deleted file mode 100644 index 1e844afee2..0000000000 --- a/src/Beta.Bookings/beta/examples/Get-MgBetaVirtualEventWebinarByUserRole.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Bookings - -Get-MgBetaVirtualEventWebinarByUserRole -Role $roleId - -``` -This example shows how to use the Get-MgBetaVirtualEventWebinarByUserRole Cmdlet. - diff --git a/src/Beta.Bookings/beta/examples/Publish-MgBetaBookingBusiness.md b/src/Beta.Bookings/beta/examples/Publish-MgBetaBookingBusiness.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Bookings/beta/examples/Stop-MgBetaBookingBusinessAppointment.md b/src/Beta.Bookings/beta/examples/Stop-MgBetaBookingBusinessAppointment.md deleted file mode 100644 index 30e4f22ff6..0000000000 --- a/src/Beta.Bookings/beta/examples/Stop-MgBetaBookingBusinessAppointment.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Bookings - -$params = @{ - cancellationMessage = "Your appointment has been successfully cancelled. Please call us again." -} - -Stop-MgBetaBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId -BodyParameter $params - -``` -This example shows how to use the Stop-MgBetaBookingBusinessAppointment Cmdlet. - diff --git a/src/Beta.Bookings/beta/examples/Stop-MgBetaBookingBusinessCalendarView.md b/src/Beta.Bookings/beta/examples/Stop-MgBetaBookingBusinessCalendarView.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Bookings/beta/examples/Stop-MgBetaBookingBusinessCalendarView.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Bookings/beta/examples/Unpublish-MgBetaBookingBusiness.md b/src/Beta.Bookings/beta/examples/Unpublish-MgBetaBookingBusiness.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Calendar/beta/examples/Update-MgBetaPlace.md b/src/Beta.Calendar/beta/examples/Update-MgBetaPlace.md deleted file mode 100644 index 1b69ff0639..0000000000 --- a/src/Beta.Calendar/beta/examples/Update-MgBetaPlace.md +++ /dev/null @@ -1,40 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Calendar - -$params = @{ - "@odata.type" = "microsoft.graph.room" - nickname = "Conf Room" - building = "1" - label = "100" - capacity = - isWheelChairAccessible = $false -} - -Update-MgBetaPlace -PlaceId $placeId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaPlace Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Calendar - -$params = @{ - "@odata.type" = "microsoft.graph.workspace" - nickname = "Conf Room" - building = "1" - label = "100" - capacity = - isWheelChairAccessible = $false -} - -Update-MgBetaPlace -PlaceId $placeId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaPlace Cmdlet. - diff --git a/src/Beta.Calendar/beta/examples/Update-MgBetaPlaceByPlaceId.md b/src/Beta.Calendar/beta/examples/Update-MgBetaPlaceByPlaceId.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Calendar/beta/examples/Update-MgBetaPlaceByPlaceId.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.ChangeNotifications/beta/examples/Get-MgBetaSubscription.md b/src/Beta.ChangeNotifications/beta/examples/Get-MgBetaSubscription.md deleted file mode 100644 index 15509ad5eb..0000000000 --- a/src/Beta.ChangeNotifications/beta/examples/Get-MgBetaSubscription.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.ChangeNotifications - -Get-MgBetaSubscription -SubscriptionId $subscriptionId - -``` -This example shows how to use the Get-MgBetaSubscription Cmdlet. - diff --git a/src/Beta.ChangeNotifications/beta/examples/Invoke-MgBetaReauthorizeSubscription.md b/src/Beta.ChangeNotifications/beta/examples/Invoke-MgBetaReauthorizeSubscription.md deleted file mode 100644 index 793e5d56ae..0000000000 --- a/src/Beta.ChangeNotifications/beta/examples/Invoke-MgBetaReauthorizeSubscription.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.ChangeNotifications - -Invoke-MgBetaReauthorizeSubscription -SubscriptionId $subscriptionId - -``` -This example shows how to use the Invoke-MgBetaReauthorizeSubscription Cmdlet. - diff --git a/src/Beta.ChangeNotifications/beta/examples/New-MgBetaSubscription.md b/src/Beta.ChangeNotifications/beta/examples/New-MgBetaSubscription.md deleted file mode 100644 index 70a7f2f2e8..0000000000 --- a/src/Beta.ChangeNotifications/beta/examples/New-MgBetaSubscription.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.ChangeNotifications - -$params = @{ - changeType = "created" - notificationUrl = "https://webhook.azurewebsites.net/api/send/myNotifyClient" - resource = "me/mailFolders('Inbox')/messages" - expirationDateTime = [System.DateTime]::Parse("2016-11-20T18:23:45.9356913Z") - clientState = "secretClientValue" - latestSupportedTlsVersion = "v1_2" -} - -New-MgBetaSubscription -BodyParameter $params - -``` -This example shows how to use the New-MgBetaSubscription Cmdlet. - diff --git a/src/Beta.ChangeNotifications/beta/examples/Remove-MgBetaSubscription.md b/src/Beta.ChangeNotifications/beta/examples/Remove-MgBetaSubscription.md deleted file mode 100644 index 926d5e2d04..0000000000 --- a/src/Beta.ChangeNotifications/beta/examples/Remove-MgBetaSubscription.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.ChangeNotifications - -Remove-MgBetaSubscription -SubscriptionId $subscriptionId - -``` -This example shows how to use the Remove-MgBetaSubscription Cmdlet. - diff --git a/src/Beta.ChangeNotifications/beta/examples/Update-MgBetaSubscription.md b/src/Beta.ChangeNotifications/beta/examples/Update-MgBetaSubscription.md deleted file mode 100644 index 8408964e1c..0000000000 --- a/src/Beta.ChangeNotifications/beta/examples/Update-MgBetaSubscription.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.ChangeNotifications - -$params = @{ - expirationDateTime = [System.DateTime]::Parse("2016-11-22T18:23:45.9356913Z") -} - -Update-MgBetaSubscription -SubscriptionId $subscriptionId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaSubscription Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Add-MgBetaCommunicationCallLargeGalleryView.md b/src/Beta.CloudCommunications/beta/examples/Add-MgBetaCommunicationCallLargeGalleryView.md deleted file mode 100644 index b64edf4d03..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Add-MgBetaCommunicationCallLargeGalleryView.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - clientContext = "785f4929-92ca-497b-863f-c778c77c9758" -} - -Add-MgBetaCommunicationCallLargeGalleryView -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaCommunicationCallLargeGalleryView Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Clear-MgBetaCommunicationPresence.md b/src/Beta.CloudCommunications/beta/examples/Clear-MgBetaCommunicationPresence.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Clear-MgBetaCommunicationPresence.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Clear-MgBetaCommunicationPresenceUserPreferredPresence.md b/src/Beta.CloudCommunications/beta/examples/Clear-MgBetaCommunicationPresenceUserPreferredPresence.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Clear-MgBetaCommunicationPresenceUserPreferredPresence.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingJoinWebUrlVirtualAppointmentJoinWebUrl.md b/src/Beta.CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingJoinWebUrlVirtualAppointmentJoinWebUrl.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingJoinWebUrlVirtualAppointmentJoinWebUrl.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingVirtualAppointmentJoinWebUrl.md b/src/Beta.CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingVirtualAppointmentJoinWebUrl.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingVirtualAppointmentJoinWebUrl.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Get-MgBetaCommunicationPresenceByUserId.md b/src/Beta.CloudCommunications/beta/examples/Get-MgBetaCommunicationPresenceByUserId.md deleted file mode 100644 index 33d16683c1..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Get-MgBetaCommunicationPresenceByUserId.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - ids = @( - "fa8bf3dc-eca7-46b7-bad1-db199b62afc3" -"66825e03-7ef5-42da-9069-724602c31f6b" -) -} - -Get-MgBetaCommunicationPresenceByUserId -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaCommunicationPresenceByUserId Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaAnswerCommunicationCall.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaAnswerCommunicationCall.md deleted file mode 100644 index 3b4eae69bf..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaAnswerCommunicationCall.md +++ /dev/null @@ -1,49 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - callbackUri = "callbackUri-value" - mediaConfig = @{ - "@odata.type" = "#microsoft.graph.appHostedMediaConfig" - blob = "" - } - acceptedModalities = @( - "audio" -) -callOptions = @{ - "@odata.type" = "#microsoft.graph.incomingCallOptions" - isContentSharingNotificationEnabled = $true -} -participantCapacity = 200 -} - -Invoke-MgBetaAnswerCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaAnswerCommunicationCall Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - callbackUri = "https://bot.contoso.com/api/calls" - acceptedModalities = @( - "audio" -) -mediaConfig = @{ - "@odata.type" = "#microsoft.graph.appHostedMediaConfig" - blob = "" -} -} - -Invoke-MgBetaAnswerCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaAnswerCommunicationCall Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaCreateOrGetCommunicationOnlineMeeting.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaCreateOrGetCommunicationOnlineMeeting.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaCreateOrGetCommunicationOnlineMeeting.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaInviteCommunicationCallParticipant.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaInviteCommunicationCallParticipant.md deleted file mode 100644 index 02ed11e743..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaInviteCommunicationCallParticipant.md +++ /dev/null @@ -1,29 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - participants = @( - @{ - "@odata.type" = "#microsoft.graph.invitationParticipantInfo" - identity = @{ - "@odata.type" = "#microsoft.graph.identitySet" - user = @{ - "@odata.type" = "#microsoft.graph.identity" - id = "278405a3-f568-4b3e-b684-009193463064" - identityProvider = "AAD" - } - } - participantId = "a7ebfb2d-871e-419c-87af-27290b22e8db" - } - ) - clientContext = "f2fa86af-3c51-4bc2-8fc0-475452d9764f" -} - -Invoke-MgBetaInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaInviteCommunicationCallParticipant Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaKeepCommunicationCallAlive.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaKeepCommunicationCallAlive.md deleted file mode 100644 index ec512b98fc..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaKeepCommunicationCallAlive.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -Invoke-MgBetaKeepCommunicationCallAlive -CallId $callId - -``` -This example shows how to use the Invoke-MgBetaKeepCommunicationCallAlive Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaLogCommunicationCallTeleconferenceDeviceQuality.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaLogCommunicationCallTeleconferenceDeviceQuality.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaMuteAllCommunicationCallParticipant.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaMuteAllCommunicationCallParticipant.md deleted file mode 100644 index 2a18d3ea78..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaMuteAllCommunicationCallParticipant.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - participants = @( - "" -) -clientContext = "clientContext-value" -} - -Invoke-MgBetaMuteAllCommunicationCallParticipant -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaMuteAllCommunicationCallParticipant Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaMuteCommunicationCall.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaMuteCommunicationCall.md deleted file mode 100644 index 7ca0c9ba2d..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaMuteCommunicationCall.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - clientContext = "clientContext-value" -} - -Invoke-MgBetaMuteCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaMuteCommunicationCall Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaMuteCommunicationCallParticipant.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaMuteCommunicationCallParticipant.md deleted file mode 100644 index d052856ec2..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaMuteCommunicationCallParticipant.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - clientContext = "d45324c1-fcb5-430a-902c-f20af696537c" -} - -Invoke-MgBetaMuteCommunicationCallParticipant -CallId $callId -ParticipantId $participantId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaMuteCommunicationCallParticipant Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaPlayCommunicationCallPrompt.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaPlayCommunicationCallPrompt.md deleted file mode 100644 index e6ef259bbc..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaPlayCommunicationCallPrompt.md +++ /dev/null @@ -1,26 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - clientContext = "d45324c1-fcb5-430a-902c-f20af696537c" - prompts = @( - @{ - "@odata.type" = "#microsoft.graph.mediaPrompt" - mediaInfo = @{ - "@odata.type" = "#microsoft.graph.mediaInfo" - uri = "https://cdn.contoso.com/beep.wav" - resourceId = "1D6DE2D4-CD51-4309-8DAA-70768651088E" - } - } - ) - loop = $false -} - -Invoke-MgBetaPlayCommunicationCallPrompt -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaPlayCommunicationCallPrompt Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaRecordCommunicationCallResponse.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaRecordCommunicationCallResponse.md deleted file mode 100644 index 28d9b42948..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaRecordCommunicationCallResponse.md +++ /dev/null @@ -1,34 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - bargeInAllowed = $true - clientContext = "d45324c1-fcb5-430a-902c-f20af696537c" - prompts = @( - @{ - "@odata.type" = "#microsoft.graph.mediaPrompt" - mediaInfo = @{ - uri = "https://cdn.contoso.com/beep.wav" - resourceId = "1D6DE2D4-CD51-4309-8DAA-70768651088E" - } - } - ) - maxRecordDurationInSeconds = 10 - initialSilenceTimeoutInSeconds = 5 - maxSilenceTimeoutInSeconds = 2 - playBeep = $true - stopTones = @( - "#" -"1" -"*" -) -} - -Invoke-MgBetaRecordCommunicationCallResponse -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaRecordCommunicationCallResponse Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaRedirectCommunicationCall.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaRedirectCommunicationCall.md deleted file mode 100644 index a3428c539a..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaRedirectCommunicationCall.md +++ /dev/null @@ -1,27 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - targets = @( - @{ - "@odata.type" = "#microsoft.graph.invitationParticipantInfo" - identity = @{ - "@odata.type" = "#microsoft.graph.identitySet" - phone = @{ - "@odata.type" = "#microsoft.graph.identity" - id = "+12345678901" - } - } - } - ) - callbackUri = "https://bot.contoso.com/api/calls/24701998-1a73-4d42-8085-bf46ed0ae039" -} - -Invoke-MgBetaRedirectCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaRedirectCommunicationCall Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaRejectCommunicationCall.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaRejectCommunicationCall.md deleted file mode 100644 index 763fb10a4c..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaRejectCommunicationCall.md +++ /dev/null @@ -1,30 +0,0 @@ -### Example 1: Reject an incoming call with 'Busy' reason - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - reason = "busy" -} - -Invoke-MgBetaRejectCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example will reject an incoming call with 'busy' reason - -### Example 2: Reject an incoming call with 'None' reason - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - reason = "none" -} - -Invoke-MgBetaRejectCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example will reject an incoming call with 'none' reason - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaSubscribeCommunicationCallToTone.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaSubscribeCommunicationCallToTone.md deleted file mode 100644 index 710465606c..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaSubscribeCommunicationCallToTone.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - clientContext = "fd1c7836-4d84-4e24-b6aa-23188688cc54" -} - -Invoke-MgBetaSubscribeCommunicationCallToTone -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaSubscribeCommunicationCallToTone Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaUnmuteCommunicationCall.md b/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaUnmuteCommunicationCall.md deleted file mode 100644 index 4e2704f743..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Invoke-MgBetaUnmuteCommunicationCall.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - clientContext = "clientContext-value" -} - -Invoke-MgBetaUnmuteCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaUnmuteCommunicationCall Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Move-MgBetaCommunicationCall.md b/src/Beta.CloudCommunications/beta/examples/Move-MgBetaCommunicationCall.md deleted file mode 100644 index b366a7184b..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Move-MgBetaCommunicationCall.md +++ /dev/null @@ -1,144 +0,0 @@ -### Example 1: Call transfer from a peer-to-peer call - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - transferTarget = @{ - endpointType = "default" - identity = @{ - user = @{ - id = "550fae72-d251-43ec-868c-373732c2704f" - tenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47" - displayName = "Heidi Steen" - } - } - languageId = "languageId-value" - region = "region-value" - } -} - -Move-MgBetaCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example will call transfer from a peer-to-peer call - -### Example 2: Consultative transfer from a peer-to-peer call - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - transferTarget = @{ - "@odata.type" = "#microsoft.graph.invitationParticipantInfo" - endpointType = "default" - identity = @{ - "@odata.type" = "#microsoft.graph.identitySet" - user = @{ - "@odata.type" = "#microsoft.graph.identity" - id = "550fae72-d251-43ec-868c-373732c2704f" - tenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47" - displayName = "Heidi Steen" - } - } - languageId = "en-us" - region = "amer" - replacesCallId = "e5d39592-99bd-4db8-bca8-30fb894ec51d" - } -} - -Move-MgBetaCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example will consultative transfer from a peer-to-peer call - -### Example 3: Call transfer from a peer-to-peer call to PSTN number - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - transferTarget = @{ - endpointType = "default" - identity = @{ - phone = @{ - "@odata.type" = "#microsoft.graph.identity" - id = "+12345678901" - } - } - languageId = "languageId-value" - region = "region-value" - } -} - -Move-MgBetaCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example will call transfer from a peer-to-peer call to pstn number - -### Example 4: Consultative transfer from a peer-to-peer call to PSTN number - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - transferTarget = @{ - "@odata.type" = "#microsoft.graph.invitationParticipantInfo" - endpointType = "default" - identity = @{ - "@odata.type" = "#microsoft.graph.identitySet" - phone = @{ - "@odata.type" = "#microsoft.graph.identity" - id = "+12345678901" - } - } - languageId = "en-us" - region = "amer" - replacesCallId = "e5d39592-99bd-4db8-bca8-30fb894ec51d" - } -} - -Move-MgBetaCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example will consultative transfer from a peer-to-peer call to pstn number - -### Example 5: Call transfer from a group call - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - transferTarget = @{ - endpointType = "default" - identity = @{ - user = @{ - id = "550fae72-d251-43ec-868c-373732c2704f" - tenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47" - displayName = "Heidi Steen" - } - } - } - transferee = @{ - identity = @{ - user = @{ - id = "751f6800-3180-414d-bd94-333364659951" - tenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47" - } - } - participantId = "909c6581-5130-43e9-88f3-fcb3582cde37" - } - languageId = "languageId-value" - region = "region-value" -} - -Move-MgBetaCommunicationCall -CallId $callId -BodyParameter $params - -``` -This example will call transfer from a group call - diff --git a/src/Beta.CloudCommunications/beta/examples/Rename-MgBetaCommunicationCallScreenSharingRole.md b/src/Beta.CloudCommunications/beta/examples/Rename-MgBetaCommunicationCallScreenSharingRole.md deleted file mode 100644 index 6b2331a326..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Rename-MgBetaCommunicationCallScreenSharingRole.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - role = "viewer" -} - -Rename-MgBetaCommunicationCallScreenSharingRole -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Rename-MgBetaCommunicationCallScreenSharingRole Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingJoinWebUrlVirtualAppointmentReminderSm.md b/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingJoinWebUrlVirtualAppointmentReminderSm.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingJoinWebUrlVirtualAppointmentReminderSm.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingJoinWebUrlVirtualAppointmentSm.md b/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingJoinWebUrlVirtualAppointmentSm.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingJoinWebUrlVirtualAppointmentSm.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingVirtualAppointmentReminderSm.md b/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingVirtualAppointmentReminderSm.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingVirtualAppointmentReminderSm.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingVirtualAppointmentSm.md b/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingVirtualAppointmentSm.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Send-MgBetaCommunicationOnlineMeetingVirtualAppointmentSm.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Set-MgBetaCommunicationPresence.md b/src/Beta.CloudCommunications/beta/examples/Set-MgBetaCommunicationPresence.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Set-MgBetaCommunicationPresence.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Set-MgBetaCommunicationPresenceStatusMessage.md b/src/Beta.CloudCommunications/beta/examples/Set-MgBetaCommunicationPresenceStatusMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Set-MgBetaCommunicationPresenceStatusMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Set-MgBetaCommunicationPresenceUserPreferredPresence.md b/src/Beta.CloudCommunications/beta/examples/Set-MgBetaCommunicationPresenceUserPreferredPresence.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Set-MgBetaCommunicationPresenceUserPreferredPresence.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.CloudCommunications/beta/examples/Start-MgBetaCommunicationCallParticipantHoldMusic.md b/src/Beta.CloudCommunications/beta/examples/Start-MgBetaCommunicationCallParticipantHoldMusic.md deleted file mode 100644 index 7db3efaf88..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Start-MgBetaCommunicationCallParticipantHoldMusic.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - customPrompt = @{ - "@odata.type" = "#microsoft.graph.mediaPrompt" - mediaInfo = @{ - "@odata.type" = "#microsoft.graph.mediaInfo" - uri = "https://bot.contoso.com/onHold.wav" - } - } - clientContext = "d45324c1-fcb5-430a-902c-f20af696537c" -} - -Start-MgBetaCommunicationCallParticipantHoldMusic -CallId $callId -ParticipantId $participantId -BodyParameter $params - -``` -This example shows how to use the Start-MgBetaCommunicationCallParticipantHoldMusic Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Stop-MgBetaCommunicationCallMediaProcessing.md b/src/Beta.CloudCommunications/beta/examples/Stop-MgBetaCommunicationCallMediaProcessing.md deleted file mode 100644 index 309045e2f4..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Stop-MgBetaCommunicationCallMediaProcessing.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - clientContext = "clientContext-value" -} - -Stop-MgBetaCommunicationCallMediaProcessing -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Stop-MgBetaCommunicationCallMediaProcessing Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Stop-MgBetaCommunicationCallParticipantHoldMusic.md b/src/Beta.CloudCommunications/beta/examples/Stop-MgBetaCommunicationCallParticipantHoldMusic.md deleted file mode 100644 index 8a045eee49..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Stop-MgBetaCommunicationCallParticipantHoldMusic.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - clientContext = "d45324c1-fcb5-430a-902c-f20af696537c" -} - -Stop-MgBetaCommunicationCallParticipantHoldMusic -CallId $callId -ParticipantId $participantId -BodyParameter $params - -``` -This example shows how to use the Stop-MgBetaCommunicationCallParticipantHoldMusic Cmdlet. - diff --git a/src/Beta.CloudCommunications/beta/examples/Update-MgBetaCommunicationCallRecordingStatus.md b/src/Beta.CloudCommunications/beta/examples/Update-MgBetaCommunicationCallRecordingStatus.md deleted file mode 100644 index 55b3b49ecb..0000000000 --- a/src/Beta.CloudCommunications/beta/examples/Update-MgBetaCommunicationCallRecordingStatus.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.CloudCommunications - -$params = @{ - clientContext = "clientContext-value" - status = "notRecording | recording | failed" -} - -Update-MgBetaCommunicationCallRecordingStatus -CallId $callId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaCommunicationCallRecordingStatus Cmdlet. - diff --git a/src/Beta.Compliance/beta/examples/Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag.md b/src/Beta.Compliance/beta/examples/Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag.md deleted file mode 100644 index f97c188f7c..0000000000 --- a/src/Beta.Compliance/beta/examples/Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Compliance - -$params = @{ - tagsToAdd = @( - @{ - id = "b4798d14-748d-468e-a1ec-96a2b1d49677" - } - ) -} - -Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag -CaseId $caseId -ReviewSetId $reviewSetId -ReviewSetQueryId $reviewSetQueryId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag Cmdlet. - diff --git a/src/Beta.Compliance/beta/examples/Add-MgBetaComplianceEdiscoveryCaseReviewSetToReviewSet.md b/src/Beta.Compliance/beta/examples/Add-MgBetaComplianceEdiscoveryCaseReviewSetToReviewSet.md deleted file mode 100644 index 6846eedb13..0000000000 --- a/src/Beta.Compliance/beta/examples/Add-MgBetaComplianceEdiscoveryCaseReviewSetToReviewSet.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Compliance - -$params = @{ - sourceCollection = @{ - id = "1a9b4145d8f84e39bc45a7f68c5c5119" - } - additionalData = "linkedFiles" -} - -Add-MgBetaComplianceEdiscoveryCaseReviewSetToReviewSet -CaseId $caseId -ReviewSetId $reviewSetId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaComplianceEdiscoveryCaseReviewSetToReviewSet Cmdlet. - diff --git a/src/Beta.Compliance/beta/examples/Clear-MgBetaComplianceEdiscoveryCaseSourceCollectionData.md b/src/Beta.Compliance/beta/examples/Clear-MgBetaComplianceEdiscoveryCaseSourceCollectionData.md deleted file mode 100644 index fc30c919d6..0000000000 --- a/src/Beta.Compliance/beta/examples/Clear-MgBetaComplianceEdiscoveryCaseSourceCollectionData.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Compliance - -Clear-MgBetaComplianceEdiscoveryCaseSourceCollectionData -CaseId $caseId -SourceCollectionId $sourceCollectionId - -``` -This example shows how to use the Clear-MgBetaComplianceEdiscoveryCaseSourceCollectionData Cmdlet. - diff --git a/src/Beta.Compliance/beta/examples/Close-MgBetaComplianceEdiscoveryCase.md b/src/Beta.Compliance/beta/examples/Close-MgBetaComplianceEdiscoveryCase.md deleted file mode 100644 index 481510f8ee..0000000000 --- a/src/Beta.Compliance/beta/examples/Close-MgBetaComplianceEdiscoveryCase.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Compliance - -Close-MgBetaComplianceEdiscoveryCase -CaseId $caseId - -``` -This example shows how to use the Close-MgBetaComplianceEdiscoveryCase Cmdlet. - diff --git a/src/Beta.Compliance/beta/examples/Export-MgBetaComplianceEdiscoveryCaseReviewSet.md b/src/Beta.Compliance/beta/examples/Export-MgBetaComplianceEdiscoveryCaseReviewSet.md deleted file mode 100644 index 8f8d4058f9..0000000000 --- a/src/Beta.Compliance/beta/examples/Export-MgBetaComplianceEdiscoveryCaseReviewSet.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Compliance - -$params = @{ - outputName = "2020-12-06 Contoso investigation export" - description = "Export for the Contoso investigation" - exportOptions = "originalFiles,fileInfo,tags" - exportStructure = "directory" -} - -Export-MgBetaComplianceEdiscoveryCaseReviewSet -CaseId $caseId -ReviewSetId $reviewSetId -BodyParameter $params - -``` -This example shows how to use the Export-MgBetaComplianceEdiscoveryCaseReviewSet Cmdlet. - diff --git a/src/Beta.Compliance/beta/examples/Initialize-MgBetaComplianceEdiscoveryCaseCustodian.md b/src/Beta.Compliance/beta/examples/Initialize-MgBetaComplianceEdiscoveryCaseCustodian.md deleted file mode 100644 index 90fbf811d7..0000000000 --- a/src/Beta.Compliance/beta/examples/Initialize-MgBetaComplianceEdiscoveryCaseCustodian.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Compliance - -Initialize-MgBetaComplianceEdiscoveryCaseCustodian -CaseId $caseId -CustodianId $custodianId - -``` -This example shows how to use the Initialize-MgBetaComplianceEdiscoveryCaseCustodian Cmdlet. - diff --git a/src/Beta.Compliance/beta/examples/Invoke-MgBetaEstimateComplianceEdiscoveryCaseSourceCollectionStatistics.md b/src/Beta.Compliance/beta/examples/Invoke-MgBetaEstimateComplianceEdiscoveryCaseSourceCollectionStatistics.md deleted file mode 100644 index ffbdcad054..0000000000 --- a/src/Beta.Compliance/beta/examples/Invoke-MgBetaEstimateComplianceEdiscoveryCaseSourceCollectionStatistics.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Compliance - -Invoke-MgBetaEstimateComplianceEdiscoveryCaseSourceCollectionStatistics -CaseId $caseId -SourceCollectionId $sourceCollectionId - -``` -This example shows how to use the Invoke-MgBetaEstimateComplianceEdiscoveryCaseSourceCollectionStatistics Cmdlet. - diff --git a/src/Beta.Compliance/beta/examples/Invoke-MgBetaReopenComplianceEdiscoveryCase.md b/src/Beta.Compliance/beta/examples/Invoke-MgBetaReopenComplianceEdiscoveryCase.md deleted file mode 100644 index b75091fc08..0000000000 --- a/src/Beta.Compliance/beta/examples/Invoke-MgBetaReopenComplianceEdiscoveryCase.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Compliance - -Invoke-MgBetaReopenComplianceEdiscoveryCase -CaseId $caseId - -``` -This example shows how to use the Invoke-MgBetaReopenComplianceEdiscoveryCase Cmdlet. - diff --git a/src/Beta.Compliance/beta/examples/Publish-MgBetaComplianceEdiscoveryCaseCustodian.md b/src/Beta.Compliance/beta/examples/Publish-MgBetaComplianceEdiscoveryCaseCustodian.md deleted file mode 100644 index 300907bb02..0000000000 --- a/src/Beta.Compliance/beta/examples/Publish-MgBetaComplianceEdiscoveryCaseCustodian.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Compliance - -Publish-MgBetaComplianceEdiscoveryCaseCustodian -CaseId $caseId -CustodianId $custodianId - -``` -This example shows how to use the Publish-MgBetaComplianceEdiscoveryCaseCustodian Cmdlet. - diff --git a/src/Beta.Compliance/beta/examples/Publish-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource.md b/src/Beta.Compliance/beta/examples/Publish-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource.md deleted file mode 100644 index 73119138b3..0000000000 --- a/src/Beta.Compliance/beta/examples/Publish-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Compliance - -Publish-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource -CaseId $caseId -NoncustodialDataSourceId $noncustodialDataSourceId - -``` -This example shows how to use the Publish-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource Cmdlet. - diff --git a/src/Beta.Compliance/beta/examples/Reset-MgBetaComplianceEdiscoveryCaseSettingToDefault.md b/src/Beta.Compliance/beta/examples/Reset-MgBetaComplianceEdiscoveryCaseSettingToDefault.md deleted file mode 100644 index cc24aeef9a..0000000000 --- a/src/Beta.Compliance/beta/examples/Reset-MgBetaComplianceEdiscoveryCaseSettingToDefault.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Compliance - -Reset-MgBetaComplianceEdiscoveryCaseSettingToDefault -CaseId $caseId - -``` -This example shows how to use the Reset-MgBetaComplianceEdiscoveryCaseSettingToDefault Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Add-MgBetaDeviceManagementVirtualEndpointProvisioningPolicy.md b/src/Beta.DeviceManagement.Actions/beta/examples/Add-MgBetaDeviceManagementVirtualEndpointProvisioningPolicy.md deleted file mode 100644 index 1df64a0c09..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Add-MgBetaDeviceManagementVirtualEndpointProvisioningPolicy.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - policySettings = "region" -} - -Add-MgBetaDeviceManagementVirtualEndpointProvisioningPolicy -CloudPcProvisioningPolicyId $cloudPcProvisioningPolicyId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaDeviceManagementVirtualEndpointProvisioningPolicy Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Add-MgBetaDeviceManagementVirtualEndpointProvisioningPolicyConfig.md b/src/Beta.DeviceManagement.Actions/beta/examples/Add-MgBetaDeviceManagementVirtualEndpointProvisioningPolicyConfig.md deleted file mode 100644 index f6781167be..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Add-MgBetaDeviceManagementVirtualEndpointProvisioningPolicyConfig.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - cloudPcIds = @( - "52aa2645-36ee-47d2-9eb3-b8fbb17c3fc4" -"ff117b6c-e3e6-41be-9cae-eb6743249a30" -) -policySettings = "region" -} - -Add-MgBetaDeviceManagementVirtualEndpointProvisioningPolicyConfig -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaDeviceManagementVirtualEndpointProvisioningPolicyConfig Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportActionStatusReport.md b/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportActionStatusReport.md deleted file mode 100644 index 5cc6e38e20..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportActionStatusReport.md +++ /dev/null @@ -1,31 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - filter = "ActionState eq 'failed'" - select = @( - "Id" -"CloudPcDeviceDisplayName" -"BulkActionId" -"BulkActionDisplayName" -"CloudPcId" -"InitiatedByUserPrincipalName" -"DeviceOwnerUserPrincipalName" -"Action" -"ActionState" -"RequestDateTime" -"LastUpdatedDateTime" -"ActionParameters" -) -skip = 0 -top = 50 -} - -Get-MgBetaDeviceManagementVirtualEndpointReportActionStatusReport -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointReportActionStatusReport Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportCloudPcRecommendationReport.md b/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportCloudPcRecommendationReport.md deleted file mode 100644 index 5982983445..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportCloudPcRecommendationReport.md +++ /dev/null @@ -1,54 +0,0 @@ -### Example 1: List recommendation reports by device - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - reportName = "cloudPcUsageCategoryReports" - top = 50 - skip = 0 - search = "" - filter = "" - select = @( - "CloudPcId" -"ManagedDeviceName" -"UserPrincipalName" -"UsageInsight" -"CurrentSize" -"RecommendedSize" -"UsageInHour" -"DevicePerfSummary" -) -orderBy = @( -"ManagedDeviceName" -) -} - -Get-MgBetaDeviceManagementVirtualEndpointReportCloudPcRecommendationReport -BodyParameter $params - -``` -This example will list recommendation reports by device - -### Example 2: Get summary reports by usage insight - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - reportName = "cloudPcUsageCategoryReports" - select = @( - "UsageInsight" -) -groupBy = @( -"UsageInsight" -) -filter = "" -} - -Get-MgBetaDeviceManagementVirtualEndpointReportCloudPcRecommendationReport -BodyParameter $params - -``` -This example will get summary reports by usage insight - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportConnectionQualityReport.md b/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportConnectionQualityReport.md deleted file mode 100644 index 1ae6279e5c..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportConnectionQualityReport.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - filter = "EventDateTime gt datetime'2023-04-16T07:40:41.694Z'" - search = "" - select = @( - "CloudPcId" -"ManagedDeviceName" -"AvgRoundTripTimeInMsP50" -"LastConnectionRoundTripTimeInMs" -"AvgAvailableBandwidthInMBpsP50" -"LastConnectionAvailableBandWidthInMSps" -"AvgRemoteSignInTimeInSecP50" -"UDPConnectionPercentage" -"LastConnectionGateway" -"LastConnectionProtocol" -"LastActiveTime" -) -skip = "0" -top = "25" -orderBy = @( -) -} - -Get-MgBetaDeviceManagementVirtualEndpointReportConnectionQualityReport -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointReportConnectionQualityReport Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportDailyAggregatedRemoteConnectionReport.md b/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportDailyAggregatedRemoteConnectionReport.md deleted file mode 100644 index 37657113c5..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportDailyAggregatedRemoteConnectionReport.md +++ /dev/null @@ -1,28 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - filter = "CloudPcId eq '5db15afe-025d-4f1b-b43a-d0554b63ffff' and RoundTripTimeInMsP50 lt 100 and EventDateTime gt 2022-06-01 " - search = "abc0907" - select = @( - "EventDateTime" -"CloudPcId" -"ManagedDeviceName" -"UsageInHour" -"RoundTripTimeInMsP50" -"AvailableBandwidthInMBpsP50" -"RemoteSignInTimeInSecP50" -"UserPrincipalName" -) -skip = "0" -top = "25" -} - -Get-MgBetaDeviceManagementVirtualEndpointReportDailyAggregatedRemoteConnectionReport -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointReportDailyAggregatedRemoteConnectionReport Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportFrontlineReport.md b/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportFrontlineReport.md deleted file mode 100644 index 81eec39062..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportFrontlineReport.md +++ /dev/null @@ -1,24 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - reportName = "frontlineLicenseUsageReport" - filter = "ServicePlanId eq '2d1d344e-d10c-41bb-953b-b3a47521dca0' and DateTimeUTC gt datetime'2022-11-30'" - select = @( - "ServicePlanId" -"LicenseCount" -"ClaimedLicenseCount" -"DateTimeUTC" -) -skip = 0 -top = 100 -} - -Get-MgBetaDeviceManagementVirtualEndpointReportFrontlineReport -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointReportFrontlineReport Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportInaccessibleCloudPcReport.md b/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportInaccessibleCloudPcReport.md deleted file mode 100644 index b5b467b3c0..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportInaccessibleCloudPcReport.md +++ /dev/null @@ -1,34 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - filter = "region eq 'westus2'" - orderBy = @( - "cloudPcId" -) -select = @( -"cloudPcId" -"aadDeviceId" -"cloudPcName" -"userPrincipalName" -"provisioningStatus" -"region" -"deviceHealthStatus" -"deviceHealthStatusDateTime" -"recentDeviceHealthFailureCount" -"recentConnectionFailureCount" -"systemStatus" -"systemStatusDateTime" -) -top = 10 -skip = 0 -} - -Get-MgBetaDeviceManagementVirtualEndpointReportInaccessibleCloudPcReport -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointReportInaccessibleCloudPcReport Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRawRemoteConnectionReport.md b/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRawRemoteConnectionReport.md deleted file mode 100644 index 35ed3428a6..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRawRemoteConnectionReport.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - filter = "ActivityId eq 'cb6ad4c4-8a17-4245-a644-e4436b1ee204'" - select = @( - "RoundTripTimeInMs" -"AvailableBandwidthInMBps" -"SignInDateTime" -) -skip = 0 -top = 50 -} - -Get-MgBetaDeviceManagementVirtualEndpointReportRawRemoteConnectionReport -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointReportRawRemoteConnectionReport Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRemoteConnectionHistoricalReport.md b/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRemoteConnectionHistoricalReport.md deleted file mode 100644 index 9b3d3dc7ff..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRemoteConnectionHistoricalReport.md +++ /dev/null @@ -1,25 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - filter = "CloudPcId eq '40f9315c-5b63-4126-9f89-b7dcb14fffff' and SignInDateTime gt datetime'2022-09-09T01:22:51.849Z'" - select = @( - "SignInDateTime" -"SignOutDateTime" -"UsageInHour" -"RoundTripTimeInMsP50" -"AvailableBandwidthInMBpsP50" -"RemoteSignInTimeInSec" -) -top = 25 -skip = 0 -} - -Get-MgBetaDeviceManagementVirtualEndpointReportRemoteConnectionHistoricalReport -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointReportRemoteConnectionHistoricalReport Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportSharedUseLicenseUsageReport.md b/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportSharedUseLicenseUsageReport.md deleted file mode 100644 index 978da9a7d5..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportSharedUseLicenseUsageReport.md +++ /dev/null @@ -1,24 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - reportName = "SharedUseLicenseUsageReport" - filter = "ServicePlanId eq '2d1d344e-d10c-41bb-953b-b3a47521dca0' and DateTimeUTC gt datetime'2022-11-30'" - select = @( - "ServicePlanId" -"LicenseCount" -"ClaimedLicenseCount" -"DateTimeUTC" -) -skip = 0 -top = 100 -} - -Get-MgBetaDeviceManagementVirtualEndpointReportSharedUseLicenseUsageReport -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointReportSharedUseLicenseUsageReport Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportTotalAggregatedRemoteConnectionReport.md b/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportTotalAggregatedRemoteConnectionReport.md deleted file mode 100644 index fa0e7327d9..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportTotalAggregatedRemoteConnectionReport.md +++ /dev/null @@ -1,26 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - top = 25 - skip = 0 - filter = "(TotalUsageInHour ge 40 and TotalUsageInHour le 80)" - select = @( - "CloudPcId" -"ManagedDeviceName" -"UserPrincipalName" -"TotalUsageInHour" -"LastActiveTime" -"PcType" -"CreatedDate" -) -} - -Get-MgBetaDeviceManagementVirtualEndpointReportTotalAggregatedRemoteConnectionReport -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointReportTotalAggregatedRemoteConnectionReport Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkDeviceManagementComanagedDeviceSetCloudPcReviewStatus.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkDeviceManagementComanagedDeviceSetCloudPcReviewStatus.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkDeviceManagementComanagedDeviceSetCloudPcReviewStatus.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkDeviceManagementManagedDeviceSetCloudPcReviewStatus.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkDeviceManagementManagedDeviceSetCloudPcReviewStatus.md deleted file mode 100644 index e7330ee5ee..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkDeviceManagementManagedDeviceSetCloudPcReviewStatus.md +++ /dev/null @@ -1,23 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - managedDeviceIds = @( - "30d0e128-de93-41dc-89ec-33d84bb662a0" -"7c82a3e3-9459-44e4-94d9-b92f93bf78dd" -) -reviewStatus = @{ -inReview = $true -userAccessLevel = "restricted" -azureStorageAccountId = "/subscriptions/f68bd846-16ad-4b51-a7c6-c84944a3367c/resourceGroups/Review/providers/Microsoft.Storage/storageAccounts/snapshotsUnderReview" -} -} - -Invoke-MgBetaBulkDeviceManagementManagedDeviceSetCloudPcReviewStatus -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaBulkDeviceManagementManagedDeviceSetCloudPcReviewStatus Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkDeviceManagementVirtualEndpointCloudPcResize.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkDeviceManagementVirtualEndpointCloudPcResize.md deleted file mode 100644 index 98b8509df5..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkDeviceManagementVirtualEndpointCloudPcResize.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - cloudPcIds = @( - "30d0e128-de93-41dc-89ec-33d84bb662a0" -"7c82a3e3-9459-44e4-94d9-b92f93bf78dd" -) -targetServicePlanId = "662009bc-7732-4f6f-8726-25883518b33e" -} - -Invoke-MgBetaBulkDeviceManagementVirtualEndpointCloudPcResize -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaBulkDeviceManagementVirtualEndpointCloudPcResize Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkReprovisionDeviceManagementComanagedDeviceCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkReprovisionDeviceManagementComanagedDeviceCloudPc.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkReprovisionDeviceManagementManagedDeviceCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkReprovisionDeviceManagementManagedDeviceCloudPc.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkRestoreDeviceManagementComanagedDeviceCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkRestoreDeviceManagementComanagedDeviceCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkRestoreDeviceManagementComanagedDeviceCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkRestoreDeviceManagementManagedDeviceCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkRestoreDeviceManagementManagedDeviceCloudPc.md deleted file mode 100644 index 1dd511bfba..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaBulkRestoreDeviceManagementManagedDeviceCloudPc.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - managedDeviceIds = @( - "30d0e128-de93-41dc-89ec-33d84bb662a0" -"7c82a3e3-9459-44e4-94d9-b92f93bf78dd" -) -restorePointDateTime = [System.DateTime]::Parse("2021-09-23T04:00:00.0000000") -timeRange = "before" -} - -Invoke-MgBetaBulkRestoreDeviceManagementManagedDeviceCloudPc -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaBulkRestoreDeviceManagementManagedDeviceCloudPc Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReprovisionDeviceManagementComanagedDeviceCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReprovisionDeviceManagementComanagedDeviceCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReprovisionDeviceManagementComanagedDeviceCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReprovisionDeviceManagementManagedDeviceCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReprovisionDeviceManagementManagedDeviceCloudPc.md deleted file mode 100644 index d08fde5a6b..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReprovisionDeviceManagementManagedDeviceCloudPc.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -Invoke-MgBetaReprovisionDeviceManagementManagedDeviceCloudPc -ManagedDeviceId $managedDeviceId - -``` -This example shows how to use the Invoke-MgBetaReprovisionDeviceManagementManagedDeviceCloudPc Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReprovisionDeviceManagementVirtualEndpointCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReprovisionDeviceManagementVirtualEndpointCloudPc.md deleted file mode 100644 index 763159c483..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReprovisionDeviceManagementVirtualEndpointCloudPc.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Reprovision the cloudPC for the administrator - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - userAccountType = "administrator" - osVersion = "windows10" -} - -Invoke-MgBetaReprovisionDeviceManagementVirtualEndpointCloudPc -CloudPCId $cloudPCId -BodyParameter $params - -``` -This example will reprovision the cloudpc for the administrator - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaRetryDeviceManagementVirtualEndpointCloudPcPartnerAgentInstallation.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaRetryDeviceManagementVirtualEndpointCloudPcPartnerAgentInstallation.md deleted file mode 100644 index bce908a1ae..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaRetryDeviceManagementVirtualEndpointCloudPcPartnerAgentInstallation.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -Invoke-MgBetaRetryDeviceManagementVirtualEndpointCloudPcPartnerAgentInstallation -CloudPCId $cloudPCId - -``` -This example shows how to use the Invoke-MgBetaRetryDeviceManagementVirtualEndpointCloudPcPartnerAgentInstallation Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReuploadDeviceManagementVirtualEndpointDeviceImage.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReuploadDeviceManagementVirtualEndpointDeviceImage.md deleted file mode 100644 index c4ea1c0a1b..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaReuploadDeviceManagementVirtualEndpointDeviceImage.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -Invoke-MgBetaReuploadDeviceManagementVirtualEndpointDeviceImage -CloudPcDeviceImageId $cloudPcDeviceImageId - -``` -This example shows how to use the Invoke-MgBetaReuploadDeviceManagementVirtualEndpointDeviceImage Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaTroubleshootDeviceManagementVirtualEndpointCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaTroubleshootDeviceManagementVirtualEndpointCloudPc.md deleted file mode 100644 index 5ae2315aea..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Invoke-MgBetaTroubleshootDeviceManagementVirtualEndpointCloudPc.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -Invoke-MgBetaTroubleshootDeviceManagementVirtualEndpointCloudPc -CloudPCId $cloudPCId - -``` -This example shows how to use the Invoke-MgBetaTroubleshootDeviceManagementVirtualEndpointCloudPc Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Rename-MgBetaDeviceManagementVirtualEndpointCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Rename-MgBetaDeviceManagementVirtualEndpointCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Rename-MgBetaDeviceManagementVirtualEndpointCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Rename-MgBetaDeviceManagementVirtualEndpointCloudPcUserAccountType.md b/src/Beta.DeviceManagement.Actions/beta/examples/Rename-MgBetaDeviceManagementVirtualEndpointCloudPcUserAccountType.md deleted file mode 100644 index 38c4c6fba5..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Rename-MgBetaDeviceManagementVirtualEndpointCloudPcUserAccountType.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - userAccountType = "administrator" -} - -Rename-MgBetaDeviceManagementVirtualEndpointCloudPcUserAccountType -CloudPCId $cloudPCId -BodyParameter $params - -``` -This example shows how to use the Rename-MgBetaDeviceManagementVirtualEndpointCloudPcUserAccountType Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Resize-MgBetaDeviceManagementComanagedDeviceCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Resize-MgBetaDeviceManagementComanagedDeviceCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Resize-MgBetaDeviceManagementComanagedDeviceCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Resize-MgBetaDeviceManagementManagedDeviceCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Resize-MgBetaDeviceManagementManagedDeviceCloudPc.md deleted file mode 100644 index 70cc7b4bac..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Resize-MgBetaDeviceManagementManagedDeviceCloudPc.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - targetServicePlanId = "30d0e128-de93-41dc-89ec-33d84bb662a0" -} - -Resize-MgBetaDeviceManagementManagedDeviceCloudPc -ManagedDeviceId $managedDeviceId -BodyParameter $params - -``` -This example shows how to use the Resize-MgBetaDeviceManagementManagedDeviceCloudPc Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Restart-MgBetaDeviceManagementVirtualEndpointCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Restart-MgBetaDeviceManagementVirtualEndpointCloudPc.md deleted file mode 100644 index 5802bdff2a..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Restart-MgBetaDeviceManagementVirtualEndpointCloudPc.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Reboot the cloudPC for the administrator - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -Restart-MgBetaDeviceManagementVirtualEndpointCloudPc -CloudPCId $cloudPCId - -``` -This example will reboot the cloudpc for the administrator - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Restore-MgBetaDeviceManagementComanagedDeviceCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Restore-MgBetaDeviceManagementComanagedDeviceCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Restore-MgBetaDeviceManagementComanagedDeviceCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Restore-MgBetaDeviceManagementManagedDeviceCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Restore-MgBetaDeviceManagementManagedDeviceCloudPc.md deleted file mode 100644 index 8abf89fa32..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Restore-MgBetaDeviceManagementManagedDeviceCloudPc.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - cloudPcSnapshotId = "A00009UV000_93aff428-61f2-467f-a879-1102af6fd4a8" -} - -Restore-MgBetaDeviceManagementManagedDeviceCloudPc -ManagedDeviceId $managedDeviceId -BodyParameter $params - -``` -This example shows how to use the Restore-MgBetaDeviceManagementManagedDeviceCloudPc Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Restore-MgBetaDeviceManagementVirtualEndpointCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Restore-MgBetaDeviceManagementVirtualEndpointCloudPc.md deleted file mode 100644 index c6f5a5f6cc..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Restore-MgBetaDeviceManagementVirtualEndpointCloudPc.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - cloudPcSnapshotId = "A00009UV000_93aff428-61f2-467f-a879-1102af6fd4a8" -} - -Restore-MgBetaDeviceManagementVirtualEndpointCloudPc -CloudPCId $cloudPCId -BodyParameter $params - -``` -This example shows how to use the Restore-MgBetaDeviceManagementVirtualEndpointCloudPc Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementComanagedDeviceCloudPcReviewStatus.md b/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementComanagedDeviceCloudPcReviewStatus.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementComanagedDeviceCloudPcReviewStatus.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementManagedDeviceCloudPcReviewStatus.md b/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementManagedDeviceCloudPcReviewStatus.md deleted file mode 100644 index cd2c412268..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementManagedDeviceCloudPcReviewStatus.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - reviewStatus = @{ - inReview = $true - userAccessLevel = "restricted" - azureStorageAccountId = "/subscriptions/f68bd846-16ad-4b51-a7c6-c84944a3367c/resourceGroups/Review/providers/Microsoft.Storage/storageAccounts/snapshotsUnderReview" - } -} - -Set-MgBetaDeviceManagementManagedDeviceCloudPcReviewStatus -ManagedDeviceId $managedDeviceId -BodyParameter $params - -``` -This example shows how to use the Set-MgBetaDeviceManagementManagedDeviceCloudPcReviewStatus Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementMonitoringAlertRecordPortalNotificationAsSent.md b/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementMonitoringAlertRecordPortalNotificationAsSent.md deleted file mode 100644 index 29decd4d95..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementMonitoringAlertRecordPortalNotificationAsSent.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -Set-MgBetaDeviceManagementMonitoringAlertRecordPortalNotificationAsSent -AlertRecordId $alertRecordId - -``` -This example shows how to use the Set-MgBetaDeviceManagementMonitoringAlertRecordPortalNotificationAsSent Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementVirtualEndpointProvisioningPolicy.md b/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementVirtualEndpointProvisioningPolicy.md deleted file mode 100644 index 15fd57aa66..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementVirtualEndpointProvisioningPolicy.md +++ /dev/null @@ -1,23 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - assignments = @( - @{ - id = "b0c2d35f-3385-46c8-a6f5-6c3dfad7708b_64ff06de-9c00-4a5a-98b5-7f5abe26ffff" - target = @{ - "@odata.type" = "microsoft.graph.cloudPcManagementGroupAssignmentTarget" - groupId = "64ff06de-9c00-4a5a-98b5-7f5abe26ffff" - } - } - ) -} - -Set-MgBetaDeviceManagementVirtualEndpointProvisioningPolicy -CloudPcProvisioningPolicyId $cloudPcProvisioningPolicyId -BodyParameter $params - -``` -This example shows how to use the Set-MgBetaDeviceManagementVirtualEndpointProvisioningPolicy Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementVirtualEndpointUserSetting.md b/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementVirtualEndpointUserSetting.md deleted file mode 100644 index 11d4804c1c..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Set-MgBetaDeviceManagementVirtualEndpointUserSetting.md +++ /dev/null @@ -1,23 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - assignments = @( - @{ - id = "b0c2d35f-3385-46c8-a6f5-6c3dfad7708b_64ff06de-9c00-4a5a-98b5-7f5abe26ffff" - target = @{ - "@odata.type" = "microsoft.graph.cloudPcManagementGroupAssignmentTarget" - groupId = "64ff06de-9c00-4a5a-98b5-7f5abe26ffff" - } - } - ) -} - -Set-MgBetaDeviceManagementVirtualEndpointUserSetting -CloudPcUserSettingId $cloudPcUserSettingId -BodyParameter $params - -``` -This example shows how to use the Set-MgBetaDeviceManagementVirtualEndpointUserSetting Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Start-MgBetaDeviceManagementVirtualEndpointCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Start-MgBetaDeviceManagementVirtualEndpointCloudPc.md deleted file mode 100644 index e28491df02..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Start-MgBetaDeviceManagementVirtualEndpointCloudPc.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -Start-MgBetaDeviceManagementVirtualEndpointCloudPc -CloudPCId $cloudPCId - -``` -This example shows how to use the Start-MgBetaDeviceManagementVirtualEndpointCloudPc Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Start-MgBetaDeviceManagementVirtualEndpointOnPremiseConnectionHealthCheck.md b/src/Beta.DeviceManagement.Actions/beta/examples/Start-MgBetaDeviceManagementVirtualEndpointOnPremiseConnectionHealthCheck.md deleted file mode 100644 index 685e70b62f..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Start-MgBetaDeviceManagementVirtualEndpointOnPremiseConnectionHealthCheck.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -Start-MgBetaDeviceManagementVirtualEndpointOnPremiseConnectionHealthCheck -CloudPcOnPremisesConnectionId $cloudPcOnPremisesConnectionId - -``` -This example shows how to use the Start-MgBetaDeviceManagementVirtualEndpointOnPremiseConnectionHealthCheck Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Stop-MgBetaDeviceManagementVirtualEndpointCloudPc.md b/src/Beta.DeviceManagement.Actions/beta/examples/Stop-MgBetaDeviceManagementVirtualEndpointCloudPc.md deleted file mode 100644 index 503cf5713f..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Stop-MgBetaDeviceManagementVirtualEndpointCloudPc.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -Stop-MgBetaDeviceManagementVirtualEndpointCloudPc -CloudPCId $cloudPCId - -``` -This example shows how to use the Stop-MgBetaDeviceManagementVirtualEndpointCloudPc Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Stop-MgBetaDeviceManagementVirtualEndpointCloudPcGracePeriod.md b/src/Beta.DeviceManagement.Actions/beta/examples/Stop-MgBetaDeviceManagementVirtualEndpointCloudPcGracePeriod.md deleted file mode 100644 index eb306f92bf..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Stop-MgBetaDeviceManagementVirtualEndpointCloudPcGracePeriod.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -Stop-MgBetaDeviceManagementVirtualEndpointCloudPcGracePeriod -CloudPCId $cloudPCId - -``` -This example shows how to use the Stop-MgBetaDeviceManagementVirtualEndpointCloudPcGracePeriod Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Test-MgBetaDeviceManagementVirtualEndpointCloudPcBulkResize.md b/src/Beta.DeviceManagement.Actions/beta/examples/Test-MgBetaDeviceManagementVirtualEndpointCloudPcBulkResize.md deleted file mode 100644 index ea447835c0..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Test-MgBetaDeviceManagementVirtualEndpointCloudPcBulkResize.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - cloudPcIds = @( - "30d0e128-de93-41dc-89ec-33d84bb662a0" -"7c82a3e3-9459-44e4-94d9-b92f93bf78dd" -) -targetServicePlanId = "662009bc-7732-4f6f-8726-25883518b33e" -} - -Test-MgBetaDeviceManagementVirtualEndpointCloudPcBulkResize -BodyParameter $params - -``` -This example shows how to use the Test-MgBetaDeviceManagementVirtualEndpointCloudPcBulkResize Cmdlet. - diff --git a/src/Beta.DeviceManagement.Actions/beta/examples/Update-MgBetaDeviceManagementVirtualEndpointOnPremiseConnectionAdDomainPassword.md b/src/Beta.DeviceManagement.Actions/beta/examples/Update-MgBetaDeviceManagementVirtualEndpointOnPremiseConnectionAdDomainPassword.md deleted file mode 100644 index fd7609ce93..0000000000 --- a/src/Beta.DeviceManagement.Actions/beta/examples/Update-MgBetaDeviceManagementVirtualEndpointOnPremiseConnectionAdDomainPassword.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions - -$params = @{ - adDomainPassword = "AdDomainPassword value" -} - -Update-MgBetaDeviceManagementVirtualEndpointOnPremiseConnectionAdDomainPassword -CloudPcOnPremisesConnectionId $cloudPcOnPremisesConnectionId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaDeviceManagementVirtualEndpointOnPremiseConnectionAdDomainPassword Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementComanagedDeviceCloudPcRemoteActionResult.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementComanagedDeviceCloudPcRemoteActionResult.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementComanagedDeviceCloudPcRemoteActionResult.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementComanagedDeviceCloudPcReviewStatus.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementComanagedDeviceCloudPcReviewStatus.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementComanagedDeviceCloudPcReviewStatus.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementManagedDeviceCloudPcRemoteActionResult.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementManagedDeviceCloudPcRemoteActionResult.md deleted file mode 100644 index 7e63174222..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementManagedDeviceCloudPcRemoteActionResult.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementManagedDeviceCloudPcRemoteActionResult -ManagedDeviceId $managedDeviceId - -``` -This example shows how to use the Get-MgBetaDeviceManagementManagedDeviceCloudPcRemoteActionResult Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementManagedDeviceCloudPcReviewStatus.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementManagedDeviceCloudPcReviewStatus.md deleted file mode 100644 index 35950a1f89..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementManagedDeviceCloudPcReviewStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementManagedDeviceCloudPcReviewStatus -ManagedDeviceId $managedDeviceId - -``` -This example shows how to use the Get-MgBetaDeviceManagementManagedDeviceCloudPcReviewStatus Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointAuditEventAuditActivityType.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointAuditEventAuditActivityType.md deleted file mode 100644 index 2cdf66304e..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointAuditEventAuditActivityType.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointAuditEventAuditActivityType - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointAuditEventAuditActivityType Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcConnectivityHistory.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcConnectivityHistory.md deleted file mode 100644 index a84c93a7e6..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcConnectivityHistory.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointCloudPcConnectivityHistory -CloudPCId $cloudPCId - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointCloudPcConnectivityHistory Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcFrontlineCloudPcAccessState.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcFrontlineCloudPcAccessState.md deleted file mode 100644 index 496593aa5f..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcFrontlineCloudPcAccessState.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Get the frontline Cloud PC access state for the administrator - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointCloudPcFrontlineCloudPcAccessState -CloudPCId $cloudPCId - -``` -This example will get the frontline cloud pc access state for the administrator - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcLaunchInfo.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcLaunchInfo.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcLaunchInfo.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcProvisionedCloudPc.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcProvisionedCloudPc.md deleted file mode 100644 index 3798c858a0..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcProvisionedCloudPc.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointCloudPcProvisionedCloudPc - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointCloudPcProvisionedCloudPc Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcShiftWorkCloudPcAccessState.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcShiftWorkCloudPcAccessState.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcShiftWorkCloudPcAccessState.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcSupportedCloudPcRemoteAction.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcSupportedCloudPcRemoteAction.md deleted file mode 100644 index 3260a02c04..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointCloudPcSupportedCloudPcRemoteAction.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointCloudPcSupportedCloudPcRemoteAction -CloudPCId $cloudPCId - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointCloudPcSupportedCloudPcRemoteAction Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointDeviceImageSourceImage.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointDeviceImageSourceImage.md deleted file mode 100644 index 96e3b611b2..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointDeviceImageSourceImage.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointDeviceImageSourceImage - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointDeviceImageSourceImage Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointEffectivePermission.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointEffectivePermission.md deleted file mode 100644 index f50440a12e..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointEffectivePermission.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointEffectivePermission - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointEffectivePermission Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRealTimeRemoteConnectionLatency.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRealTimeRemoteConnectionLatency.md deleted file mode 100644 index 5f42900961..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRealTimeRemoteConnectionLatency.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointReportRealTimeRemoteConnectionLatency - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointReportRealTimeRemoteConnectionLatency Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRealTimeRemoteConnectionStatus.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRealTimeRemoteConnectionStatus.md deleted file mode 100644 index 5b48a3379d..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointReportRealTimeRemoteConnectionStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointReportRealTimeRemoteConnectionStatus - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointReportRealTimeRemoteConnectionStatus Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointScopedPermission.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointScopedPermission.md deleted file mode 100644 index bf51889ac3..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointScopedPermission.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Get all the permissions and scope IDs of the authenticated user - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointScopedPermission - -``` -This example will get all the permissions and scope ids of the authenticated user - -### Example 2: Get a filtered list of permissions and scope IDs of the authenticated user - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointScopedPermission -Filter "permission in ('Microsoft.CloudPC/ProvisioningPolicies/Update','Microsoft.CloudPC/ProvisioningPolicies/Create')" - -``` -This example will get a filtered list of permissions and scope ids of the authenticated user - -### Example 3: No scope IDs are returned - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointScopedPermission - -``` -This example will no scope ids are returned - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointSnapshotStorageAccount.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointSnapshotStorageAccount.md deleted file mode 100644 index c105cea536..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointSnapshotStorageAccount.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointSnapshotStorageAccount - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointSnapshotStorageAccount Cmdlet. - diff --git a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointSnapshotSubscription.md b/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointSnapshotSubscription.md deleted file mode 100644 index 945045317e..0000000000 --- a/src/Beta.DeviceManagement.Functions/beta/examples/Get-MgBetaDeviceManagementVirtualEndpointSnapshotSubscription.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions - -Get-MgBetaDeviceManagementVirtualEndpointSnapshotSubscription - -``` -This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointSnapshotSubscription Cmdlet. - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/Get-MgBetaPrintPrinterCapability.md b/src/Beta.Devices.CloudPrint/beta/examples/Get-MgBetaPrintPrinterCapability.md deleted file mode 100644 index b4fde40558..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/Get-MgBetaPrintPrinterCapability.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.CloudPrint - -Get-MgBetaPrintPrinterCapability -PrinterId $printerId - -``` -This example shows how to use the Get-MgBetaPrintPrinterCapability Cmdlet. - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintPrinterJob.md b/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintPrinterJob.md deleted file mode 100644 index e4f183f055..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintPrinterJob.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.CloudPrint - -Invoke-MgBetaAbortPrintPrinterJob -PrinterId $printerId -PrintJobId $printJobId - -``` -This example shows how to use the Invoke-MgBetaAbortPrintPrinterJob Cmdlet. - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintPrinterShareJob.md b/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintPrinterShareJob.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintPrinterShareJob.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintShareJob.md b/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintShareJob.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintShareJob.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintPrinterJob.md b/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintPrinterJob.md deleted file mode 100644 index 188e158c91..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintPrinterJob.md +++ /dev/null @@ -1,46 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.CloudPrint - -$params = @{ - destinationPrinterId = "9a3b3956-ce5b-4d06-a605-5b0bd3e9ddea" - configuration = @{ - feedOrientation = "longEdgeFirst" - pageRanges = @( - @{ - start = 1 - end = 1 - } - ) - quality = "medium" - dpi = 600 - orientation = "landscape" - copies = 1 - duplexMode = "oneSided" - colorMode = "blackAndWhite" - inputBin = "by-pass-tray" - outputBin = "output-tray" - mediaSize = "A4" - margin = @{ - top = 0 - bottom = 0 - left = 0 - right = 0 - } - mediaType = "stationery" - finishings = $null - pagesPerSheet = 1 - multipageLayout = "clockwiseFromBottomLeft" - collate = $false - scaling = "shrinkToFit" - fitPdfToPage = $false - } -} - -Invoke-MgBetaRedirectPrintPrinterJob -PrinterId $printerId -PrintJobId $printJobId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaRedirectPrintPrinterJob Cmdlet. - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintPrinterShareJob.md b/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintPrinterShareJob.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintPrinterShareJob.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintShareJob.md b/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintShareJob.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintShareJob.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinter.md b/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinter.md deleted file mode 100644 index 0906e0d7a1..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinter.md +++ /dev/null @@ -1,24 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.CloudPrint - -$params = @{ - displayName = "Test Printer" - manufacturer = "Test Printer Manufacturer" - model = "Test Printer Model" - physicalDeviceId = $null - hasPhysicalDevice = $false - certificateSigningRequest = @{ - content = '{content}' - transportKey = '{sampleTransportKey}' - } - connectorId = $null -} - -New-MgBetaPrintPrinter -BodyParameter $params - -``` -This example shows how to use the New-MgBetaPrintPrinter Cmdlet. - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterJobDocumentUploadSession.md b/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterJobDocumentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterJobDocumentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterShareJobDocumentUploadSession.md b/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterShareJobDocumentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterShareJobDocumentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintShareJobDocumentUploadSession.md b/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintShareJobDocumentUploadSession.md deleted file mode 100644 index 3bfc88d2b2..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/New-MgBetaPrintShareJobDocumentUploadSession.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.CloudPrint - -$params = @{ - properties = @{ - documentName = "TestFile.pdf" - contentType = "application/pdf" - size = 4533322 - } -} - -New-MgBetaPrintShareJobDocumentUploadSession -PrinterShareId $printerShareId -PrintJobId $printJobId -PrintDocumentId $printDocumentId -BodyParameter $params - -``` -This example shows how to use the New-MgBetaPrintShareJobDocumentUploadSession Cmdlet. - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/Restore-MgBetaPrintPrinterFactoryDefault.md b/src/Beta.Devices.CloudPrint/beta/examples/Restore-MgBetaPrintPrinterFactoryDefault.md deleted file mode 100644 index 8491cb5710..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/Restore-MgBetaPrintPrinterFactoryDefault.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.CloudPrint - -Restore-MgBetaPrintPrinterFactoryDefault -PrinterId $printerId - -``` -This example shows how to use the Restore-MgBetaPrintPrinterFactoryDefault Cmdlet. - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/Stop-MgBetaPrintPrinterJob.md b/src/Beta.Devices.CloudPrint/beta/examples/Stop-MgBetaPrintPrinterJob.md deleted file mode 100644 index 0230bac715..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/Stop-MgBetaPrintPrinterJob.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.CloudPrint - -Stop-MgBetaPrintPrinterJob -PrinterId $printerId -PrintJobId $printJobId - -``` -This example shows how to use the Stop-MgBetaPrintPrinterJob Cmdlet. - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/Stop-MgBetaPrintPrinterShareJob.md b/src/Beta.Devices.CloudPrint/beta/examples/Stop-MgBetaPrintPrinterShareJob.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/Stop-MgBetaPrintPrinterShareJob.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Devices.CloudPrint/beta/examples/Stop-MgBetaPrintShareJob.md b/src/Beta.Devices.CloudPrint/beta/examples/Stop-MgBetaPrintShareJob.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Devices.CloudPrint/beta/examples/Stop-MgBetaPrintShareJob.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaArchiveServiceAnnouncementMessage.md b/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaArchiveServiceAnnouncementMessage.md deleted file mode 100644 index 8612e4269c..0000000000 --- a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaArchiveServiceAnnouncementMessage.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement - -$params = @{ - messageIds = @( - "MC172851" -"MC167983" -) -} - -Invoke-MgBetaArchiveServiceAnnouncementMessage -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaArchiveServiceAnnouncementMessage Cmdlet. - diff --git a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaFavoriteServiceAnnouncementMessage.md b/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaFavoriteServiceAnnouncementMessage.md deleted file mode 100644 index 5110fbed0d..0000000000 --- a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaFavoriteServiceAnnouncementMessage.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement - -$params = @{ - messageIds = @( - "MC172851" -"MC167983" -) -} - -Invoke-MgBetaFavoriteServiceAnnouncementMessage -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaFavoriteServiceAnnouncementMessage Cmdlet. - diff --git a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaMarkServiceAnnouncementMessageRead.md b/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaMarkServiceAnnouncementMessageRead.md deleted file mode 100644 index bd291f89ce..0000000000 --- a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaMarkServiceAnnouncementMessageRead.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement - -$params = @{ - messageIds = @( - "MC172851" -"MC167983" -) -} - -Invoke-MgBetaMarkServiceAnnouncementMessageRead -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaMarkServiceAnnouncementMessageRead Cmdlet. - diff --git a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaMarkServiceAnnouncementMessageUnread.md b/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaMarkServiceAnnouncementMessageUnread.md deleted file mode 100644 index f0269d1d47..0000000000 --- a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaMarkServiceAnnouncementMessageUnread.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement - -$params = @{ - messageIds = @( - "MC172851" -"MC167983" -) -} - -Invoke-MgBetaMarkServiceAnnouncementMessageUnread -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaMarkServiceAnnouncementMessageUnread Cmdlet. - diff --git a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaReportServiceAnnouncementHealthOverviewIssueIncident.md b/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaReportServiceAnnouncementHealthOverviewIssueIncident.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaReportServiceAnnouncementHealthOverviewIssueIncident.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaReportServiceAnnouncementIssueIncident.md b/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaReportServiceAnnouncementIssueIncident.md deleted file mode 100644 index 90c1b6cc5c..0000000000 --- a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaReportServiceAnnouncementIssueIncident.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement - -Invoke-MgBetaReportServiceAnnouncementIssueIncident -ServiceHealthIssueId $serviceHealthIssueId - -``` -This example shows how to use the Invoke-MgBetaReportServiceAnnouncementIssueIncident Cmdlet. - diff --git a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaUnarchiveServiceAnnouncementMessage.md b/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaUnarchiveServiceAnnouncementMessage.md deleted file mode 100644 index 44a49cec7e..0000000000 --- a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaUnarchiveServiceAnnouncementMessage.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement - -$params = @{ - messageIds = @( - "MC172851" -"MC167983" -) -} - -Invoke-MgBetaUnarchiveServiceAnnouncementMessage -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaUnarchiveServiceAnnouncementMessage Cmdlet. - diff --git a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaUnfavoriteServiceAnnouncementMessage.md b/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaUnfavoriteServiceAnnouncementMessage.md deleted file mode 100644 index c7cead3769..0000000000 --- a/src/Beta.Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaUnfavoriteServiceAnnouncementMessage.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Devices.ServiceAnnouncement - -$params = @{ - messageIds = @( - "MC172851" -"MC167983" -) -} - -Invoke-MgBetaUnfavoriteServiceAnnouncementMessage -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaUnfavoriteServiceAnnouncementMessage Cmdlet. - diff --git a/src/Beta.DirectoryObjects/beta/examples/Confirm-MgBetaDirectoryObjectMemberGroup.md b/src/Beta.DirectoryObjects/beta/examples/Confirm-MgBetaDirectoryObjectMemberGroup.md deleted file mode 100644 index e47958c503..0000000000 --- a/src/Beta.DirectoryObjects/beta/examples/Confirm-MgBetaDirectoryObjectMemberGroup.md +++ /dev/null @@ -1,21 +0,0 @@ -### Example 1: Check group memberships for a directory object - -```powershell - -Import-Module Microsoft.Graph.Beta.DirectoryObjects - -$params = @{ - groupIds = @( - "f448435d-3ca7-4073-8152-a1fd73c0fd09" -"bd7c6263-4dd5-4ae8-8c96-556e1c0bece6" -"93670da6-d731-4366-94b5-abed40b6016b" -"f5484ab1-4d4d-41ec-a9b8-754b3957bfc7" -"c9103f26-f3cf-4004-a611-2a14e81b8f79" -) -} - -Confirm-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params - -``` -This example will check group memberships for a directory object - diff --git a/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObject.md b/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObject.md deleted file mode 100644 index 1ad232765c..0000000000 --- a/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObject.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DirectoryObjects - -Get-MgBetaDirectoryObject -DirectoryObjectId $directoryObjectId - -``` -This example shows how to use the Get-MgBetaDirectoryObject Cmdlet. - diff --git a/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObjectById.md b/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObjectById.md deleted file mode 100644 index 005772a130..0000000000 --- a/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObjectById.md +++ /dev/null @@ -1,25 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DirectoryObjects - -$params = @{ - ids = @( - "84b80893-8749-40a3-97b7-68513b600544" -"5d6059b6-368d-45f8-91e1-8e07d485f1d0" -"0b944de3-e0fc-4774-a49a-b135213725ef" -"b75a5ab2-fe55-4463-bd31-d21ad555c6e0" -) -types = @( -"user" -"group" -"device" -) -} - -Get-MgBetaDirectoryObjectById -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaDirectoryObjectById Cmdlet. - diff --git a/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObjectDelta.md b/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObjectDelta.md deleted file mode 100644 index 855e5abf41..0000000000 --- a/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObjectDelta.md +++ /dev/null @@ -1,44 +0,0 @@ -### Example 1: Retrieve changes for a collection of users and groups - -```powershell - -Import-Module Microsoft.Graph.Beta.DirectoryObjects - -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" - -``` -This example will retrieve changes for a collection of users and groups - -### Example 2: Retrieve a collection of changes for a directory object - -```powershell - -Import-Module Microsoft.Graph.Beta.DirectoryObjects - -Get-MgBetaDirectoryObjectDelta -Filter "id eq '87d349ed-44d7-43e1-9a83-5f2406dee5bd'" - -``` -This example will retrieve a collection of changes for a directory object - -### Example 3: Retrieve changes to specific properties for a collection of users and groups - -```powershell - -Import-Module Microsoft.Graph.Beta.DirectoryObjects - -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" - -``` -This example will retrieve changes to specific properties for a collection of users and groups - -### Example 4: Retrieve specific properties only if they changed for a collection of users and groups - -```powershell - -Import-Module Microsoft.Graph.Beta.DirectoryObjects - -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" - -``` -This example will retrieve specific properties only if they changed for a collection of users and groups - diff --git a/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObjectMemberGroup.md b/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObjectMemberGroup.md deleted file mode 100644 index 792bd73af0..0000000000 --- a/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObjectMemberGroup.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Check group memberships for a directory object - -```powershell - -Import-Module Microsoft.Graph.Beta.DirectoryObjects - -$params = @{ - securityEnabledOnly = $false -} - -Get-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params - -``` -This example will check group memberships for a directory object - diff --git a/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObjectUserOwnedObject.md b/src/Beta.DirectoryObjects/beta/examples/Get-MgBetaDirectoryObjectUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.DirectoryObjects/beta/examples/Remove-MgBetaDirectoryObject.md b/src/Beta.DirectoryObjects/beta/examples/Remove-MgBetaDirectoryObject.md deleted file mode 100644 index 500b2823e9..0000000000 --- a/src/Beta.DirectoryObjects/beta/examples/Remove-MgBetaDirectoryObject.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DirectoryObjects - -Remove-MgBetaDirectoryObject -DirectoryObjectId $directoryObjectId - -``` -This example shows how to use the Remove-MgBetaDirectoryObject Cmdlet. - diff --git a/src/Beta.DirectoryObjects/beta/examples/Test-MgBetaDirectoryObjectProperty.md b/src/Beta.DirectoryObjects/beta/examples/Test-MgBetaDirectoryObjectProperty.md deleted file mode 100644 index 0242f0a47b..0000000000 --- a/src/Beta.DirectoryObjects/beta/examples/Test-MgBetaDirectoryObjectProperty.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.DirectoryObjects - -$params = @{ - entityType = "Group" - displayName = "Myprefix_test_mysuffix" - mailNickname = "Myprefix_test_mysuffix" - onBehalfOfUserId = "onBehalfOfUserId-value" -} - -Test-MgBetaDirectoryObjectProperty -BodyParameter $params - -``` -This example shows how to use the Test-MgBetaDirectoryObjectProperty Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Get-MgBetaEducationClassAssignmentCategoryDelta.md b/src/Beta.Education/beta/examples/Get-MgBetaEducationClassAssignmentCategoryDelta.md deleted file mode 100644 index 3e2d007a35..0000000000 --- a/src/Beta.Education/beta/examples/Get-MgBetaEducationClassAssignmentCategoryDelta.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Get assignment categories - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Get-MgBetaEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Top 3 - -``` -This example will get assignment categories - -### Example 2: Get next set of categories - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Get-MgBetaEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Skiptoken "U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IVSFtBcXz0jxjIEihcR91dS3R7i8Z2IMtxIn9rKbK9Jvurj6jCH-lDbSNatdesrK0PJ5zpZ_-i8HyqkdtLhWD9tewXVArIqQWJA7gJz8z4paG2q0MU9rixrQOTe7WIXikPiBTUPilHuUW-o1k7cvqke3K7llJbU3G7z_O7WGoVGE.l8-2OcBi9ZWAhwhPnXvJ-kyyk8GNb6-H4o6qofP5YBY" - -``` -This example will get next set of categories - -### Example 3: Get the created and modified categories using delta token - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Get-MgBetaEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxc-iACeqCQsT5Tb0u9vn6QXYflO6j0sRgRQlhcfR7DApZYl6uZqiXcR7H0G14btPqR761sKWNc0jgiczrHGF6dGfSQwsLzPT46og-84ArhOU.Jnxvkr08FE-QBvEYstYel3JZUrgwgTauo-GmpbdWeSA" - -``` -This example will get the created and modified categories using delta token - diff --git a/src/Beta.Education/beta/examples/Get-MgBetaEducationClassAssignmentDelta.md b/src/Beta.Education/beta/examples/Get-MgBetaEducationClassAssignmentDelta.md deleted file mode 100644 index 09ceb31527..0000000000 --- a/src/Beta.Education/beta/examples/Get-MgBetaEducationClassAssignmentDelta.md +++ /dev/null @@ -1,44 +0,0 @@ -### Example 1: Get assignments with delta query support - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Get-MgBetaEducationClassAssignmentDelta -EducationClassId $educationClassId -Top 2 - -``` -This example will get assignments with delta query support - -### Example 2: Get next set of assignments with delta query support - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Get-MgBetaEducationClassAssignmentDelta -EducationClassId $educationClassId -Skiptoken "U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IdHoweKQs1czM4Ry1LVsNqwIFXftTcRHvgSCbcszvbJHEWDCO3QO7K7zwCM8DdXNepZOa1gqldecjIUM0NFRbGQoQ5yR6RmGnMgtko8TDMOyMH_yg1my82PTXA_t4Nj-DhMDZWvuNTd_lbLeTngc7mIJPMCR2gHN9CSKsW_kw850.UM9tUqwOu5Ln1pnxaP6KdMmfJHszGqY3EKPlQkOiyGs" - -``` -This example will get next set of assignments with delta query support - -### Example 3: Get the created and modified assignments using delta token - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Get-MgBetaEducationClassAssignmentDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxROmLjac48n-iXm5j6n5aQwlsnC-2OvL3lI0Z8M4klERNmJQjnBn7MHqwXZ6L8GlI3VPnya3E-p1bisiZX97jLvQUAopseIYhvnD6v7fiYrk.fVsHempT6X2CiBh6aN9Ex5nVJ71adKdcf-mdke8OHKs" - -``` -This example will get the created and modified assignments using delta token - -### Example 4: Using `$select` to get selected data - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Get-MgBetaEducationClassAssignmentDelta -EducationClassId $educationClassId -Property "displayName,id" - -``` -This example shows using `$select` to get selected data - diff --git a/src/Beta.Education/beta/examples/Get-MgBetaEducationClassDelta.md b/src/Beta.Education/beta/examples/Get-MgBetaEducationClassDelta.md deleted file mode 100644 index 2986753348..0000000000 --- a/src/Beta.Education/beta/examples/Get-MgBetaEducationClassDelta.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Get-MgBetaEducationClassDelta - -``` -This example shows how to use the Get-MgBetaEducationClassDelta Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Get-MgBetaEducationMeAssignmentCategoryDelta.md b/src/Beta.Education/beta/examples/Get-MgBetaEducationMeAssignmentCategoryDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Get-MgBetaEducationMeAssignmentCategoryDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Get-MgBetaEducationMeAssignmentDelta.md b/src/Beta.Education/beta/examples/Get-MgBetaEducationMeAssignmentDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Get-MgBetaEducationMeAssignmentDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Get-MgBetaEducationSchoolDelta.md b/src/Beta.Education/beta/examples/Get-MgBetaEducationSchoolDelta.md deleted file mode 100644 index 4dfac348d0..0000000000 --- a/src/Beta.Education/beta/examples/Get-MgBetaEducationSchoolDelta.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Get-MgBetaEducationSchoolDelta - -``` -This example shows how to use the Get-MgBetaEducationSchoolDelta Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Get-MgBetaEducationUserAssignmentCategoryDelta.md b/src/Beta.Education/beta/examples/Get-MgBetaEducationUserAssignmentCategoryDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Get-MgBetaEducationUserAssignmentCategoryDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Get-MgBetaEducationUserAssignmentDelta.md b/src/Beta.Education/beta/examples/Get-MgBetaEducationUserAssignmentDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Get-MgBetaEducationUserAssignmentDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Get-MgBetaEducationUserDelta.md b/src/Beta.Education/beta/examples/Get-MgBetaEducationUserDelta.md deleted file mode 100644 index 39833ce6af..0000000000 --- a/src/Beta.Education/beta/examples/Get-MgBetaEducationUserDelta.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Get-MgBetaEducationUserDelta - -``` -This example shows how to use the Get-MgBetaEducationUserDelta Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Initialize-MgBetaEducationClassAssignment.md b/src/Beta.Education/beta/examples/Initialize-MgBetaEducationClassAssignment.md deleted file mode 100644 index e427a8db9d..0000000000 --- a/src/Beta.Education/beta/examples/Initialize-MgBetaEducationClassAssignment.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Initialize-MgBetaEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId - -``` -This example shows how to use the Initialize-MgBetaEducationClassAssignment Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Initialize-MgBetaEducationMeAssignment.md b/src/Beta.Education/beta/examples/Initialize-MgBetaEducationMeAssignment.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Initialize-MgBetaEducationMeAssignment.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Initialize-MgBetaEducationUserAssignment.md b/src/Beta.Education/beta/examples/Initialize-MgBetaEducationUserAssignment.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Initialize-MgBetaEducationUserAssignment.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaDeactivateEducationClassAssignment.md b/src/Beta.Education/beta/examples/Invoke-MgBetaDeactivateEducationClassAssignment.md deleted file mode 100644 index 913082c74a..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaDeactivateEducationClassAssignment.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Mark an assignment inactive without the optional Prefer header - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Invoke-MgBetaDeactivateEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId - -``` -This example will mark an assignment inactive without the optional prefer header - -### Example 2: Mark an assignment inactive with the optional Prefer header - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Invoke-MgBetaDeactivateEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId - -``` -This example will mark an assignment inactive with the optional prefer header - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaDeactivateEducationMeAssignment.md b/src/Beta.Education/beta/examples/Invoke-MgBetaDeactivateEducationMeAssignment.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaDeactivateEducationMeAssignment.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaDeactivateEducationUserAssignment.md b/src/Beta.Education/beta/examples/Invoke-MgBetaDeactivateEducationUserAssignment.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaDeactivateEducationUserAssignment.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaExcuseEducationClassAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaExcuseEducationClassAssignmentSubmission.md deleted file mode 100644 index 327ccadccc..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaExcuseEducationClassAssignmentSubmission.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Request with optional Prefer header - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Invoke-MgBetaExcuseEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId - -``` -This example will request with optional prefer header - -### Example 2: Request without the Prefer request header - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Invoke-MgBetaExcuseEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId - -``` -This example will request without the prefer request header - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaExcuseEducationMeAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaExcuseEducationMeAssignmentSubmission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaExcuseEducationMeAssignmentSubmission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaExcuseEducationUserAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaExcuseEducationUserAssignmentSubmission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaExcuseEducationUserAssignmentSubmission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaPinEducationClassModule.md b/src/Beta.Education/beta/examples/Invoke-MgBetaPinEducationClassModule.md deleted file mode 100644 index 0ee748287b..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaPinEducationClassModule.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Invoke-MgBetaPinEducationClassModule -EducationClassId $educationClassId -EducationModuleId $educationModuleId - -``` -This example shows how to use the Invoke-MgBetaPinEducationClassModule Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaReassignEducationClassAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaReassignEducationClassAssignmentSubmission.md deleted file mode 100644 index b6cda03b65..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaReassignEducationClassAssignmentSubmission.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Request without optional Prefer header - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Invoke-MgBetaReassignEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId - -``` -This example will request without optional prefer header - -### Example 2: Request with Prefer header - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Invoke-MgBetaReassignEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId - -``` -This example will request with prefer header - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaReassignEducationMeAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaReassignEducationMeAssignmentSubmission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaReassignEducationMeAssignmentSubmission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaReassignEducationUserAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaReassignEducationUserAssignmentSubmission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaReassignEducationUserAssignmentSubmission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaReturnEducationClassAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaReturnEducationClassAssignmentSubmission.md deleted file mode 100644 index 659fb8df9b..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaReturnEducationClassAssignmentSubmission.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Invoke-MgBetaReturnEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId - -``` -This example shows how to use the Invoke-MgBetaReturnEducationClassAssignmentSubmission Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaReturnEducationMeAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaReturnEducationMeAssignmentSubmission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaReturnEducationMeAssignmentSubmission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaReturnEducationUserAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaReturnEducationUserAssignmentSubmission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaReturnEducationUserAssignmentSubmission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaUnpinEducationClassModule.md b/src/Beta.Education/beta/examples/Invoke-MgBetaUnpinEducationClassModule.md deleted file mode 100644 index 3697921442..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaUnpinEducationClassModule.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Invoke-MgBetaUnpinEducationClassModule -EducationClassId $educationClassId -EducationModuleId $educationModuleId - -``` -This example shows how to use the Invoke-MgBetaUnpinEducationClassModule Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaUnsubmitEducationClassAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaUnsubmitEducationClassAssignmentSubmission.md deleted file mode 100644 index 4f68e77d5a..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaUnsubmitEducationClassAssignmentSubmission.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Invoke-MgBetaUnsubmitEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId - -``` -This example shows how to use the Invoke-MgBetaUnsubmitEducationClassAssignmentSubmission Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaUnsubmitEducationMeAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaUnsubmitEducationMeAssignmentSubmission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaUnsubmitEducationMeAssignmentSubmission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaUnsubmitEducationUserAssignmentSubmission.md b/src/Beta.Education/beta/examples/Invoke-MgBetaUnsubmitEducationUserAssignmentSubmission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaUnsubmitEducationUserAssignmentSubmission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Invoke-MgBetaUploadEducationSynchronizationProfileUrl.md b/src/Beta.Education/beta/examples/Invoke-MgBetaUploadEducationSynchronizationProfileUrl.md deleted file mode 100644 index 1ff6c4fc96..0000000000 --- a/src/Beta.Education/beta/examples/Invoke-MgBetaUploadEducationSynchronizationProfileUrl.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Invoke-MgBetaUploadEducationSynchronizationProfileUrl -EducationSynchronizationProfileId $educationSynchronizationProfileId - -``` -This example shows how to use the Invoke-MgBetaUploadEducationSynchronizationProfileUrl Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Publish-MgBetaEducationClassAssignment.md b/src/Beta.Education/beta/examples/Publish-MgBetaEducationClassAssignment.md deleted file mode 100644 index a6a6296fd3..0000000000 --- a/src/Beta.Education/beta/examples/Publish-MgBetaEducationClassAssignment.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Publish-MgBetaEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId - -``` -This example shows how to use the Publish-MgBetaEducationClassAssignment Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Publish-MgBetaEducationClassModule.md b/src/Beta.Education/beta/examples/Publish-MgBetaEducationClassModule.md deleted file mode 100644 index fb67c42165..0000000000 --- a/src/Beta.Education/beta/examples/Publish-MgBetaEducationClassModule.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Publish-MgBetaEducationClassModule -EducationClassId $educationClassId -EducationModuleId $educationModuleId - -``` -This example shows how to use the Publish-MgBetaEducationClassModule Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Publish-MgBetaEducationMeAssignment.md b/src/Beta.Education/beta/examples/Publish-MgBetaEducationMeAssignment.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Publish-MgBetaEducationMeAssignment.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Publish-MgBetaEducationUserAssignment.md b/src/Beta.Education/beta/examples/Publish-MgBetaEducationUserAssignment.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Publish-MgBetaEducationUserAssignment.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Reset-MgBetaEducationSynchronizationProfile.md b/src/Beta.Education/beta/examples/Reset-MgBetaEducationSynchronizationProfile.md deleted file mode 100644 index c1162bccfb..0000000000 --- a/src/Beta.Education/beta/examples/Reset-MgBetaEducationSynchronizationProfile.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Reset-MgBetaEducationSynchronizationProfile -EducationSynchronizationProfileId $educationSynchronizationProfileId - -``` -This example shows how to use the Reset-MgBetaEducationSynchronizationProfile Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Resume-MgBetaEducationSynchronizationProfile.md b/src/Beta.Education/beta/examples/Resume-MgBetaEducationSynchronizationProfile.md deleted file mode 100644 index e9a3c4205c..0000000000 --- a/src/Beta.Education/beta/examples/Resume-MgBetaEducationSynchronizationProfile.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Resume-MgBetaEducationSynchronizationProfile -EducationSynchronizationProfileId $educationSynchronizationProfileId - -``` -This example shows how to use the Resume-MgBetaEducationSynchronizationProfile Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Set-MgBetaEducationClassAssignmentSubmissionUpResourceFolder.md b/src/Beta.Education/beta/examples/Set-MgBetaEducationClassAssignmentSubmissionUpResourceFolder.md deleted file mode 100644 index afc0e5ee99..0000000000 --- a/src/Beta.Education/beta/examples/Set-MgBetaEducationClassAssignmentSubmissionUpResourceFolder.md +++ /dev/null @@ -1,42 +0,0 @@ -### Example 1: Set up a resource folder for a submission - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -$params = @{ -} - -Set-MgBetaEducationClassAssignmentSubmissionUpResourceFolder -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params - -``` -This example will set up a resource folder for a submission - -### Example 2: Set up a resource folder when the assignment is no longer open for submission - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -$params = @{ -} - -Set-MgBetaEducationClassAssignmentSubmissionUpResourceFolder -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params - -``` -This example will set up a resource folder when the assignment is no longer open for submission - -### Example 3: Set up a resource folder when the assignment is already in submitted state - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -$params = @{ -} - -Set-MgBetaEducationClassAssignmentSubmissionUpResourceFolder -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params - -``` -This example will set up a resource folder when the assignment is already in submitted state - diff --git a/src/Beta.Education/beta/examples/Set-MgBetaEducationClassAssignmentUpFeedbackResourceFolder.md b/src/Beta.Education/beta/examples/Set-MgBetaEducationClassAssignmentUpFeedbackResourceFolder.md deleted file mode 100644 index aa6cd823e0..0000000000 --- a/src/Beta.Education/beta/examples/Set-MgBetaEducationClassAssignmentUpFeedbackResourceFolder.md +++ /dev/null @@ -1,14 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -$params = @{ -} - -Set-MgBetaEducationClassAssignmentUpFeedbackResourceFolder -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params - -``` -This example shows how to use the Set-MgBetaEducationClassAssignmentUpFeedbackResourceFolder Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Set-MgBetaEducationClassAssignmentUpResourceFolder.md b/src/Beta.Education/beta/examples/Set-MgBetaEducationClassAssignmentUpResourceFolder.md deleted file mode 100644 index b437c11d47..0000000000 --- a/src/Beta.Education/beta/examples/Set-MgBetaEducationClassAssignmentUpResourceFolder.md +++ /dev/null @@ -1,14 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -$params = @{ -} - -Set-MgBetaEducationClassAssignmentUpResourceFolder -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params - -``` -This example shows how to use the Set-MgBetaEducationClassAssignmentUpResourceFolder Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Set-MgBetaEducationClassModuleUpResourceFolder.md b/src/Beta.Education/beta/examples/Set-MgBetaEducationClassModuleUpResourceFolder.md deleted file mode 100644 index 2ba571beea..0000000000 --- a/src/Beta.Education/beta/examples/Set-MgBetaEducationClassModuleUpResourceFolder.md +++ /dev/null @@ -1,14 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -$params = @{ -} - -Set-MgBetaEducationClassModuleUpResourceFolder -EducationClassId $educationClassId -EducationModuleId $educationModuleId -BodyParameter $params - -``` -This example shows how to use the Set-MgBetaEducationClassModuleUpResourceFolder Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Set-MgBetaEducationMeAssignmentSubmissionUpResourceFolder.md b/src/Beta.Education/beta/examples/Set-MgBetaEducationMeAssignmentSubmissionUpResourceFolder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Set-MgBetaEducationMeAssignmentSubmissionUpResourceFolder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Set-MgBetaEducationMeAssignmentUpFeedbackResourceFolder.md b/src/Beta.Education/beta/examples/Set-MgBetaEducationMeAssignmentUpFeedbackResourceFolder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Set-MgBetaEducationMeAssignmentUpFeedbackResourceFolder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Set-MgBetaEducationMeAssignmentUpResourceFolder.md b/src/Beta.Education/beta/examples/Set-MgBetaEducationMeAssignmentUpResourceFolder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Set-MgBetaEducationMeAssignmentUpResourceFolder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Set-MgBetaEducationUserAssignmentSubmissionUpResourceFolder.md b/src/Beta.Education/beta/examples/Set-MgBetaEducationUserAssignmentSubmissionUpResourceFolder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Set-MgBetaEducationUserAssignmentSubmissionUpResourceFolder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Set-MgBetaEducationUserAssignmentUpFeedbackResourceFolder.md b/src/Beta.Education/beta/examples/Set-MgBetaEducationUserAssignmentUpFeedbackResourceFolder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Set-MgBetaEducationUserAssignmentUpFeedbackResourceFolder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Set-MgBetaEducationUserAssignmentUpResourceFolder.md b/src/Beta.Education/beta/examples/Set-MgBetaEducationUserAssignmentUpResourceFolder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Set-MgBetaEducationUserAssignmentUpResourceFolder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Start-MgBetaEducationSynchronizationProfile.md b/src/Beta.Education/beta/examples/Start-MgBetaEducationSynchronizationProfile.md deleted file mode 100644 index f63c19a414..0000000000 --- a/src/Beta.Education/beta/examples/Start-MgBetaEducationSynchronizationProfile.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Start-MgBetaEducationSynchronizationProfile -EducationSynchronizationProfileId $educationSynchronizationProfileId - -``` -This example shows how to use the Start-MgBetaEducationSynchronizationProfile Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Submit-MgBetaEducationClassAssignmentSubmission.md b/src/Beta.Education/beta/examples/Submit-MgBetaEducationClassAssignmentSubmission.md deleted file mode 100644 index 446372fed4..0000000000 --- a/src/Beta.Education/beta/examples/Submit-MgBetaEducationClassAssignmentSubmission.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Submit-MgBetaEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId - -``` -This example shows how to use the Submit-MgBetaEducationClassAssignmentSubmission Cmdlet. - diff --git a/src/Beta.Education/beta/examples/Submit-MgBetaEducationMeAssignmentSubmission.md b/src/Beta.Education/beta/examples/Submit-MgBetaEducationMeAssignmentSubmission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Submit-MgBetaEducationMeAssignmentSubmission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Submit-MgBetaEducationUserAssignmentSubmission.md b/src/Beta.Education/beta/examples/Submit-MgBetaEducationUserAssignmentSubmission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Education/beta/examples/Submit-MgBetaEducationUserAssignmentSubmission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Education/beta/examples/Suspend-MgBetaEducationSynchronizationProfile.md b/src/Beta.Education/beta/examples/Suspend-MgBetaEducationSynchronizationProfile.md deleted file mode 100644 index bdeeb57810..0000000000 --- a/src/Beta.Education/beta/examples/Suspend-MgBetaEducationSynchronizationProfile.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Education - -Suspend-MgBetaEducationSynchronizationProfile -EducationSynchronizationProfileId $educationSynchronizationProfileId - -``` -This example shows how to use the Suspend-MgBetaEducationSynchronizationProfile Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Add-MgBetaDriveListContentTypeCopy.md b/src/Beta.Files/beta/examples/Add-MgBetaDriveListContentTypeCopy.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Add-MgBetaDriveListContentTypeCopy.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Add-MgBetaDriveListContentTypeCopyFromContentTypeHub.md b/src/Beta.Files/beta/examples/Add-MgBetaDriveListContentTypeCopyFromContentTypeHub.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Add-MgBetaDriveListContentTypeCopyFromContentTypeHub.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Add-MgBetaShareListContentTypeCopy.md b/src/Beta.Files/beta/examples/Add-MgBetaShareListContentTypeCopy.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Add-MgBetaShareListContentTypeCopy.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Add-MgBetaShareListContentTypeCopyFromContentTypeHub.md b/src/Beta.Files/beta/examples/Add-MgBetaShareListContentTypeCopyFromContentTypeHub.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Add-MgBetaShareListContentTypeCopyFromContentTypeHub.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Copy-MgBetaDriveItem.md b/src/Beta.Files/beta/examples/Copy-MgBetaDriveItem.md deleted file mode 100644 index 1daa9b7029..0000000000 --- a/src/Beta.Files/beta/examples/Copy-MgBetaDriveItem.md +++ /dev/null @@ -1,74 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - parentReference = @{ - driveId = "6F7D00BF-FC4D-4E62-9769-6AEA81F3A21B" - id = "DCD0D3AD-8989-4F23-A5A2-2C086050513F" - } - name = "contoso plan (copy).txt" -} - -Copy-MgBetaDriveItem -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaDriveItem Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - parentReference = @{ - driveId = "6F7D00BF-FC4D-4E62-9769-6AEA81F3A21B" - id = "DCD0D3AD-8989-4F23-A5A2-2C086050513F" - } - childrenOnly = $true -} - -Copy-MgBetaDriveItem -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaDriveItem Cmdlet. - -### Example 3: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - parentReference = @{ - driveId = "6F7D00BF-FC4D-4E62-9769-6AEA81F3A21B" - id = "DCD0D3AD-8989-4F23-A5A2-2C086050513F" - } -} - -Copy-MgBetaDriveItem -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaDriveItem Cmdlet. - -### Example 4: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - parentReference = @{ - driveId = "6F7D00BF-FC4D-4E62-9769-6AEA81F3A21B" - id = "DCD0D3AD-8989-4F23-A5A2-2C086050513F" - } -} - -Copy-MgBetaDriveItem -DriveId $driveId -DriveItemId $driveItemId -@microsoft.graph.conflictbehavior "replace" -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaDriveItem Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Copy-MgBetaDriveListContentTypeToDefaultContentLocation.md b/src/Beta.Files/beta/examples/Copy-MgBetaDriveListContentTypeToDefaultContentLocation.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Copy-MgBetaDriveListContentTypeToDefaultContentLocation.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Copy-MgBetaDriveRoot.md b/src/Beta.Files/beta/examples/Copy-MgBetaDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Copy-MgBetaDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Copy-MgBetaShareListContentTypeToDefaultContentLocation.md b/src/Beta.Files/beta/examples/Copy-MgBetaShareListContentTypeToDefaultContentLocation.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Copy-MgBetaShareListContentTypeToDefaultContentLocation.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Get-MgBetaDriveItemActivityByInterval.md b/src/Beta.Files/beta/examples/Get-MgBetaDriveItemActivityByInterval.md deleted file mode 100644 index 8a6fa11163..0000000000 --- a/src/Beta.Files/beta/examples/Get-MgBetaDriveItemActivityByInterval.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Get-MgBetaDriveItemActivityByInterval -DriveId $driveId -DriveItemId $driveItemId - -``` -This example shows how to use the Get-MgBetaDriveItemActivityByInterval Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Get-MgBetaDriveItemDelta.md b/src/Beta.Files/beta/examples/Get-MgBetaDriveItemDelta.md deleted file mode 100644 index 281fdebfc3..0000000000 --- a/src/Beta.Files/beta/examples/Get-MgBetaDriveItemDelta.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Get-MgBetaDriveItemDelta -DriveId $driveId -DriveItemId $driveItemId - -``` -This example shows how to use the Get-MgBetaDriveItemDelta Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Get-MgBetaDriveItemDelta -DriveId $driveId -DriveItemId $driveItemId -Token "latest" - -``` -This example shows how to use the Get-MgBetaDriveItemDelta Cmdlet. - -### Example 3: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Get-MgBetaDriveItemDelta -DriveId $driveId -DriveItemId $driveItemId -Token "2021-09-29T20:00:00Z" - -``` -This example shows how to use the Get-MgBetaDriveItemDelta Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Get-MgBetaDriveListContentTypeCompatibleHubContentType.md b/src/Beta.Files/beta/examples/Get-MgBetaDriveListContentTypeCompatibleHubContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Get-MgBetaDriveListContentTypeCompatibleHubContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Get-MgBetaDriveListItemDelta.md b/src/Beta.Files/beta/examples/Get-MgBetaDriveListItemDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Get-MgBetaDriveListItemDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Get-MgBetaDriveRootActivityByInterval.md b/src/Beta.Files/beta/examples/Get-MgBetaDriveRootActivityByInterval.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Get-MgBetaDriveRootActivityByInterval.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Get-MgBetaDriveRootDelta.md b/src/Beta.Files/beta/examples/Get-MgBetaDriveRootDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Get-MgBetaDriveRootDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Get-MgBetaShareListContentTypeCompatibleHubContentType.md b/src/Beta.Files/beta/examples/Get-MgBetaShareListContentTypeCompatibleHubContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Get-MgBetaShareListContentTypeCompatibleHubContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Get-MgBetaShareListItemDelta.md b/src/Beta.Files/beta/examples/Get-MgBetaShareListItemDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Get-MgBetaShareListItemDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Get-MgBetaShareSharedDriveItemSharedDriveItem.md b/src/Beta.Files/beta/examples/Get-MgBetaShareSharedDriveItemSharedDriveItem.md deleted file mode 100644 index 7d0d4727f0..0000000000 --- a/src/Beta.Files/beta/examples/Get-MgBetaShareSharedDriveItemSharedDriveItem.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Get-MgBetaShareSharedDriveItemSharedDriveItem -SharedDriveItemId $sharedDriveItemId - -``` -This example shows how to use the Get-MgBetaShareSharedDriveItemSharedDriveItem Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Grant-MgBetaDriveItemPermission.md b/src/Beta.Files/beta/examples/Grant-MgBetaDriveItemPermission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Grant-MgBetaDriveItemPermission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Grant-MgBetaDriveRootPermission.md b/src/Beta.Files/beta/examples/Grant-MgBetaDriveRootPermission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Grant-MgBetaDriveRootPermission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Grant-MgBetaSharePermission.md b/src/Beta.Files/beta/examples/Grant-MgBetaSharePermission.md deleted file mode 100644 index bdceb83648..0000000000 --- a/src/Beta.Files/beta/examples/Grant-MgBetaSharePermission.md +++ /dev/null @@ -1,25 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - recipients = @( - @{ - email = "john@contoso.com" - } - @{ - email = "ryan@external.com" - } - ) - roles = @( - "read" -) -} - -Grant-MgBetaSharePermission -SharedDriveItemId $sharedDriveItemId -BodyParameter $params - -``` -This example shows how to use the Grant-MgBetaSharePermission Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaCheckinDriveItem.md b/src/Beta.Files/beta/examples/Invoke-MgBetaCheckinDriveItem.md deleted file mode 100644 index 4f11b58efc..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaCheckinDriveItem.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - comment = "Updating the latest guidelines" -} - -Invoke-MgBetaCheckinDriveItem -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaCheckinDriveItem Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaCheckinDriveRoot.md b/src/Beta.Files/beta/examples/Invoke-MgBetaCheckinDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaCheckinDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaCheckoutDriveItem.md b/src/Beta.Files/beta/examples/Invoke-MgBetaCheckoutDriveItem.md deleted file mode 100644 index ef7d8692a8..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaCheckoutDriveItem.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Invoke-MgBetaCheckoutDriveItem -DriveId $driveId -DriveItemId $driveItemId - -``` -This example shows how to use the Invoke-MgBetaCheckoutDriveItem Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaCheckoutDriveRoot.md b/src/Beta.Files/beta/examples/Invoke-MgBetaCheckoutDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaCheckoutDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaFollowDriveItem.md b/src/Beta.Files/beta/examples/Invoke-MgBetaFollowDriveItem.md deleted file mode 100644 index 84e188baf0..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaFollowDriveItem.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Invoke-MgBetaFollowDriveItem -DriveId $driveId -DriveItemId $driveItemId - -``` -This example shows how to use the Invoke-MgBetaFollowDriveItem Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaFollowDriveRoot.md b/src/Beta.Files/beta/examples/Invoke-MgBetaFollowDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaFollowDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaGraphDrive.md b/src/Beta.Files/beta/examples/Invoke-MgBetaGraphDrive.md deleted file mode 100644 index 297e8575bb..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaGraphDrive.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Get driveItems shared with me - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Invoke-MgBetaGraphDrive -DriveId $driveId - -``` -This example will get driveitems shared with me - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaInviteDriveItem.md b/src/Beta.Files/beta/examples/Invoke-MgBetaInviteDriveItem.md deleted file mode 100644 index 3365bbe75e..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaInviteDriveItem.md +++ /dev/null @@ -1,27 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - recipients = @( - @{ - email = "robin@contoso.org" - } - ) - message = "Here's the file that we're collaborating on." - requireSignIn = $true - sendInvitation = $true - roles = @( - "write" -) -password = "password123" -expirationDateTime = "2018-07-15T14:00:00.000Z" -} - -Invoke-MgBetaInviteDriveItem -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaInviteDriveItem Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaInviteDriveRoot.md b/src/Beta.Files/beta/examples/Invoke-MgBetaInviteDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaInviteDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeDriveItemSubscription.md b/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeDriveItemSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeDriveItemSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeDriveListSubscription.md b/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeDriveListSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeDriveListSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeDriveRootSubscription.md b/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeDriveRootSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeDriveRootSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeShareListSubscription.md b/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeShareListSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaReauthorizeShareListSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaRecentDrive.md b/src/Beta.Files/beta/examples/Invoke-MgBetaRecentDrive.md deleted file mode 100644 index aa0c4854f8..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaRecentDrive.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Invoke-MgBetaRecentDrive -DriveId $driveId - -``` -This example shows how to use the Invoke-MgBetaRecentDrive Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaUnfollowDriveItem.md b/src/Beta.Files/beta/examples/Invoke-MgBetaUnfollowDriveItem.md deleted file mode 100644 index 8d13088a0c..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaUnfollowDriveItem.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Invoke-MgBetaUnfollowDriveItem -DriveId $driveId -DriveItemId $driveItemId - -``` -This example shows how to use the Invoke-MgBetaUnfollowDriveItem Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Invoke-MgBetaUnfollowDriveRoot.md b/src/Beta.Files/beta/examples/Invoke-MgBetaUnfollowDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Invoke-MgBetaUnfollowDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Join-MgBetaDriveListContentTypeWithHubSite.md b/src/Beta.Files/beta/examples/Join-MgBetaDriveListContentTypeWithHubSite.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Join-MgBetaDriveListContentTypeWithHubSite.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Join-MgBetaShareListContentTypeWithHubSite.md b/src/Beta.Files/beta/examples/Join-MgBetaShareListContentTypeWithHubSite.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Join-MgBetaShareListContentTypeWithHubSite.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/New-MgBetaDriveItemLink.md b/src/Beta.Files/beta/examples/New-MgBetaDriveItemLink.md deleted file mode 100644 index 3e8075d19a..0000000000 --- a/src/Beta.Files/beta/examples/New-MgBetaDriveItemLink.md +++ /dev/null @@ -1,55 +0,0 @@ -### Example 1: Create an anonymous sharing link - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - type = "view" - scope = "anonymous" - password = "String" - recipients = @( - @{ - "@odata.type" = "microsoft.graph.driveRecipient" - } - ) - sendNotification = $true - retainInheritedPermissions = $false -} - -New-MgBetaDriveItemLink -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params - -``` -This example will create an anonymous sharing link - -### Example 2: Creating company sharable links - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - type = "edit" - scope = "organization" -} - -New-MgBetaDriveItemLink -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params - -``` -This example shows creating company sharable links - -### Example 3: Creating embeddable links - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - type = "embed" -} - -New-MgBetaDriveItemLink -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params - -``` -This example shows creating embeddable links - diff --git a/src/Beta.Files/beta/examples/New-MgBetaDriveItemListItemLink.md b/src/Beta.Files/beta/examples/New-MgBetaDriveItemListItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/New-MgBetaDriveItemListItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/New-MgBetaDriveListItemLink.md b/src/Beta.Files/beta/examples/New-MgBetaDriveListItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/New-MgBetaDriveListItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/New-MgBetaDriveRootLink.md b/src/Beta.Files/beta/examples/New-MgBetaDriveRootLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/New-MgBetaDriveRootLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/New-MgBetaDriveRootListItemLink.md b/src/Beta.Files/beta/examples/New-MgBetaDriveRootListItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/New-MgBetaDriveRootListItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Publish-MgBetaDriveListContentType.md b/src/Beta.Files/beta/examples/Publish-MgBetaDriveListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Publish-MgBetaDriveListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Publish-MgBetaShareListContentType.md b/src/Beta.Files/beta/examples/Publish-MgBetaShareListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Publish-MgBetaShareListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Restore-MgBetaDriveItem.md b/src/Beta.Files/beta/examples/Restore-MgBetaDriveItem.md deleted file mode 100644 index 6652347874..0000000000 --- a/src/Beta.Files/beta/examples/Restore-MgBetaDriveItem.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - parentReference = @{ - id = "String" - } - name = "String" -} - -Restore-MgBetaDriveItem -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params - -``` -This example shows how to use the Restore-MgBetaDriveItem Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Restore-MgBetaDriveItemListItemDocumentSetVersion.md b/src/Beta.Files/beta/examples/Restore-MgBetaDriveItemListItemDocumentSetVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Restore-MgBetaDriveItemListItemDocumentSetVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Restore-MgBetaDriveItemVersion.md b/src/Beta.Files/beta/examples/Restore-MgBetaDriveItemVersion.md deleted file mode 100644 index ab62c1bd04..0000000000 --- a/src/Beta.Files/beta/examples/Restore-MgBetaDriveItemVersion.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Restore-MgBetaDriveItemVersion -DriveId $driveId -DriveItemId $driveItemId -DriveItemVersionId $driveItemVersionId - -``` -This example shows how to use the Restore-MgBetaDriveItemVersion Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Restore-MgBetaDriveListItemDocumentSetVersion.md b/src/Beta.Files/beta/examples/Restore-MgBetaDriveListItemDocumentSetVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Restore-MgBetaDriveListItemDocumentSetVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Restore-MgBetaDriveRoot.md b/src/Beta.Files/beta/examples/Restore-MgBetaDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Restore-MgBetaDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Restore-MgBetaDriveRootListItemDocumentSetVersion.md b/src/Beta.Files/beta/examples/Restore-MgBetaDriveRootListItemDocumentSetVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Restore-MgBetaDriveRootListItemDocumentSetVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Restore-MgBetaDriveRootVersion.md b/src/Beta.Files/beta/examples/Restore-MgBetaDriveRootVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Restore-MgBetaDriveRootVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Restore-MgBetaShareListItemDocumentSetVersion.md b/src/Beta.Files/beta/examples/Restore-MgBetaShareListItemDocumentSetVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Restore-MgBetaShareListItemDocumentSetVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Revoke-MgBetaDriveItemPermissionGrant.md b/src/Beta.Files/beta/examples/Revoke-MgBetaDriveItemPermissionGrant.md deleted file mode 100644 index 73d9bedbd0..0000000000 --- a/src/Beta.Files/beta/examples/Revoke-MgBetaDriveItemPermissionGrant.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -$params = @{ - grantees = @( - @{ - email = "ryan@contoso.com" - } - ) -} - -Revoke-MgBetaDriveItemPermissionGrant -DriveId $driveId -DriveItemId $driveItemId -PermissionId $permissionId -BodyParameter $params - -``` -This example shows how to use the Revoke-MgBetaDriveItemPermissionGrant Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Revoke-MgBetaDriveRootPermissionGrant.md b/src/Beta.Files/beta/examples/Revoke-MgBetaDriveRootPermissionGrant.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Revoke-MgBetaDriveRootPermissionGrant.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Revoke-MgBetaSharePermissionGrant.md b/src/Beta.Files/beta/examples/Revoke-MgBetaSharePermissionGrant.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Revoke-MgBetaSharePermissionGrant.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Search-MgBetaDrive.md b/src/Beta.Files/beta/examples/Search-MgBetaDrive.md deleted file mode 100644 index 4717e3b704..0000000000 --- a/src/Beta.Files/beta/examples/Search-MgBetaDrive.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Search-MgBetaDrive -DriveId $driveId - -``` -This example shows how to use the Search-MgBetaDrive Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Search-MgBetaDriveItem.md b/src/Beta.Files/beta/examples/Search-MgBetaDriveItem.md deleted file mode 100644 index fa3e804fe3..0000000000 --- a/src/Beta.Files/beta/examples/Search-MgBetaDriveItem.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Files - -Search-MgBetaDriveItem -DriveId $driveId -DriveItemId $driveItemId - -``` -This example shows how to use the Search-MgBetaDriveItem Cmdlet. - diff --git a/src/Beta.Files/beta/examples/Search-MgBetaDriveRoot.md b/src/Beta.Files/beta/examples/Search-MgBetaDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Search-MgBetaDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Test-MgBetaDriveListContentTypePublished.md b/src/Beta.Files/beta/examples/Test-MgBetaDriveListContentTypePublished.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Test-MgBetaDriveListContentTypePublished.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Test-MgBetaShareListContentTypePublished.md b/src/Beta.Files/beta/examples/Test-MgBetaShareListContentTypePublished.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Test-MgBetaShareListContentTypePublished.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Unpublish-MgBetaDriveListContentType.md b/src/Beta.Files/beta/examples/Unpublish-MgBetaDriveListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Unpublish-MgBetaDriveListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Files/beta/examples/Unpublish-MgBetaShareListContentType.md b/src/Beta.Files/beta/examples/Unpublish-MgBetaShareListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Files/beta/examples/Unpublish-MgBetaShareListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Add-MgBetaGroupDriveListContentTypeCopy.md b/src/Beta.Groups/beta/examples/Add-MgBetaGroupDriveListContentTypeCopy.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Add-MgBetaGroupDriveListContentTypeCopy.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Add-MgBetaGroupDriveListContentTypeCopyFromContentTypeHub.md b/src/Beta.Groups/beta/examples/Add-MgBetaGroupDriveListContentTypeCopyFromContentTypeHub.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Add-MgBetaGroupDriveListContentTypeCopyFromContentTypeHub.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Add-MgBetaGroupFavorite.md b/src/Beta.Groups/beta/examples/Add-MgBetaGroupFavorite.md deleted file mode 100644 index 0e4cede624..0000000000 --- a/src/Beta.Groups/beta/examples/Add-MgBetaGroupFavorite.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Add-MgBetaGroupFavorite -GroupId $groupId - -``` -This example shows how to use the Add-MgBetaGroupFavorite Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Add-MgBetaGroupSite.md b/src/Beta.Groups/beta/examples/Add-MgBetaGroupSite.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Add-MgBetaGroupSite.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteContentTypeCopy.md b/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteContentTypeCopy.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteContentTypeCopy.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteContentTypeCopyFromContentTypeHub.md b/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteContentTypeCopyFromContentTypeHub.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteContentTypeCopyFromContentTypeHub.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteListContentTypeCopy.md b/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteListContentTypeCopy.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteListContentTypeCopy.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteListContentTypeCopyFromContentTypeHub.md b/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteListContentTypeCopyFromContentTypeHub.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Add-MgBetaGroupSiteListContentTypeCopyFromContentTypeHub.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Confirm-MgBetaGroupMemberGroup.md b/src/Beta.Groups/beta/examples/Confirm-MgBetaGroupMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Confirm-MgBetaGroupMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupDriveItem.md b/src/Beta.Groups/beta/examples/Copy-MgBetaGroupDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupDriveListContentTypeToDefaultContentLocation.md b/src/Beta.Groups/beta/examples/Copy-MgBetaGroupDriveListContentTypeToDefaultContentLocation.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupDriveListContentTypeToDefaultContentLocation.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupDriveRoot.md b/src/Beta.Groups/beta/examples/Copy-MgBetaGroupDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenoteNotebook.md b/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenoteNotebook.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenoteNotebook.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenotePageToSection.md b/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenotePageToSection.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenotePageToSection.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenoteSectionToNotebook.md b/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenoteSectionToNotebook.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenoteSectionToNotebook.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenoteSectionToSectionGroup.md b/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenoteSectionToSectionGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupOnenoteSectionToSectionGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupSiteContentTypeToDefaultContentLocation.md b/src/Beta.Groups/beta/examples/Copy-MgBetaGroupSiteContentTypeToDefaultContentLocation.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupSiteContentTypeToDefaultContentLocation.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupSiteListContentTypeToDefaultContentLocation.md b/src/Beta.Groups/beta/examples/Copy-MgBetaGroupSiteListContentTypeToDefaultContentLocation.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Copy-MgBetaGroupSiteListContentTypeToDefaultContentLocation.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaAllGroupSite.md b/src/Beta.Groups/beta/examples/Get-MgBetaAllGroupSite.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaAllGroupSite.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroup.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroup.md deleted file mode 100644 index 3d50bb8b73..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroup.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Get-MgBetaGroup -GroupId $groupId - -``` -This example shows how to use the Get-MgBetaGroup Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Get-MgBetaGroup -GroupId $groupId -Property "allowExternalSenders,autoSubscribeNewMembers,isSubscribedByMail,unseenCount" - -``` -This example shows how to use the Get-MgBetaGroup Cmdlet. - -### Example 3: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Get-MgBetaGroup -GroupId $groupId -Property "isManagementRestricted" - -``` -This example shows how to use the Get-MgBetaGroup Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupById.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupByUniqueName.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupByUniqueName.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupByUniqueName.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupCalendarEventDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupCalendarEventDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupCalendarSchedule.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupCalendarSchedule.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupCalendarSchedule.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupDelta.md deleted file mode 100644 index e5d1c4ba9c..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDelta.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Get-MgBetaGroupDelta - -``` -This example shows how to use the Get-MgBetaGroupDelta Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Get-MgBetaGroupDelta -Property "displayName,description,mailNickname" - -``` -This example shows how to use the Get-MgBetaGroupDelta Cmdlet. - -### Example 3: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Get-MgBetaGroupDelta -Property "displayName,description,mailNickname" - -``` -This example shows how to use the Get-MgBetaGroupDelta Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveItemActivityByInterval.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveItemActivityByInterval.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveItemActivityByInterval.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveItemDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveItemDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveItemDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveListContentTypeCompatibleHubContentType.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveListContentTypeCompatibleHubContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveListContentTypeCompatibleHubContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveListItemDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveListItemDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveListItemDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveRootActivityByInterval.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveRootActivityByInterval.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveRootActivityByInterval.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveRootDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveRootDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupDriveRootDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupEventDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupEventDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupLifecyclePolicy.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupLifecyclePolicy.md deleted file mode 100644 index 810ca5a0b7..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupLifecyclePolicy.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Get-MgBetaGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId - -``` -This example shows how to use the Get-MgBetaGroupLifecyclePolicy Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupMemberGroup.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupOnenoteNotebookFromWebUrl.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupOnenoteNotebookFromWebUrl.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupOnenoteNotebookFromWebUrl.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupOnenoteRecentNotebook.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupOnenoteRecentNotebook.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupOnenoteRecentNotebook.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupPlannerPlanBucketDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupPlannerPlanBucketDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupPlannerPlanBucketTaskDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupPlannerPlanBucketTaskDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupPlannerPlanBucketTaskDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupPlannerPlanDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupPlannerPlanDelta.md deleted file mode 100644 index 4898190cdb..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupPlannerPlanDelta.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Get delta on plans in a group - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Get-MgBetaGroupPlannerPlanDelta -GroupId $groupId - -``` -This example will get delta on plans in a group - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupPlannerPlanTaskDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupPlannerPlanTaskDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupPlannerPlanTaskDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteApplicableContentTypeForList.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteApplicableContentTypeForList.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteApplicableContentTypeForList.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteContentTypeCompatibleHubContentType.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteContentTypeCompatibleHubContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteContentTypeCompatibleHubContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteGetByPathApplicableContentTypeForList.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteGetByPathApplicableContentTypeForList.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteGetByPathApplicableContentTypeForList.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteListContentTypeCompatibleHubContentType.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteListContentTypeCompatibleHubContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteListContentTypeCompatibleHubContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteListItemDelta.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteListItemDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Get-MgBetaGroupSiteListItemDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Get-MgBetaGroupUserOwnedObject.md b/src/Beta.Groups/beta/examples/Get-MgBetaGroupUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Groups/beta/examples/Grant-MgBetaGroupDriveItemPermission.md b/src/Beta.Groups/beta/examples/Grant-MgBetaGroupDriveItemPermission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Grant-MgBetaGroupDriveItemPermission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Grant-MgBetaGroupDriveRootPermission.md b/src/Beta.Groups/beta/examples/Grant-MgBetaGroupDriveRootPermission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Grant-MgBetaGroupDriveRootPermission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Grant-MgBetaGroupSitePermission.md b/src/Beta.Groups/beta/examples/Grant-MgBetaGroupSitePermission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Grant-MgBetaGroupSitePermission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupCalendarEvent.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupCalendarEvent.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupCalendarEvent.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupCalendarEventTentatively.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupCalendarEventTentatively.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupCalendarEventTentatively.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupEvent.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupEvent.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupEvent.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupEventTentatively.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupEventTentatively.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaAcceptGroupEventTentatively.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckinGroupDriveItem.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckinGroupDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckinGroupDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckinGroupDriveRoot.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckinGroupDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckinGroupDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckoutGroupDriveItem.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckoutGroupDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckoutGroupDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckoutGroupDriveRoot.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckoutGroupDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaCheckoutGroupDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaDeclineGroupCalendarEvent.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaDeclineGroupCalendarEvent.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaDeclineGroupCalendarEvent.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaDeclineGroupEvent.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaDeclineGroupEvent.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaDeclineGroupEvent.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaDismissGroupCalendarEventReminder.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaDismissGroupCalendarEventReminder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaDismissGroupCalendarEventReminder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaDismissGroupEventReminder.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaDismissGroupEventReminder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaDismissGroupEventReminder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaExtractGroupSiteInformationProtectionPolicyLabel.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaExtractGroupSiteInformationProtectionPolicyLabel.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaExtractGroupSiteInformationProtectionPolicyLabel.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaFollowGroupDriveItem.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaFollowGroupDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaFollowGroupDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaFollowGroupDriveRoot.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaFollowGroupDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaFollowGroupDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupCalendarEvent.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupCalendarEvent.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupCalendarEvent.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPost.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPost.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPost.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPostInReplyTo.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPostInReplyTo.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPostInReplyTo.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupEvent.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupEvent.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupEvent.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupThreadPost.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupThreadPost.md deleted file mode 100644 index 6a5a41bf97..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupThreadPost.md +++ /dev/null @@ -1,23 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - comment = "comment-value" - toRecipients = @( - @{ - emailAddress = @{ - name = "name-value" - address = "address-value" - } - } - ) -} - -Invoke-MgBetaForwardGroupThreadPost -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaForwardGroupThreadPost Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupThreadPostInReplyTo.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupThreadPostInReplyTo.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaForwardGroupThreadPostInReplyTo.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaGraphGroup.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaGraphGroup.md deleted file mode 100644 index d3251e2070..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaGraphGroup.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Invoke-MgBetaGraphGroup -GroupId $groupId - -``` -This example shows how to use the Invoke-MgBetaGraphGroup Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaGraphGroupDrive.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaGraphGroupDrive.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaGraphGroupDrive.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaInviteGroupDriveItem.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaInviteGroupDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaInviteGroupDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaInviteGroupDriveRoot.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaInviteGroupDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaInviteGroupDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupDriveItemSubscription.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupDriveItemSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupDriveItemSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupDriveListSubscription.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupDriveListSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupDriveListSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupDriveRootSubscription.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupDriveRootSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupDriveRootSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupSiteListSubscription.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupSiteListSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaReauthorizeGroupSiteListSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaRecentGroupDrive.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaRecentGroupDrive.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaRecentGroupDrive.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaRenewGroup.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaRenewGroup.md deleted file mode 100644 index 2a8fd1d2ce..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaRenewGroup.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Invoke-MgBetaRenewGroup -GroupId $groupId - -``` -This example shows how to use the Invoke-MgBetaRenewGroup Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaRenewGroupLifecyclePolicy.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaRenewGroupLifecyclePolicy.md deleted file mode 100644 index 4374078bcb..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaRenewGroupLifecyclePolicy.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - groupId = "ffffffff-ffff-ffff-ffff-ffffffffffff" -} - -Invoke-MgBetaRenewGroupLifecyclePolicy -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaRenewGroupLifecyclePolicy Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaReplyGroupConversationThread.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaReplyGroupConversationThread.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaReplyGroupConversationThread.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaReplyGroupThread.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaReplyGroupThread.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaReplyGroupThread.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaRetryGroupServiceProvisioning.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaRetryGroupServiceProvisioning.md deleted file mode 100644 index fb5b3f4dca..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaRetryGroupServiceProvisioning.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Invoke-MgBetaRetryGroupServiceProvisioning -GroupId $groupId - -``` -This example shows how to use the Invoke-MgBetaRetryGroupServiceProvisioning Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaSnoozeGroupCalendarEventReminder.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaSnoozeGroupCalendarEventReminder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaSnoozeGroupCalendarEventReminder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaSnoozeGroupEventReminder.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaSnoozeGroupEventReminder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaSnoozeGroupEventReminder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaSubscribeGroupByMail.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaSubscribeGroupByMail.md deleted file mode 100644 index 67e3f4a75e..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaSubscribeGroupByMail.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Invoke-MgBetaSubscribeGroupByMail -GroupId $groupId - -``` -This example shows how to use the Invoke-MgBetaSubscribeGroupByMail Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaUnfollowGroupDriveItem.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaUnfollowGroupDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaUnfollowGroupDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Invoke-MgBetaUnfollowGroupDriveRoot.md b/src/Beta.Groups/beta/examples/Invoke-MgBetaUnfollowGroupDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Invoke-MgBetaUnfollowGroupDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Join-MgBetaGroupDriveListContentTypeWithHubSite.md b/src/Beta.Groups/beta/examples/Join-MgBetaGroupDriveListContentTypeWithHubSite.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Join-MgBetaGroupDriveListContentTypeWithHubSite.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Join-MgBetaGroupSiteContentTypeWithHubSite.md b/src/Beta.Groups/beta/examples/Join-MgBetaGroupSiteContentTypeWithHubSite.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Join-MgBetaGroupSiteContentTypeWithHubSite.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Join-MgBetaGroupSiteListContentTypeWithHubSite.md b/src/Beta.Groups/beta/examples/Join-MgBetaGroupSiteListContentTypeWithHubSite.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Join-MgBetaGroupSiteListContentTypeWithHubSite.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Move-MgBetaGroupPlannerPlanToContainer.md b/src/Beta.Groups/beta/examples/Move-MgBetaGroupPlannerPlanToContainer.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Move-MgBetaGroupPlannerPlanToContainer.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroup.md b/src/Beta.Groups/beta/examples/New-MgBetaGroup.md deleted file mode 100644 index 07577488d2..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroup.md +++ /dev/null @@ -1,30 +0,0 @@ -### Example 1: Update an existing group - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - description = "Group assignable to a role" - displayName = "Role assignable group" - groupTypes = @( - "Unified" -) -isAssignableToRole = $true -mailEnabled = $true -securityEnabled = $true -mailNickname = "contosohelpdeskadministrators" -"owners@odata.bind" = @( -"https://graph.microsoft.com/beta/users/99e44b05-c10b-4e95-a523-e2732bbaba1e" -) -"members@odata.bind" = @( -"https://graph.microsoft.com/beta/users/6ea91a8d-e32e-41a1-b7bd-d2d185eed0e0" -"https://graph.microsoft.com/beta/users/4562bcc8-c436-4f95-b7c0-4f8ce89dca5e" -) -} - -New-MgBetaGroup -BodyParameter $params - -``` -This example will update an existing group - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroupConversationThreadPostAttachmentUploadSession.md b/src/Beta.Groups/beta/examples/New-MgBetaGroupConversationThreadPostAttachmentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroupConversationThreadPostAttachmentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroupConversationThreadPostInReplyToAttachmentUploadSession.md b/src/Beta.Groups/beta/examples/New-MgBetaGroupConversationThreadPostInReplyToAttachmentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroupConversationThreadPostInReplyToAttachmentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveItemLink.md b/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveItemListItemLink.md b/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveItemListItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveItemListItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveListItemLink.md b/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveListItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveListItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveRootLink.md b/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveRootLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveRootLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveRootListItemLink.md b/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveRootListItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroupDriveRootListItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroupLifecyclePolicy.md b/src/Beta.Groups/beta/examples/New-MgBetaGroupLifecyclePolicy.md deleted file mode 100644 index 093f7ff2de..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroupLifecyclePolicy.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - groupLifetimeInDays = 100 - managedGroupTypes = "Selected" - alternateNotificationEmails = "admin@contoso.com" -} - -New-MgBetaGroupLifecyclePolicy -BodyParameter $params - -``` -This example shows how to use the New-MgBetaGroupLifecyclePolicy Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroupSiteListItemLink.md b/src/Beta.Groups/beta/examples/New-MgBetaGroupSiteListItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroupSiteListItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroupThreadPostAttachmentUploadSession.md b/src/Beta.Groups/beta/examples/New-MgBetaGroupThreadPostAttachmentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroupThreadPostAttachmentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/New-MgBetaGroupThreadPostInReplyToAttachmentUploadSession.md b/src/Beta.Groups/beta/examples/New-MgBetaGroupThreadPostInReplyToAttachmentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/New-MgBetaGroupThreadPostInReplyToAttachmentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Publish-MgBetaGroupDriveListContentType.md b/src/Beta.Groups/beta/examples/Publish-MgBetaGroupDriveListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Publish-MgBetaGroupDriveListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Publish-MgBetaGroupSiteContentType.md b/src/Beta.Groups/beta/examples/Publish-MgBetaGroupSiteContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Publish-MgBetaGroupSiteContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Publish-MgBetaGroupSiteListContentType.md b/src/Beta.Groups/beta/examples/Publish-MgBetaGroupSiteListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Publish-MgBetaGroupSiteListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Remove-MgBetaGroup.md b/src/Beta.Groups/beta/examples/Remove-MgBetaGroup.md deleted file mode 100644 index 7e76e68b82..0000000000 --- a/src/Beta.Groups/beta/examples/Remove-MgBetaGroup.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Remove-MgBetaGroup -GroupId $groupId - -``` -This example shows how to use the Remove-MgBetaGroup Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Remove-MgBetaGroupByUniqueName.md b/src/Beta.Groups/beta/examples/Remove-MgBetaGroupByUniqueName.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Remove-MgBetaGroupByUniqueName.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Remove-MgBetaGroupFavorite.md b/src/Beta.Groups/beta/examples/Remove-MgBetaGroupFavorite.md deleted file mode 100644 index e18c8d476a..0000000000 --- a/src/Beta.Groups/beta/examples/Remove-MgBetaGroupFavorite.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Remove-MgBetaGroupFavorite -GroupId $groupId - -``` -This example shows how to use the Remove-MgBetaGroupFavorite Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Remove-MgBetaGroupLifecyclePolicy.md b/src/Beta.Groups/beta/examples/Remove-MgBetaGroupLifecyclePolicy.md deleted file mode 100644 index 323eed270b..0000000000 --- a/src/Beta.Groups/beta/examples/Remove-MgBetaGroupLifecyclePolicy.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Remove-MgBetaGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId - -``` -This example shows how to use the Remove-MgBetaGroupLifecyclePolicy Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Remove-MgBetaGroupSite.md b/src/Beta.Groups/beta/examples/Remove-MgBetaGroupSite.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Remove-MgBetaGroupSite.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Reset-MgBetaGroupUnseenCount.md b/src/Beta.Groups/beta/examples/Reset-MgBetaGroupUnseenCount.md deleted file mode 100644 index 7862f507a2..0000000000 --- a/src/Beta.Groups/beta/examples/Reset-MgBetaGroupUnseenCount.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -Reset-MgBetaGroupUnseenCount -GroupId $groupId - -``` -This example shows how to use the Reset-MgBetaGroupUnseenCount Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveItem.md b/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveItemListItemDocumentSetVersion.md b/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveItemListItemDocumentSetVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveItemListItemDocumentSetVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveItemVersion.md b/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveItemVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveItemVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveListItemDocumentSetVersion.md b/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveListItemDocumentSetVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveListItemDocumentSetVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveRoot.md b/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveRootListItemDocumentSetVersion.md b/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveRootListItemDocumentSetVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveRootListItemDocumentSetVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveRootVersion.md b/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveRootVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupDriveRootVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupSiteListItemDocumentSetVersion.md b/src/Beta.Groups/beta/examples/Restore-MgBetaGroupSiteListItemDocumentSetVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Restore-MgBetaGroupSiteListItemDocumentSetVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Revoke-MgBetaGroupDriveItemPermissionGrant.md b/src/Beta.Groups/beta/examples/Revoke-MgBetaGroupDriveItemPermissionGrant.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Revoke-MgBetaGroupDriveItemPermissionGrant.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Revoke-MgBetaGroupDriveRootPermissionGrant.md b/src/Beta.Groups/beta/examples/Revoke-MgBetaGroupDriveRootPermissionGrant.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Revoke-MgBetaGroupDriveRootPermissionGrant.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Revoke-MgBetaGroupSitePermissionGrant.md b/src/Beta.Groups/beta/examples/Revoke-MgBetaGroupSitePermissionGrant.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Revoke-MgBetaGroupSitePermissionGrant.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Search-MgBetaGroupDrive.md b/src/Beta.Groups/beta/examples/Search-MgBetaGroupDrive.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Search-MgBetaGroupDrive.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Search-MgBetaGroupDriveItem.md b/src/Beta.Groups/beta/examples/Search-MgBetaGroupDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Search-MgBetaGroupDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Search-MgBetaGroupDriveRoot.md b/src/Beta.Groups/beta/examples/Search-MgBetaGroupDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Search-MgBetaGroupDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Set-MgBetaGroupLicense.md b/src/Beta.Groups/beta/examples/Set-MgBetaGroupLicense.md deleted file mode 100644 index 467a1adfa4..0000000000 --- a/src/Beta.Groups/beta/examples/Set-MgBetaGroupLicense.md +++ /dev/null @@ -1,51 +0,0 @@ -### Example 1: Add licenses to the group - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - addLicenses = @( - @{ - disabledPlans = @( - "113feb6c-3fe4-4440-bddc-54d774bf0318" - "14ab5db5-e6c4-4b20-b4bc-13e36fd2227f" - ) - skuId = "b05e124f-c7cc-45a0-a6aa-8cf78c946968" -} -@{ - disabledPlans = @( - "a413a9ff-720c-4822-98ef-2f37c2a21f4c" -) -skuId = "c7df2760-2c81-4ef7-b578-5b5392b571df" -} -) -removeLicenses = @( -) -} - -Set-MgBetaGroupLicense -GroupId $groupId -BodyParameter $params - -``` -This example will add licenses to the group - -### Example 2: Remove licenses from the group - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - addLicenses = @( - ) - removeLicenses = @( - "c7df2760-2c81-4ef7-b578-5b5392b571df" -"b05e124f-c7cc-45a0-a6aa-8cf78c946968" -) -} - -Set-MgBetaGroupLicense -GroupId $groupId -BodyParameter $params - -``` -This example will remove licenses from the group - diff --git a/src/Beta.Groups/beta/examples/Stop-MgBetaGroupCalendarEvent.md b/src/Beta.Groups/beta/examples/Stop-MgBetaGroupCalendarEvent.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Stop-MgBetaGroupCalendarEvent.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Stop-MgBetaGroupEvent.md b/src/Beta.Groups/beta/examples/Stop-MgBetaGroupEvent.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Stop-MgBetaGroupEvent.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Test-MgBetaGroupDriveListContentTypePublished.md b/src/Beta.Groups/beta/examples/Test-MgBetaGroupDriveListContentTypePublished.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Test-MgBetaGroupDriveListContentTypePublished.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Test-MgBetaGroupDynamicMembership.md b/src/Beta.Groups/beta/examples/Test-MgBetaGroupDynamicMembership.md deleted file mode 100644 index d36cd7704e..0000000000 --- a/src/Beta.Groups/beta/examples/Test-MgBetaGroupDynamicMembership.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Evaluate if a user or device is a member of an existing group - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - memberId = "319b41e8-d9e4-42f8-bdc9-741113f48b33" -} - -Test-MgBetaGroupDynamicMembership -GroupId $groupId -BodyParameter $params - -``` -This example will evaluate if a user or device is a member of an existing group - diff --git a/src/Beta.Groups/beta/examples/Test-MgBetaGroupDynamicMembershipRule.md b/src/Beta.Groups/beta/examples/Test-MgBetaGroupDynamicMembershipRule.md deleted file mode 100644 index 11de951058..0000000000 --- a/src/Beta.Groups/beta/examples/Test-MgBetaGroupDynamicMembershipRule.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Evaluate if a user or device would be a member of a group based on a membership rule - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - memberId = "319b41e8-d9e4-42f8-bdc9-741113f48b33" - membershipRule = "(user.displayName -startsWith "EndTestUser")" -} - -Test-MgBetaGroupDynamicMembershipRule -BodyParameter $params - -``` -This example will evaluate if a user or device would be a member of a group based on a membership rule - diff --git a/src/Beta.Groups/beta/examples/Test-MgBetaGroupProperty.md b/src/Beta.Groups/beta/examples/Test-MgBetaGroupProperty.md deleted file mode 100644 index 2ab2cd6160..0000000000 --- a/src/Beta.Groups/beta/examples/Test-MgBetaGroupProperty.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - displayName = "Myprefix_test_mysuffix" - mailNickname = "Myprefix_test_mysuffix" - onBehalfOfUserId = "onBehalfOfUserId-value" -} - -Test-MgBetaGroupProperty -GroupId $groupId -BodyParameter $params - -``` -This example shows how to use the Test-MgBetaGroupProperty Cmdlet. - diff --git a/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteContentTypePublished.md b/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteContentTypePublished.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteContentTypePublished.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelApplication.md b/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelApplication.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelApplication.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelClassificationResult.md b/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelClassificationResult.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelClassificationResult.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelRemoval.md b/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelRemoval.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelRemoval.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteListContentTypePublished.md b/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteListContentTypePublished.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Test-MgBetaGroupSiteListContentTypePublished.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Unpublish-MgBetaGroupDriveListContentType.md b/src/Beta.Groups/beta/examples/Unpublish-MgBetaGroupDriveListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Unpublish-MgBetaGroupDriveListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Unpublish-MgBetaGroupSiteContentType.md b/src/Beta.Groups/beta/examples/Unpublish-MgBetaGroupSiteContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Unpublish-MgBetaGroupSiteContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Unpublish-MgBetaGroupSiteListContentType.md b/src/Beta.Groups/beta/examples/Unpublish-MgBetaGroupSiteListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Unpublish-MgBetaGroupSiteListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Update-MgBetaGroup.md b/src/Beta.Groups/beta/examples/Update-MgBetaGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Groups/beta/examples/Update-MgBetaGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Groups/beta/examples/Update-MgBetaGroupByUniqueName.md b/src/Beta.Groups/beta/examples/Update-MgBetaGroupByUniqueName.md deleted file mode 100644 index 8d4d42447f..0000000000 --- a/src/Beta.Groups/beta/examples/Update-MgBetaGroupByUniqueName.md +++ /dev/null @@ -1,50 +0,0 @@ -### Example 1: Create a Microsoft 365 group if it doesn't exist - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - description = "Self help community for golf" - displayName = "Golf Assist" - groupTypes = @( - "Unified" -) -mailEnabled = $true -mailNickname = "golfassist" -securityEnabled = $false -} - -Update-MgBetaGroupByUniqueName -BodyParameter $params -UniqueName $uniqueNameId - -``` -This example will create a microsoft 365 group if it doesn't exist - -### Example 2: Create a security group with an owner and members if it doesn't exist - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - description = "Group with designated owner and members" - displayName = "Operations group" - groupTypes = @( - ) - mailEnabled = $false - mailNickname = "operations2019" - securityEnabled = $true - "owners@odata.bind" = @( - "https://graph.microsoft.com/beta/users/26be1845-4119-4801-a799-aea79d09f1a2" -) -"members@odata.bind" = @( -"https://graph.microsoft.com/beta/users/ff7cb387-6688-423c-8188-3da9532a73cc" -"https://graph.microsoft.com/beta/users/69456242-0067-49d3-ba96-9de6f2728e14" -) -} - -Update-MgBetaGroupByUniqueName -BodyParameter $params -UniqueName $uniqueNameId - -``` -This example will create a security group with an owner and members if it doesn't exist - diff --git a/src/Beta.Groups/beta/examples/Update-MgBetaGroupLifecyclePolicy.md b/src/Beta.Groups/beta/examples/Update-MgBetaGroupLifecyclePolicy.md deleted file mode 100644 index e2b61178ec..0000000000 --- a/src/Beta.Groups/beta/examples/Update-MgBetaGroupLifecyclePolicy.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Groups - -$params = @{ - groupLifetimeInDays = 180 - managedGroupTypes = "Selected" - alternateNotificationEmails = "admin@contoso.com" -} - -Update-MgBetaGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaGroupLifecyclePolicy Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Add-MgBetaTenantRelationshipManagedTenantManagementAction.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Add-MgBetaTenantRelationshipManagedTenantManagementAction.md deleted file mode 100644 index 2ab2fdbd15..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Add-MgBetaTenantRelationshipManagedTenantManagementAction.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - tenantId = "String" - tenantGroupId = "String" - managementTemplateId = "String" -} - -Add-MgBetaTenantRelationshipManagedTenantManagementAction -ManagementActionId $managementActionId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaTenantRelationshipManagedTenantManagementAction Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Complete-MgBetaDirectoryImpactedResource.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Complete-MgBetaDirectoryImpactedResource.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Complete-MgBetaDirectoryImpactedResource.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Complete-MgBetaDirectoryRecommendation.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Complete-MgBetaDirectoryRecommendation.md deleted file mode 100644 index 9eaf68e180..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Complete-MgBetaDirectoryRecommendation.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Complete-MgBetaDirectoryRecommendation -RecommendationId $recommendationId - -``` -This example shows how to use the Complete-MgBetaDirectoryRecommendation Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Complete-MgBetaDirectoryRecommendationImpactedResource.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Complete-MgBetaDirectoryRecommendationImpactedResource.md deleted file mode 100644 index a22a4a32ed..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Complete-MgBetaDirectoryRecommendationImpactedResource.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Complete-MgBetaDirectoryRecommendationImpactedResource -RecommendationId $recommendationId -ImpactedResourceId $impactedResourceId - -``` -This example shows how to use the Complete-MgBetaDirectoryRecommendationImpactedResource Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaAdministrativeUnitMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaAdministrativeUnitMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaAdministrativeUnitMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaContactMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaContactMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaContactMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaContractMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaContractMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaContractMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDeviceMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDeviceMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDeviceMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectoryDeletedItemMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectoryDeletedItemMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectoryDeletedItemMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectoryRoleMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectoryRoleMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectoryRoleMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectoryRoleTemplateMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectoryRoleTemplateMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectoryRoleTemplateMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectorySettingTemplateMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectorySettingTemplateMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDirectorySettingTemplateMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDomain.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDomain.md deleted file mode 100644 index 094499afe2..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaDomain.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Confirm-MgBetaDomain -DomainId $domainId - -``` -This example shows how to use the Confirm-MgBetaDomain Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaOrganizationMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaOrganizationMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Confirm-MgBetaOrganizationMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Export-MgBetaDirectoryInboundSharedUserProfilePersonalData.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Export-MgBetaDirectoryInboundSharedUserProfilePersonalData.md deleted file mode 100644 index eee732a87d..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Export-MgBetaDirectoryInboundSharedUserProfilePersonalData.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - storageLocation = "MyStorageAccount" -} - -Export-MgBetaDirectoryInboundSharedUserProfilePersonalData -InboundSharedUserProfileUserId $inboundSharedUserProfileUserId -BodyParameter $params - -``` -This example shows how to use the Export-MgBetaDirectoryInboundSharedUserProfilePersonalData Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnit.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnit.md deleted file mode 100644 index 1a3827947b..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnit.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Get an administrative unit - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaAdministrativeUnit -AdministrativeUnitId $administrativeUnitId - -``` -This example will get an administrative unit - -### Example 2: Get a restricted management administrative unit - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaAdministrativeUnit -AdministrativeUnitId $administrativeUnitId - -``` -This example will get a restricted management administrative unit - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnitById.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnitById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnitById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnitDelta.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnitDelta.md deleted file mode 100644 index 0d207ce23b..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnitDelta.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaAdministrativeUnitDelta - -``` -This example shows how to use the Get-MgBetaAdministrativeUnitDelta Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnitMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnitMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnitMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnitUserOwnedObject.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaAdministrativeUnitUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContact.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContact.md deleted file mode 100644 index b1cc46f809..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContact.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaContact -OrgContactId $orgContactId - -``` -This example shows how to use the Get-MgBetaContact Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContactById.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContactById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContactById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContactDelta.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContactDelta.md deleted file mode 100644 index 33a4a9350d..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContactDelta.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Default properties - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaContactDelta - -``` -This example will default properties - -### Example 2: Selecting three properties - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaContactDelta -Property "displayName,jobTitle,mail" - -``` -This example shows selecting three properties - -### Example 3: Alternative minimal response behavior - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaContactDelta -Property "displayName,jobTitle,mail" - -``` -This example will alternative minimal response behavior - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContactMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContactMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContactMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContactUserOwnedObject.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContactUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContract.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContract.md deleted file mode 100644 index 699e64bf9f..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContract.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaContract -ContractId $contractId - -``` -This example shows how to use the Get-MgBetaContract Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContractById.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContractById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContractById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContractDelta.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContractDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContractDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContractMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContractMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContractMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContractUserOwnedObject.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaContractUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDevice.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDevice.md deleted file mode 100644 index 6d65dfecbb..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDevice.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Get a device - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaDevice -DeviceId $deviceId - -``` -This example will get a device - -### Example 2: Get a device and return only its id and extensionAttributes properties - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaDevice -DeviceId $deviceId -Property "id,extensionAttributes" - -``` -This example will get a device and return only its id and extensionattributes properties - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceByDeviceId.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceByDeviceId.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceByDeviceId.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceById.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceDelta.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceDelta.md deleted file mode 100644 index 22e75d526e..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceDelta.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaDeviceDelta - -``` -This example shows how to use the Get-MgBetaDeviceDelta Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceUserOwnedObject.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDeviceUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryAdministrativeUnitDelta.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryAdministrativeUnitDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryAdministrativeUnitDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryDeletedItemById.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryDeletedItemById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryDeletedItemById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryDeletedItemMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryDeletedItemMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryDeletedItemMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRole.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRole.md deleted file mode 100644 index 59de6f9d41..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRole.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Get the definition of a directory role using role id - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaDirectoryRole -DirectoryRoleId $directoryRoleId - -``` -This example will get the definition of a directory role using role id - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleById.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleByRoleTemplateId.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleByRoleTemplateId.md deleted file mode 100644 index 2c3e848e3e..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleByRoleTemplateId.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Get the definition of a directory role using roleTemplateId - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaDirectoryRoleByRoleTemplateId - -``` -This example will get the definition of a directory role using roletemplateid - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleDelta.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleDelta.md deleted file mode 100644 index 32dfa67bcd..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleDelta.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaDirectoryRoleDelta - -``` -This example will### example - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplate.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplate.md deleted file mode 100644 index 46fe301d9c..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplate.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaDirectoryRoleTemplate -DirectoryRoleTemplateId $directoryRoleTemplateId - -``` -This example shows how to use the Get-MgBetaDirectoryRoleTemplate Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplateById.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplateById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplateById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplateDelta.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplateDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplateDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplateMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplateMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplateMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplateUserOwnedObject.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleTemplateUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleUserOwnedObject.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRoleUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySetting.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySetting.md deleted file mode 100644 index 80b1f43869..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySetting.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaDirectorySetting -DirectorySettingId $directorySettingId - -``` -This example shows how to use the Get-MgBetaDirectorySetting Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplate.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplate.md deleted file mode 100644 index 46aa8cc79f..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplate.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaDirectorySettingTemplate -DirectorySettingTemplateId $directorySettingTemplateId - -``` -This example shows how to use the Get-MgBetaDirectorySettingTemplate Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplateById.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplateById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplateById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplateDelta.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplateDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplateDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplateMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplateMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplateMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplateUserOwnedObject.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectorySettingTemplateUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDomain.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDomain.md deleted file mode 100644 index 50a53beac0..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaDomain.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaDomain -DomainId $domainId - -``` -This example shows how to use the Get-MgBetaDomain Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganization.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganization.md deleted file mode 100644 index c2a5408546..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganization.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaOrganization -OrganizationId $organizationId - -``` -This example shows how to use the Get-MgBetaOrganization Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationById.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationMemberGroup.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationMemberGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationMemberGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationUserOwnedObject.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationUserOwnedObject.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaSubscribedSku.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaSubscribedSku.md deleted file mode 100644 index 0c2efba1ef..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Get-MgBetaSubscribedSku.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Get-MgBetaSubscribedSku -SubscribedSkuId $subscribedSkuId - -``` -This example shows how to use the Get-MgBetaSubscribedSku Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaAvailableDirectoryFederationConfigurationProviderType.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaAvailableDirectoryFederationConfigurationProviderType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaAvailableDirectoryFederationConfigurationProviderType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryImpactedResource.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryImpactedResource.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryImpactedResource.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryRecommendation.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryRecommendation.md deleted file mode 100644 index cd807578bd..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryRecommendation.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - dismissReason = "Recommendations is not relevant for my organization because..." -} - -Invoke-MgBetaDismissDirectoryRecommendation -RecommendationId $recommendationId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaDismissDirectoryRecommendation Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryRecommendationImpactedResource.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryRecommendationImpactedResource.md deleted file mode 100644 index 9bbb77ac7c..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryRecommendationImpactedResource.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - dismissReason = "Application is no longer needed." -} - -Invoke-MgBetaDismissDirectoryRecommendationImpactedResource -RecommendationId $recommendationId -ImpactedResourceId $impactedResourceId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaDismissDirectoryRecommendationImpactedResource Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaForceDomainDelete.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaForceDomainDelete.md deleted file mode 100644 index 69c0b0122c..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaForceDomainDelete.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - disableUserAccounts = $true -} - -Invoke-MgBetaForceDomainDelete -DomainId $domainId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaForceDomainDelete Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryImpactedResource.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryImpactedResource.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryImpactedResource.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryRecommendation.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryRecommendation.md deleted file mode 100644 index 46735cdff0..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryRecommendation.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - postponeUntilDateTime = [System.DateTime]::Parse("2023-02-01T02:53:00Z") -} - -Invoke-MgBetaPostponeDirectoryRecommendation -RecommendationId $recommendationId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaPostponeDirectoryRecommendation Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryRecommendationImpactedResource.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryRecommendationImpactedResource.md deleted file mode 100644 index 4f89438c7e..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryRecommendationImpactedResource.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - postponeUntilDateTime = [System.DateTime]::Parse("2023-03-01T09:40:39.0420371Z") -} - -Invoke-MgBetaPostponeDirectoryRecommendationImpactedResource -RecommendationId $recommendationId -ImpactedResourceId $impactedResourceId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaPostponeDirectoryRecommendationImpactedResource Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPromoteDomain.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPromoteDomain.md deleted file mode 100644 index 64a6bd5e82..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPromoteDomain.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Invoke-MgBetaPromoteDomain -DomainId $domainId - -``` -This example shows how to use the Invoke-MgBetaPromoteDomain Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryImpactedResource.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryImpactedResource.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryImpactedResource.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryRecommendation.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryRecommendation.md deleted file mode 100644 index 4aec9c7364..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryRecommendation.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Invoke-MgBetaReactivateDirectoryRecommendation -RecommendationId $recommendationId - -``` -This example shows how to use the Invoke-MgBetaReactivateDirectoryRecommendation Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryRecommendationImpactedResource.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryRecommendationImpactedResource.md deleted file mode 100644 index a9068728b1..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryRecommendationImpactedResource.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Invoke-MgBetaReactivateDirectoryRecommendationImpactedResource -RecommendationId $recommendationId -ImpactedResourceId $impactedResourceId - -``` -This example shows how to use the Invoke-MgBetaReactivateDirectoryRecommendationImpactedResource Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaRetryContactServiceProvisioning.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaRetryContactServiceProvisioning.md deleted file mode 100644 index a939860dd9..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaRetryContactServiceProvisioning.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Invoke-MgBetaRetryContactServiceProvisioning -OrgContactId $orgContactId - -``` -This example shows how to use the Invoke-MgBetaRetryContactServiceProvisioning Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaTagTenantRelationshipManagedTenantTagUnassign.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaTagTenantRelationshipManagedTenantTagUnassign.md deleted file mode 100644 index 992f1c51cc..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaTagTenantRelationshipManagedTenantTagUnassign.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - tenantIds = @( - "String" -) -} - -Invoke-MgBetaTagTenantRelationshipManagedTenantTagUnassign -TenantTagId $tenantTagId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaTagTenantRelationshipManagedTenantTagUnassign Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaTenantRelationshipManagedTenantOffboard.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaTenantRelationshipManagedTenantOffboard.md deleted file mode 100644 index 936b4baae5..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Invoke-MgBetaTenantRelationshipManagedTenantOffboard.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Invoke-MgBetaTenantRelationshipManagedTenantOffboard -TenantId $tenantId - -``` -This example shows how to use the Invoke-MgBetaTenantRelationshipManagedTenantOffboard Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaAdministrativeUnit.md b/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaAdministrativeUnit.md deleted file mode 100644 index 84f066a241..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaAdministrativeUnit.md +++ /dev/null @@ -1,36 +0,0 @@ -### Example 1: Create an administrative unit - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - displayName = "Seattle District Technical Schools" - description = "Seattle district technical schools administration" - membershipType = "Dynamic" - membershipRule = "(user.country -eq "United States")" - membershipRuleProcessingState = "On" -} - -New-MgBetaAdministrativeUnit -BodyParameter $params - -``` -This example will create an administrative unit - -### Example 2: Create a restricted management administrative unit - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - displayName = "Executive Division" - description = "Executive division administration" - isMemberManagementRestricted = $true -} - -New-MgBetaAdministrativeUnit -BodyParameter $params - -``` -This example will create a restricted management administrative unit - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaDevice.md b/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaDevice.md deleted file mode 100644 index 1c59d76ee5..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaDevice.md +++ /dev/null @@ -1,26 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - accountEnabled = $true - alternativeSecurityIds = @( - @{ - type = 99 - identityProvider = "identityProvider-value" - key = [System.Text.Encoding]::ASCII.GetBytes("base64Y3YxN2E1MWFlYw==") - } - ) - approximateLastSignInDateTime = [System.DateTime]::Parse("2016-10-19T10:37:00Z") - deviceId = "deviceId-value" - deviceMetadata = "deviceMetadata-value" - deviceVersion = 99 -} - -New-MgBetaDevice -BodyParameter $params - -``` -This example shows how to use the New-MgBetaDevice Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaDirectoryRole.md b/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaDirectoryRole.md deleted file mode 100644 index d6ea6b2b5d..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaDirectoryRole.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - roleTemplateId = "fe930be7-5e62-47db-91af-98c3a49a38b1" -} - -New-MgBetaDirectoryRole -BodyParameter $params - -``` -This example shows how to use the New-MgBetaDirectoryRole Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaDirectorySetting.md b/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaDirectorySetting.md deleted file mode 100644 index d17a0ab206..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaDirectorySetting.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Create a directory or tenant-level setting - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - templateId = "62375ab9-6b52-47ed-826b-58e47e0e304b" - values = @( - @{ - name = "GuestUsageGuidelinesUrl" - value = "https://privacy.contoso.com/privacystatement" - } - @{ - name = "EnableMSStandardBlockedWords" - value = "true" - } - @{ - name = "EnableMIPLabels" - value = "true" - } - @{ - name = "PrefixSuffixNamingRequirement" - value = "[Contoso-][GroupName]" - } - ) -} - -New-MgBetaDirectorySetting -BodyParameter $params - -``` -This example will create a directory or tenant-level setting - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaDomain.md b/src/Beta.Identity.DirectoryManagement/beta/examples/New-MgBetaDomain.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaAdministrativeUnit.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaAdministrativeUnit.md deleted file mode 100644 index c5184e3616..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaAdministrativeUnit.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Remove-MgBetaAdministrativeUnit -AdministrativeUnitId $administrativeUnitId - -``` -This example shows how to use the Remove-MgBetaAdministrativeUnit Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDevice.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDevice.md deleted file mode 100644 index 3fdb18e5d3..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDevice.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Remove-MgBetaDevice -DeviceId $deviceId - -``` -This example shows how to use the Remove-MgBetaDevice Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDeviceByDeviceId.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDeviceByDeviceId.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDeviceByDeviceId.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDirectoryInboundSharedUserProfilePersonalData.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDirectoryInboundSharedUserProfilePersonalData.md deleted file mode 100644 index 850c09f1e5..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDirectoryInboundSharedUserProfilePersonalData.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Remove-MgBetaDirectoryInboundSharedUserProfilePersonalData -InboundSharedUserProfileUserId $inboundSharedUserProfileUserId - -``` -This example shows how to use the Remove-MgBetaDirectoryInboundSharedUserProfilePersonalData Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDirectoryOutboundSharedUserProfileTenantPersonalData.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDirectoryOutboundSharedUserProfileTenantPersonalData.md deleted file mode 100644 index 4745eb4340..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDirectoryOutboundSharedUserProfileTenantPersonalData.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Remove-MgBetaDirectoryOutboundSharedUserProfileTenantPersonalData -OutboundSharedUserProfileUserId $outboundSharedUserProfileUserId -TenantReferenceTenantId $tenantReferenceTenantId - -``` -This example shows how to use the Remove-MgBetaDirectoryOutboundSharedUserProfileTenantPersonalData Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDirectorySetting.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDirectorySetting.md deleted file mode 100644 index b584eb763f..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDirectorySetting.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Remove-MgBetaDirectorySetting -DirectorySettingId $directorySettingId - -``` -This example shows how to use the Remove-MgBetaDirectorySetting Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDomain.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDomain.md deleted file mode 100644 index e0c73f7bc4..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Remove-MgBetaDomain.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Remove-MgBetaDomain -DomainId $domainId - -``` -This example shows how to use the Remove-MgBetaDomain Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Reset-MgBetaTenantRelationshipManagedTenantOnboardingStatus.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Reset-MgBetaTenantRelationshipManagedTenantOnboardingStatus.md deleted file mode 100644 index 2b89953bf9..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Reset-MgBetaTenantRelationshipManagedTenantOnboardingStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Reset-MgBetaTenantRelationshipManagedTenantOnboardingStatus -TenantId $tenantId - -``` -This example shows how to use the Reset-MgBetaTenantRelationshipManagedTenantOnboardingStatus Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Restore-MgBetaDirectoryDeletedItem.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Restore-MgBetaDirectoryDeletedItem.md deleted file mode 100644 index 0c30176beb..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Restore-MgBetaDirectoryDeletedItem.md +++ /dev/null @@ -1,26 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -Restore-MgBetaDirectoryDeletedItem -DirectoryObjectId $directoryObjectId - -``` -This example shows how to use the Restore-MgBetaDirectoryDeletedItem Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - autoReconcileProxyConflict = $true -} - -Restore-MgBetaDirectoryDeletedItem -DirectoryObjectId $directoryObjectId -BodyParameter $params - -``` -This example shows how to use the Restore-MgBetaDirectoryDeletedItem Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Set-MgBetaTenantRelationshipManagedTenantTag.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Set-MgBetaTenantRelationshipManagedTenantTag.md deleted file mode 100644 index 4f32017ea4..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Set-MgBetaTenantRelationshipManagedTenantTag.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - tenantIds = @( - "String" -) -} - -Set-MgBetaTenantRelationshipManagedTenantTag -TenantTagId $tenantTagId -BodyParameter $params - -``` -This example shows how to use the Set-MgBetaTenantRelationshipManagedTenantTag Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaAdministrativeUnitProperty.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaAdministrativeUnitProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaAdministrativeUnitProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaContactProperty.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaContactProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaContactProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaContractProperty.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaContractProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaContractProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDeviceProperty.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDeviceProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDeviceProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectoryDeletedItemProperty.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectoryDeletedItemProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectoryDeletedItemProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectoryRoleProperty.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectoryRoleProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectoryRoleProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectoryRoleTemplateProperty.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectoryRoleTemplateProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectoryRoleTemplateProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectorySettingTemplateProperty.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectorySettingTemplateProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaDirectorySettingTemplateProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaOrganizationProperty.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaOrganizationProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Test-MgBetaOrganizationProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaAdministrativeUnit.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaAdministrativeUnit.md deleted file mode 100644 index 4d003ade40..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaAdministrativeUnit.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - displayName = "Executive Division" - membershipType = "Dynamic" - membershipRule = "(user.country -eq "United States")" - membershipRuleProcessingState = "On" -} - -Update-MgBetaAdministrativeUnit -AdministrativeUnitId $administrativeUnitId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaAdministrativeUnit Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDevice.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDevice.md deleted file mode 100644 index 5b3f6bbd7b..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDevice.md +++ /dev/null @@ -1,32 +0,0 @@ -### Example 1: Update the accountEnabled property of a device - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - accountEnabled = $false -} - -Update-MgBetaDevice -DeviceId $deviceId -BodyParameter $params - -``` -This example will update the accountenabled property of a device - -### Example 2: Write extensionAttributes on a device - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - extensionAttributes = @{ - extensionAttribute1 = "BYOD-Device" - } -} - -Update-MgBetaDevice -DeviceId $deviceId -BodyParameter $params - -``` -This example will write extensionattributes on a device - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDeviceByDeviceId.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDeviceByDeviceId.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDeviceByDeviceId.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDirectorySetting.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDirectorySetting.md deleted file mode 100644 index 3c76b48c48..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDirectorySetting.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - values = @( - @{ - name = "CustomBlockedWordsList" - value = "Contoso" - } - ) -} - -Update-MgBetaDirectorySetting -DirectorySettingId $directorySettingId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaDirectorySetting Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDomain.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDomain.md deleted file mode 100644 index ebc66c7b19..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaDomain.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - isDefault = $true - supportedServices = @( - "Email" -"OfficeCommunicationsOnline" -"CustomUrlDomain" -) -} - -Update-MgBetaDomain -DomainId $domainId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaDomain Cmdlet. - diff --git a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaOrganization.md b/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaOrganization.md deleted file mode 100644 index 99defa06ff..0000000000 --- a/src/Beta.Identity.DirectoryManagement/beta/examples/Update-MgBetaOrganization.md +++ /dev/null @@ -1,31 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement - -$params = @{ - marketingNotificationEmails = @( - "marketing@contoso.com" -) -onPremisesSyncEnabled = $true -privacyProfile = @{ - contactEmail = "alice@contoso.com" - statementUrl = "https://contoso.com/privacyStatement" -} -securityComplianceNotificationMails = @( -"security@contoso.com" -) -securityComplianceNotificationPhones = @( -"(123) 456-7890" -) -technicalNotificationMails = @( -"tech@contoso.com" -) -} - -Update-MgBetaOrganization -OrganizationId $organizationId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaOrganization Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Add-MgBetaAccessReviewDecision.md b/src/Beta.Identity.Governance/beta/examples/Add-MgBetaAccessReviewDecision.md deleted file mode 100644 index 5d1a4ff112..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Add-MgBetaAccessReviewDecision.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Add-MgBetaAccessReviewDecision -AccessReviewId $accessReviewId - -``` -This example shows how to use the Add-MgBetaAccessReviewDecision Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Add-MgBetaAccessReviewInstanceDecision.md b/src/Beta.Identity.Governance/beta/examples/Add-MgBetaAccessReviewInstanceDecision.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Add-MgBetaAccessReviewInstanceDecision.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Add-MgBetaIdentityGovernanceAccessReviewDecisionInstanceDecision.md b/src/Beta.Identity.Governance/beta/examples/Add-MgBetaIdentityGovernanceAccessReviewDecisionInstanceDecision.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Add-MgBetaIdentityGovernanceAccessReviewDecisionInstanceDecision.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Add-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Beta.Identity.Governance/beta/examples/Add-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceDecision.md deleted file mode 100644 index b15c6021da..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Add-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Add-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId - -``` -This example shows how to use the Add-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaAccessReview.md b/src/Beta.Identity.Governance/beta/examples/Get-MgBetaAccessReview.md deleted file mode 100644 index 4c747e762a..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaAccessReview.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Get-MgBetaAccessReview -AccessReviewId $accessReviewId - -``` -This example shows how to use the Get-MgBetaAccessReview Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaBusinessFlowTemplate.md b/src/Beta.Identity.Governance/beta/examples/Get-MgBetaBusinessFlowTemplate.md deleted file mode 100644 index 88c9e67fcc..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaBusinessFlowTemplate.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Get-MgBetaBusinessFlowTemplate - -``` -This example shows how to use the Get-MgBetaBusinessFlowTemplate Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAccessPackageApplicablePolicyRequirement.md b/src/Beta.Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAccessPackageApplicablePolicyRequirement.md deleted file mode 100644 index d0d0ad44a4..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAccessPackageApplicablePolicyRequirement.md +++ /dev/null @@ -1,28 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Get-MgBetaEntitlementManagementAccessPackageApplicablePolicyRequirement -AccessPackageId $accessPackageId - -``` -This example shows how to use the Get-MgBetaEntitlementManagementAccessPackageApplicablePolicyRequirement Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - subject = @{ - objectId = "5acd375c-8acb-45de-a958-fa0dd89259ad" - } -} - -Get-MgBetaEntitlementManagementAccessPackageApplicablePolicyRequirement -AccessPackageId $accessPackageId -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaEntitlementManagementAccessPackageApplicablePolicyRequirement Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAccessPackageAssignmentAdditional.md b/src/Beta.Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAccessPackageAssignmentAdditional.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaProgram.md b/src/Beta.Identity.Governance/beta/examples/Get-MgBetaProgram.md deleted file mode 100644 index b67935270f..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaProgram.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Get-MgBetaProgram - -``` -This example shows how to use the Get-MgBetaProgram Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaProgramControl.md b/src/Beta.Identity.Governance/beta/examples/Get-MgBetaProgramControl.md deleted file mode 100644 index 3d9a2ff017..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaProgramControl.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Get-MgBetaProgramControl - -``` -This example shows how to use the Get-MgBetaProgramControl Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaProgramControlType.md b/src/Beta.Identity.Governance/beta/examples/Get-MgBetaProgramControlType.md deleted file mode 100644 index a026ad3244..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Get-MgBetaProgramControlType.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Get-MgBetaProgramControlType - -``` -This example shows how to use the Get-MgBetaProgramControlType Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Initialize-MgBetaIdentityGovernanceLifecycleWorkflow.md b/src/Beta.Identity.Governance/beta/examples/Initialize-MgBetaIdentityGovernanceLifecycleWorkflow.md deleted file mode 100644 index 185464a4d0..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Initialize-MgBetaIdentityGovernanceLifecycleWorkflow.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - subjects = @( - @{ - id = "8cdf25a8-c9d2-423e-a03d-3f39f03c3e97" - } - @{ - id = "ea09ac2e-77e3-4134-85f2-25ccf3c33387" - } - ) -} - -Initialize-MgBetaIdentityGovernanceLifecycleWorkflow -WorkflowId $workflowId -BodyParameter $params - -``` -This example shows how to use the Initialize-MgBetaIdentityGovernanceLifecycleWorkflow Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Initialize-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md b/src/Beta.Identity.Governance/beta/examples/Initialize-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Initialize-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAcceptIdentityGovernanceAccessReviewDecisionInstanceRecommendation.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAcceptIdentityGovernanceAccessReviewDecisionInstanceRecommendation.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAcceptIdentityGovernanceAccessReviewDecisionInstanceRecommendation.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementCloudPcRoleDefinitionInheritPermissionFromPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementCloudPcRoleDefinitionInheritPermissionFromPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementCloudPcRoleDefinitionPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementCloudPcRoleDefinitionPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementDeviceManagementRoleDefinitionInheritPermissionFromPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementDeviceManagementRoleDefinitionInheritPermissionFromPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementDeviceManagementRoleDefinitionPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementDeviceManagementRoleDefinitionPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementDirectoryRoleDefinitionInheritPermissionFromPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementDirectoryRoleDefinitionInheritPermissionFromPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementDirectoryRoleDefinitionPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementDirectoryRoleDefinitionPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementEnterpriseAppRoleDefinitionInheritPermissionFromPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementEnterpriseAppRoleDefinitionInheritPermissionFromPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementEnterpriseAppRoleDefinitionPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementEnterpriseAppRoleDefinitionPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementEntitlementManagementRoleDefinitionInheritPermissionFromPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementEntitlementManagementRoleDefinitionInheritPermissionFromPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementEntitlementManagementRoleDefinitionPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementEntitlementManagementRoleDefinitionPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementExchangeRoleDefinitionInheritPermissionFromPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementExchangeRoleDefinitionInheritPermissionFromPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementExchangeRoleDefinitionPrincipal.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaAssignedRoleManagementExchangeRoleDefinitionPrincipal.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaBatchIdentityGovernanceAccessReviewDecisionInstanceRecordDecision.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaBatchIdentityGovernanceAccessReviewDecisionInstanceRecordDecision.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaBatchIdentityGovernanceAccessReviewDecisionInstanceRecordDecision.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentApprovalByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentApprovalByCurrentUser.md deleted file mode 100644 index f915669fc6..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentApprovalByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Retrieve the approval resources in entitlement management - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentApprovalByCurrentUser -On $onId - -``` -This example will retrieve the approval resources in entitlement management - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentByCurrentUser.md deleted file mode 100644 index 6039c26128..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentRequestByCurrentUser.md deleted file mode 100644 index f4066b41a9..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentRequestByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentRequestByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterEntitlementManagementAccessPackageAssignmentRequestByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageByCurrentUser.md deleted file mode 100644 index 7533e47f71..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAccessPackageByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterEntitlementManagementAccessPackageByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterEntitlementManagementAccessPackageByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAssignmentRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAssignmentRequestByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAssignmentRequestByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionByCurrentUser.md deleted file mode 100644 index e3691300d8..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Retrieve all decision items for which you're a reviewer and expand the definitions - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionByCurrentUser -ExpandProperty "instance(`$expand=definition)" -On $onId - -``` -This example will retrieve all decision items for which you're a reviewer and expand the definitions - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceDecisionByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceDecisionByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceDecisionByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceStageByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceStageByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceStageByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceStageDecisionByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceStageDecisionByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceStageDecisionByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionByCurrentUser.md deleted file mode 100644 index 65156a6f38..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceByCurrentUser.md deleted file mode 100644 index d0632dd13b..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceByCurrentUser -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceDecisionByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceDecisionByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceDecisionByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceStageByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceStageByCurrentUser.md deleted file mode 100644 index 7e1c735679..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceStageByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceStageByCurrentUser -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceStageByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceStageDecisionByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceStageDecisionByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDefinitionInstanceStageDecisionByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAppConsentRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAppConsentRequestByCurrentUser.md deleted file mode 100644 index 7976c2ffa9..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAppConsentRequestByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernanceAppConsentRequestByCurrentUser -Filter "userConsentRequests/any(u:u/status eq 'InProgress')" -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterIdentityGovernanceAppConsentRequestByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAppConsentRequestUserConsentRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAppConsentRequestUserConsentRequestByCurrentUser.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePermissionManagementScheduledPermissionApprovalByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePermissionManagementScheduledPermissionApprovalByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePermissionManagementScheduledPermissionApprovalByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentApprovalByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentApprovalByCurrentUser.md deleted file mode 100644 index 07f3616092..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentApprovalByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Retrieve the approval resources in PIM for groups - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentApprovalByCurrentUser -On $onId - -``` -This example will retrieve the approval resources in pim for groups - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleByCurrentUser.md deleted file mode 100644 index c4bd885ca4..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleInstanceByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleInstanceByCurrentUser.md deleted file mode 100644 index 5c8b775e80..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleInstanceByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleInstanceByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleInstanceByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleRequestByCurrentUser.md deleted file mode 100644 index a573dd71c4..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleRequestByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Retrieve a principal's requests scoped to a specific group and that are pending approval - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupAssignmentScheduleRequestByCurrentUser -Filter "status eq 'PendingApproval' and groupId eq 'd5f0ad2e-6b34-401b-b6da-0c8fc2c5a3fc'" -On $onId - -``` -This example will retrieve a principal's requests scoped to a specific group and that are pending approval - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleByCurrentUser.md deleted file mode 100644 index 32e05d42c7..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleByCurrentUser.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Retrieve eligibility schedules for the calling principal - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleByCurrentUser -On $onId - -``` -This example will retrieve eligibility schedules for the calling principal - -### Example 2: Retrieve eligibility schedules for the principal and filter by a group and accessId - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleByCurrentUser -Filter "groupId eq 'd5f0ad2e-6b34-401b-b6da-0c8fc2c5a3fc' and accessId eq 'member'" -On $onId - -``` -This example will retrieve eligibility schedules for the principal and filter by a group and accessid - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleInstanceByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleInstanceByCurrentUser.md deleted file mode 100644 index bb56c6f2f7..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleInstanceByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleInstanceByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleInstanceByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleRequestByCurrentUser.md deleted file mode 100644 index 0b585527ee..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleRequestByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleRequestByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterIdentityGovernancePrivilegedAccessGroupEligibilityScheduleRequestByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentApprovalByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentApprovalByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentApprovalByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleByCurrentUser.md deleted file mode 100644 index 490e13efc5..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleInstanceByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleInstanceByCurrentUser.md deleted file mode 100644 index c38187279a..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleInstanceByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleInstanceByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleInstanceByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleRequestByCurrentUser.md deleted file mode 100644 index b402b27dd7..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleRequestByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleRequestByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleRequestByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleByCurrentUser.md deleted file mode 100644 index 20158e9f90..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleInstanceByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleInstanceByCurrentUser.md deleted file mode 100644 index 6bfab5f356..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleInstanceByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleInstanceByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleInstanceByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleRequestByCurrentUser.md deleted file mode 100644 index 3b7ef792da..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleRequestByCurrentUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleRequestByCurrentUser -On $onId - -``` -This example shows how to use the Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleRequestByCurrentUser Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentApprovalByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentApprovalByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentApprovalByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleInstanceByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleInstanceByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleInstanceByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleRequestByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleRequestByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleInstanceByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleInstanceByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleInstanceByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleRequestByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleRequestByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentApprovalByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentApprovalByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentApprovalByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleInstanceByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleInstanceByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleInstanceByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleRequestByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleRequestByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleInstanceByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleInstanceByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleInstanceByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleRequestByCurrentUser.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleRequestByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleRequestByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaRecordIdentityGovernanceAccessReviewDecision.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaRecordIdentityGovernanceAccessReviewDecision.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaRecordIdentityGovernanceAccessReviewDecisionInstanceDecision.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaRecordIdentityGovernanceAccessReviewDecisionInstanceDecision.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaRecordIdentityGovernanceAccessReviewDecisionInstanceStageDecision.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaRecordIdentityGovernanceAccessReviewDecisionInstanceStageDecision.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaRecordIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaRecordIdentityGovernanceAccessReviewDefinitionInstanceDecision.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaRecordIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaRecordIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementDirectory.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementDirectory.md deleted file mode 100644 index 4d0e3ca69b..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementDirectory.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaScheduleRoleManagementDirectory -DirectoryScopeId $directoryScopeIdId -AppScopeId $appScopeIdId -PrincipalId $principalIdId -RoleDefinitionId $roleDefinitionIdId - -``` -This example shows how to use the Invoke-MgBetaScheduleRoleManagementDirectory Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementDirectoryRole.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementDirectoryRole.md deleted file mode 100644 index c25461d6b4..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementDirectoryRole.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Invoke-MgBetaScheduleRoleManagementDirectoryRole - -``` -This example shows how to use the Invoke-MgBetaScheduleRoleManagementDirectoryRole Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseApp.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseApp.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseApp.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseAppRole.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseAppRole.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseAppRole.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagement.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagement.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagement.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagementRole.md b/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagementRole.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagementRole.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Move-MgBetaEntitlementManagementAccessPackageToCatalog.md b/src/Beta.Identity.Governance/beta/examples/Move-MgBetaEntitlementManagementAccessPackageToCatalog.md deleted file mode 100644 index 56d375aadd..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Move-MgBetaEntitlementManagementAccessPackageToCatalog.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - catalogId = "3301434b-99bd-46be-923b-d762c30c8e8b" -} - -Move-MgBetaEntitlementManagementAccessPackageToCatalog -AccessPackageId $accessPackageId -BodyParameter $params - -``` -This example shows how to use the Move-MgBetaEntitlementManagementAccessPackageToCatalog Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/New-MgBetaAccessReview.md b/src/Beta.Identity.Governance/beta/examples/New-MgBetaAccessReview.md deleted file mode 100644 index 80361d0e82..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/New-MgBetaAccessReview.md +++ /dev/null @@ -1,49 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - displayName = "TestReview" - startDateTime = [System.DateTime]::Parse("2017-02-10T00:35:53.214Z") - endDateTime = [System.DateTime]::Parse("2017-03-12T00:35:53.214Z") - reviewedEntity = @{ - id = "99025615-a0b1-47ec-9117-35377b10998b" - } - reviewerType = "delegated" - businessFlowTemplateId = "6e4f3d20-c5c3-407f-9695-8460952bcc68" - description = "Sample description" - reviewers = @( - @{ - id = "f260246a-09b1-4fd5-8d18-daed736071ec" - } - @{ - id = "5a4e184c-4ee5-4883-96e9-b371f8da88e3" - } - ) - settings = @{ - mailNotificationsEnabled = $true - remindersEnabled = $true - justificationRequiredOnApproval = $true - autoReviewEnabled = $false - activityDurationInDays = 30 - autoApplyReviewResultsEnabled = $false - accessRecommendationsEnabled = $false - recurrenceSettings = @{ - recurrenceType = "onetime" - recurrenceEndType = "endBy" - durationInDays = 0 - recurrenceCount = 0 - } - autoReviewSettings = @{ - notReviewedResult = "Deny" - } - } -} - -New-MgBetaAccessReview -BodyParameter $params - -``` -This example shows how to use the New-MgBetaAccessReview Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/New-MgBetaIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md b/src/Beta.Identity.Governance/beta/examples/New-MgBetaIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md deleted file mode 100644 index cd1fa73bfc..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/New-MgBetaIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -New-MgBetaIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId -AccessReviewHistoryInstanceId $accessReviewHistoryInstanceId - -``` -This example shows how to use the New-MgBetaIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/New-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflowNewVersion.md b/src/Beta.Identity.Governance/beta/examples/New-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflowNewVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/New-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflowNewVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/New-MgBetaIdentityGovernanceLifecycleWorkflowNewVersion.md b/src/Beta.Identity.Governance/beta/examples/New-MgBetaIdentityGovernanceLifecycleWorkflowNewVersion.md deleted file mode 100644 index 94856ce607..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/New-MgBetaIdentityGovernanceLifecycleWorkflowNewVersion.md +++ /dev/null @@ -1,120 +0,0 @@ -### Example 1: Create a new version of a joiner workflow with time based trigger - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - workflow = @{ - category = "joiner" - description = "Configure new hire tasks for onboarding employees on their first day" - displayName = "Global onboard new hire employee" - isEnabled = $true - isSchedulingEnabled = $false - executionConditions = @{ - "@odata.type" = "#microsoft.graph.identityGovernance.triggerAndScopeBasedConditions" - scope = @{ - "@odata.type" = "#microsoft.graph.identityGovernance.ruleBasedSubjectSet" - rule = "(department eq 'Marketing')" - } - trigger = @{ - "@odata.type" = "#microsoft.graph.identityGovernance.timeBasedAttributeTrigger" - timeBasedAttribute = "employeeHireDate" - offsetInDays = - } - } - tasks = @( - @{ - continueOnError = $false - description = "Enable user account in the directory" - displayName = "Enable User Account" - isEnabled = $true - taskDefinitionId = "6fc52c9d-398b-4305-9763-15f42c1676fc" - arguments = @( - ) - } - @{ - continueOnError = $false - description = "Send welcome email to new hire" - displayName = "Send Welcome Email" - isEnabled = $true - taskDefinitionId = "70b29d51-b59a-4773-9280-8841dfd3f2ea" - arguments = @( - ) - } - ) - } -} - -New-MgBetaIdentityGovernanceLifecycleWorkflowNewVersion -WorkflowId $workflowId -BodyParameter $params - -``` -This example will create a new version of a joiner workflow with time based trigger - -### Example 2: Create a new version of a task with customized email - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - category = "joiner" - description = "Configure new hire tasks for onboarding employees on their first day" - displayName = "custom email marketing API test" - isEnabled = $true - isSchedulingEnabled = $false - executionConditions = @{ - "@odata.type" = "#microsoft.graph.identityGovernance.triggerAndScopeBasedConditions" - scope = @{ - "@odata.type" = "#microsoft.graph.identityGovernance.ruleBasedSubjectSet" - rule = "(department eq 'Marketing')" - } - trigger = @{ - "@odata.type" = "#microsoft.graph.identityGovernance.timeBasedAttributeTrigger" - timeBasedAttribute = "employeeHireDate" - offsetInDays = - } - } - tasks = @( - @{ - continueOnError = $false - description = "Enable user account in the directory" - displayName = "Enable User Account" - isEnabled = $true - taskDefinitionId = "6fc52c9d-398b-4305-9763-15f42c1676fc" - arguments = @( - ) - } - @{ - continueOnError = $false - description = "Send welcome email to new hire" - displayName = "Send Welcome Email" - isEnabled = $true - taskDefinitionId = "70b29d51-b59a-4773-9280-8841dfd3f2ea" - arguments = @( - @{ - name = "cc" - value = "1baa57fa-3c4e-4526-ba5a-db47a9df95f0" - } - @{ - name = "customSubject" - value = "Welcome to the organization {{userDisplayName}}!" - } - @{ - name = "customBody" - value = "Welcome to our organization {{userGivenName}}!" - } - @{ - name = "locale" - value = "en-us" - } - ) - } - ) -} - -New-MgBetaIdentityGovernanceLifecycleWorkflowNewVersion -WorkflowId $workflowId -BodyParameter $params - -``` -This example will create a new version of a task with customized email - diff --git a/src/Beta.Identity.Governance/beta/examples/New-MgBetaProgram.md b/src/Beta.Identity.Governance/beta/examples/New-MgBetaProgram.md deleted file mode 100644 index e5d745c859..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/New-MgBetaProgram.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - displayName = "testprogram3" - description = "test description" -} - -New-MgBetaProgram -BodyParameter $params - -``` -This example shows how to use the New-MgBetaProgram Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/New-MgBetaProgramControl.md b/src/Beta.Identity.Governance/beta/examples/New-MgBetaProgramControl.md deleted file mode 100644 index 7dce90a4fe..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/New-MgBetaProgramControl.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - controlId = "7e59d237-2fb0-4e5d-b7bb-d4f9f9129213" - controlTypeId = "6e4f3d20-c5c3-407f-9695-8460952bcc68" - programId = "7e59d237-2fb0-4e5d-b7bb-d4f9f9129213" -} - -New-MgBetaProgramControl -BodyParameter $params - -``` -This example shows how to use the New-MgBetaProgramControl Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Remove-MgBetaAccessReview.md b/src/Beta.Identity.Governance/beta/examples/Remove-MgBetaAccessReview.md deleted file mode 100644 index 8a64238123..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Remove-MgBetaAccessReview.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Remove-MgBetaAccessReview -AccessReviewId $accessReviewId - -``` -This example shows how to use the Remove-MgBetaAccessReview Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Remove-MgBetaProgram.md b/src/Beta.Identity.Governance/beta/examples/Remove-MgBetaProgram.md deleted file mode 100644 index 526d15ca32..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Remove-MgBetaProgram.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Remove-MgBetaProgram -ProgramId $programId - -``` -This example shows how to use the Remove-MgBetaProgram Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Remove-MgBetaProgramControl.md b/src/Beta.Identity.Governance/beta/examples/Remove-MgBetaProgramControl.md deleted file mode 100644 index 3c1d7708df..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Remove-MgBetaProgramControl.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Remove-MgBetaProgramControl -ProgramControlId $programControlId - -``` -This example shows how to use the Remove-MgBetaProgramControl Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaAccessReviewDecision.md b/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaAccessReviewDecision.md deleted file mode 100644 index e1ea8b4328..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaAccessReviewDecision.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Reset-MgBetaAccessReviewDecision -AccessReviewId $accessReviewId - -``` -This example shows how to use the Reset-MgBetaAccessReviewDecision Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaAccessReviewInstanceDecision.md b/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaAccessReviewInstanceDecision.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaAccessReviewInstanceDecision.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaIdentityGovernanceAccessReviewDecisionInstanceDecision.md b/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaIdentityGovernanceAccessReviewDecisionInstanceDecision.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaIdentityGovernanceAccessReviewDecisionInstanceDecision.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceDecision.md deleted file mode 100644 index 4c0c59d371..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Reset-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Reset-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId - -``` -This example shows how to use the Reset-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Restore-MgBetaIdentityGovernanceLifecycleWorkflow.md b/src/Beta.Identity.Governance/beta/examples/Restore-MgBetaIdentityGovernanceLifecycleWorkflow.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Restore-MgBetaIdentityGovernanceLifecycleWorkflow.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Restore-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md b/src/Beta.Identity.Governance/beta/examples/Restore-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md deleted file mode 100644 index 2cb074d84a..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Restore-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Restore-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow -WorkflowId $workflowId - -``` -This example shows how to use the Restore-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest.md b/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest.md deleted file mode 100644 index 0f6b88c441..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - source = "Contoso.SodCheckProcess" - type = "microsoft.graph.accessPackageCustomExtensionStage.assignmentRequestCreated" - data = @{ - "@odata.type" = "microsoft.graph.accessPackageAssignmentRequestCallbackData" - stage = "assignmentRequestCreated" - customExtensionStageInstanceId = "957d0c50-466b-4840-bb5b-c92cea7141ff" - customExtensionStageInstanceDetail = "This user is all verified" - } -} - -Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId -BodyParameter $params - -``` -This example shows how to use the Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaEntitlementManagementAssignmentRequest.md b/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaEntitlementManagementAssignmentRequest.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaEntitlementManagementAssignmentRequest.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowRunTaskProcessingResult.md b/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowRunTaskProcessingResult.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowRunTaskProcessingResult.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskProcessingResult.md b/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskProcessingResult.md deleted file mode 100644 index 6ea6dc0c55..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskProcessingResult.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - data = @{ - operationStatus = "Completed" - } - source = "sample" - type = "lifecycleEvent" -} - -Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskProcessingResult -WorkflowId $workflowId -TaskId $taskId -TaskProcessingResultId $taskProcessingResultId -BodyParameter $params - -``` -This example shows how to use the Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskProcessingResult Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskReportTaskProcessingResult.md b/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskReportTaskProcessingResult.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskReportTaskProcessingResult.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTemplateTaskProcessingResult.md b/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTemplateTaskProcessingResult.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTemplateTaskProcessingResult.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowVersionTaskProcessingResult.md b/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowVersionTaskProcessingResult.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowVersionTaskProcessingResult.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Send-MgBetaAccessReviewInstanceReminder.md b/src/Beta.Identity.Governance/beta/examples/Send-MgBetaAccessReviewInstanceReminder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Send-MgBetaAccessReviewInstanceReminder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Send-MgBetaAccessReviewReminder.md b/src/Beta.Identity.Governance/beta/examples/Send-MgBetaAccessReviewReminder.md deleted file mode 100644 index 4a7d42fe96..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Send-MgBetaAccessReviewReminder.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Send-MgBetaAccessReviewReminder -AccessReviewId $accessReviewId - -``` -This example shows how to use the Send-MgBetaAccessReviewReminder Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Send-MgBetaIdentityGovernanceAccessReviewDecisionInstanceReminder.md b/src/Beta.Identity.Governance/beta/examples/Send-MgBetaIdentityGovernanceAccessReviewDecisionInstanceReminder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Send-MgBetaIdentityGovernanceAccessReviewDecisionInstanceReminder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Send-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceReminder.md b/src/Beta.Identity.Governance/beta/examples/Send-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceReminder.md deleted file mode 100644 index 83274a5b63..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Send-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceReminder.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Send-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceReminder -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId - -``` -This example shows how to use the Send-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceReminder Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaAccessReview.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaAccessReview.md deleted file mode 100644 index 78808ece4f..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaAccessReview.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Stop-MgBetaAccessReview -AccessReviewId $accessReviewId - -``` -This example shows how to use the Stop-MgBetaAccessReview Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaAccessReviewInstance.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaAccessReviewInstance.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaAccessReviewInstance.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaEntitlementManagementAccessPackageAssignmentRequest.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaEntitlementManagementAccessPackageAssignmentRequest.md deleted file mode 100644 index 6ff573141e..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaEntitlementManagementAccessPackageAssignmentRequest.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - id = "request-id" - requestStatus = "cancelled" -} - -Stop-MgBetaEntitlementManagementAccessPackageAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId -BodyParameter $params - -``` -This example shows how to use the Stop-MgBetaEntitlementManagementAccessPackageAssignmentRequest Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaEntitlementManagementAssignmentRequest.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaEntitlementManagementAssignmentRequest.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaEntitlementManagementAssignmentRequest.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstance.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstance.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstance.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstanceStage.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstanceStage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstanceStage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDefinitionInstance.md deleted file mode 100644 index f264c6a222..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDefinitionInstance.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Stop-MgBetaIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId - -``` -This example shows how to use the Stop-MgBetaIdentityGovernanceAccessReviewDefinitionInstance Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceStage.md deleted file mode 100644 index 1823a75dde..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Stop-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId - -``` -This example shows how to use the Stop-MgBetaIdentityGovernanceAccessReviewDefinitionInstanceStage Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernancePrivilegedAccessGroupAssignmentScheduleRequest.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernancePrivilegedAccessGroupAssignmentScheduleRequest.md deleted file mode 100644 index 8ab9a89b60..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernancePrivilegedAccessGroupAssignmentScheduleRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Stop-MgBetaIdentityGovernancePrivilegedAccessGroupAssignmentScheduleRequest -PrivilegedAccessGroupAssignmentScheduleRequestId $privilegedAccessGroupAssignmentScheduleRequestId - -``` -This example shows how to use the Stop-MgBetaIdentityGovernancePrivilegedAccessGroupAssignmentScheduleRequest Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernancePrivilegedAccessGroupEligibilityScheduleRequest.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernancePrivilegedAccessGroupEligibilityScheduleRequest.md deleted file mode 100644 index baedd49319..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernancePrivilegedAccessGroupEligibilityScheduleRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Stop-MgBetaIdentityGovernancePrivilegedAccessGroupEligibilityScheduleRequest -PrivilegedAccessGroupEligibilityScheduleRequestId $privilegedAccessGroupEligibilityScheduleRequestId - -``` -This example shows how to use the Stop-MgBetaIdentityGovernancePrivilegedAccessGroupEligibilityScheduleRequest Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementDirectoryRoleAssignmentScheduleRequest.md deleted file mode 100644 index ac56e313cd..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Stop-MgBetaRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId - -``` -This example shows how to use the Stop-MgBetaRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest.md deleted file mode 100644 index 473e1a0040..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -Stop-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId - -``` -This example shows how to use the Stop-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleAssignmentScheduleRequest.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleAssignmentScheduleRequest.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleAssignmentScheduleRequest.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleEligibilityScheduleRequest.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleEligibilityScheduleRequest.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleEligibilityScheduleRequest.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleAssignmentScheduleRequest.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleAssignmentScheduleRequest.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleAssignmentScheduleRequest.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleEligibilityScheduleRequest.md b/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleEligibilityScheduleRequest.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleEligibilityScheduleRequest.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.Governance/beta/examples/Update-MgBetaAccessReview.md b/src/Beta.Identity.Governance/beta/examples/Update-MgBetaAccessReview.md deleted file mode 100644 index 183ab3e4f0..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Update-MgBetaAccessReview.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - displayName = "TestReview new name" -} - -Update-MgBetaAccessReview -AccessReviewId $accessReviewId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaAccessReview Cmdlet. - diff --git a/src/Beta.Identity.Governance/beta/examples/Update-MgBetaProgram.md b/src/Beta.Identity.Governance/beta/examples/Update-MgBetaProgram.md deleted file mode 100644 index a3df0077fe..0000000000 --- a/src/Beta.Identity.Governance/beta/examples/Update-MgBetaProgram.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.Governance - -$params = @{ - displayName = "testprogram3 new name" -} - -Update-MgBetaProgram -ProgramId $programId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaProgram Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Confirm-MgBetaRiskyServicePrincipalCompromised.md b/src/Beta.Identity.SignIns/beta/examples/Confirm-MgBetaRiskyServicePrincipalCompromised.md deleted file mode 100644 index 4cc512d92b..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Confirm-MgBetaRiskyServicePrincipalCompromised.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - servicePrincipalIds = @( - "9089a539-a539-9089-39a5-899039a58990" -) -} - -Confirm-MgBetaRiskyServicePrincipalCompromised -BodyParameter $params - -``` -This example shows how to use the Confirm-MgBetaRiskyServicePrincipalCompromised Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Confirm-MgBetaRiskyUserCompromised.md b/src/Beta.Identity.SignIns/beta/examples/Confirm-MgBetaRiskyUserCompromised.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.SignIns/beta/examples/Find-MgBetaIdentityConditionalAccessAuthenticationStrengthPolicyByMethodMode.md b/src/Beta.Identity.SignIns/beta/examples/Find-MgBetaIdentityConditionalAccessAuthenticationStrengthPolicyByMethodMode.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Find-MgBetaIdentityConditionalAccessAuthenticationStrengthPolicyByMethodMode.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.SignIns/beta/examples/Find-MgBetaPolicyAuthenticationStrengthPolicyByMethodMode.md b/src/Beta.Identity.SignIns/beta/examples/Find-MgBetaPolicyAuthenticationStrengthPolicyByMethodMode.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Find-MgBetaPolicyAuthenticationStrengthPolicyByMethodMode.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaDataPolicyOperation.md b/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaDataPolicyOperation.md deleted file mode 100644 index 9f5316f1c0..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaDataPolicyOperation.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Get-MgBetaDataPolicyOperation -DataPolicyOperationId $dataPolicyOperationId - -``` -This example shows how to use the Get-MgBetaDataPolicyOperation Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaIdentityB2CUserFlowUserAttributeAssignmentOrder.md b/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaIdentityB2CUserFlowUserAttributeAssignmentOrder.md deleted file mode 100644 index 39165c97bc..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaIdentityB2CUserFlowUserAttributeAssignmentOrder.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Get-MgBetaIdentityB2CUserFlowUserAttributeAssignmentOrder -B2cIdentityUserFlowId $b2cIdentityUserFlowId - -``` -This example shows how to use the Get-MgBetaIdentityB2CUserFlowUserAttributeAssignmentOrder Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaIdentityB2XUserFlowUserAttributeAssignmentOrder.md b/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaIdentityB2XUserFlowUserAttributeAssignmentOrder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaIdentityB2XUserFlowUserAttributeAssignmentOrder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaOauth2PermissionGrant.md b/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaOauth2PermissionGrant.md deleted file mode 100644 index b6af5236db..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaOauth2PermissionGrant.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Get-MgBetaOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId - -``` -This example shows how to use the Get-MgBetaOauth2PermissionGrant Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaOauth2PermissionGrantDelta.md b/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaOauth2PermissionGrantDelta.md deleted file mode 100644 index baf1641561..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaOauth2PermissionGrantDelta.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Get-MgBetaOauth2PermissionGrantDelta - -``` -This example shows how to use the Get-MgBetaOauth2PermissionGrantDelta Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaTrustFrameworkKeySetActiveKey.md b/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaTrustFrameworkKeySetActiveKey.md deleted file mode 100644 index 4d353023b9..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Get-MgBetaTrustFrameworkKeySetActiveKey.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Get-MgBetaTrustFrameworkKeySetActiveKey -TrustFrameworkKeySetId $trustFrameworkKeySetId - -``` -This example shows how to use the Get-MgBetaTrustFrameworkKeySetActiveKey Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaAvailableIdentityProviderType.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaAvailableIdentityProviderType.md deleted file mode 100644 index 333cc155ec..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaAvailableIdentityProviderType.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: List all **identityProvider** available in a Microsoft Entra directory - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Invoke-MgBetaAvailableIdentityProviderType - -``` -This example will list all **identityprovider** available in a microsoft entra directory - -### Example 2: List all **identityProvider** available in an Azure AD B2C directory - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Invoke-MgBetaAvailableIdentityProviderType - -``` -This example will list all **identityprovider** available in an azure ad b2c directory - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaDismissRiskyServicePrincipal.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaDismissRiskyServicePrincipal.md deleted file mode 100644 index 8b82715258..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaDismissRiskyServicePrincipal.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - servicePrincipalIds = @( - "9089a539-a539-9089-39a5-899039a58990" -) -} - -Invoke-MgBetaDismissRiskyServicePrincipal -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaDismissRiskyServicePrincipal Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaDismissRiskyUser.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaDismissRiskyUser.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaExtractInformationProtectionPolicyLabel.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaExtractInformationProtectionPolicyLabel.md deleted file mode 100644 index 3ac39d59e8..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaExtractInformationProtectionPolicyLabel.md +++ /dev/null @@ -1,60 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - contentInfo = @{ - "@odata.type" = "#microsoft.graph.contentInfo" - "format@odata.type" = "#microsoft.graph.contentFormat" - format = "default" - identifier = $null - "state@odata.type" = "#microsoft.graph.contentState" - state = "rest" - "metadata@odata.type" = "#Collection(microsoft.graph.keyValuePair)" - metadata = @( - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_Enabled" - value = "True" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_Method" - value = "Standard" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_SetDate" - value = "1/1/0001 12:00:00 AM" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_SiteId" - value = "cfa4cf1d-a337-4481-aa99-19d8f3d63f7c" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_Name" - value = "Top Secret" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_ContentBits" - value = "0" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_ActionId" - value = "00000000-0000-0000-0000-000000000000" - } - ) - } -} - -Invoke-MgBetaExtractInformationProtectionPolicyLabel -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaExtractInformationProtectionPolicyLabel Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityApiConnectorClientCertificate.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityApiConnectorClientCertificate.md deleted file mode 100644 index 4019afbcc8..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityApiConnectorClientCertificate.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - pkcs12Value = "eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ...kDJ04sJShkkgjL9Bm49plA" - password = "" -} - -Invoke-MgBetaUploadIdentityApiConnectorClientCertificate -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaUploadIdentityApiConnectorClientCertificate Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostAttributeCollectionClientCertificate.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostAttributeCollectionClientCertificate.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostAttributeCollectionClientCertificate.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostFederationSignupClientCertificate.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostFederationSignupClientCertificate.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostFederationSignupClientCertificate.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPreTokenIssuanceClientCertificate.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPreTokenIssuanceClientCertificate.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPreTokenIssuanceClientCertificate.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadTrustFrameworkKeySetCertificate.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadTrustFrameworkKeySetCertificate.md deleted file mode 100644 index 8246be3c01..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadTrustFrameworkKeySetCertificate.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - key = "key-value" -} - -Invoke-MgBetaUploadTrustFrameworkKeySetCertificate -TrustFrameworkKeySetId $trustFrameworkKeySetId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaUploadTrustFrameworkKeySetCertificate Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadTrustFrameworkKeySetPkcs12.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadTrustFrameworkKeySetPkcs12.md deleted file mode 100644 index a6165104d7..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadTrustFrameworkKeySetPkcs12.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - key = "Base64-encoded-pfx-content" - password = "password-value" -} - -Invoke-MgBetaUploadTrustFrameworkKeySetPkcs12 -TrustFrameworkKeySetId $trustFrameworkKeySetId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaUploadTrustFrameworkKeySetPkcs12 Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadTrustFrameworkKeySetSecret.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadTrustFrameworkKeySetSecret.md deleted file mode 100644 index 5378a1d3b5..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUploadTrustFrameworkKeySetSecret.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - use = "use-value" - k = "application-secret-to-be-uploaded" - nbf = 1508969811 - exp = 1508973711 -} - -Invoke-MgBetaUploadTrustFrameworkKeySetSecret -TrustFrameworkKeySetId $trustFrameworkKeySetId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaUploadTrustFrameworkKeySetSecret Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUsageIdentityConditionalAccessAuthenticationStrengthPolicy.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUsageIdentityConditionalAccessAuthenticationStrengthPolicy.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUsageIdentityConditionalAccessAuthenticationStrengthPolicy.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUsagePolicyAuthenticationStrengthPolicy.md b/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUsagePolicyAuthenticationStrengthPolicy.md deleted file mode 100644 index 5230f69d50..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Invoke-MgBetaUsagePolicyAuthenticationStrengthPolicy.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Invoke-MgBetaUsagePolicyAuthenticationStrengthPolicy -AuthenticationStrengthPolicyId $authenticationStrengthPolicyId - -``` -This example shows how to use the Invoke-MgBetaUsagePolicyAuthenticationStrengthPolicy Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/New-MgBetaInvitation.md b/src/Beta.Identity.SignIns/beta/examples/New-MgBetaInvitation.md deleted file mode 100644 index cd218f37e9..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/New-MgBetaInvitation.md +++ /dev/null @@ -1,36 +0,0 @@ -### Example 1: Invite a guest user - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - invitedUserEmailAddress = "admin@fabrikam.com" - inviteRedirectUrl = "https://myapp.contoso.com" -} - -New-MgBetaInvitation -BodyParameter $params - -``` -This example will invite a guest user - -### Example 2: Reset the redemption status of a guest user - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - invitedUserEmailAddress = "AdeleV@fabrikam.com" - inviteRedirectUrl = "https://myapp.contoso.com" - invitedUser = @{ - id = "264e6d50-eaec-461e-b187-873b1bcf855f" - } - resetRedemption = $true -} - -New-MgBetaInvitation -BodyParameter $params - -``` -This example will reset the redemption status of a guest user - diff --git a/src/Beta.Identity.SignIns/beta/examples/New-MgBetaOauth2PermissionGrant.md b/src/Beta.Identity.SignIns/beta/examples/New-MgBetaOauth2PermissionGrant.md deleted file mode 100644 index 6cd4ca2e68..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/New-MgBetaOauth2PermissionGrant.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - clientId = "ef969797-201d-4f6b-960c-e9ed5f31dab5" - consentType = "AllPrincipals" - resourceId = "943603e4-e787-4fe9-93d1-e30f749aae39" - scope = "DelegatedPermissionGrant.ReadWrite.All" - startTime = [System.DateTime]::Parse("2022-03-17T00:00:00Z") - expiryTime = [System.DateTime]::Parse("2023-03-17T00:00:00Z") -} - -New-MgBetaOauth2PermissionGrant -BodyParameter $params - -``` -This example shows how to use the New-MgBetaOauth2PermissionGrant Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/New-MgBetaTrustFrameworkKeySetKey.md b/src/Beta.Identity.SignIns/beta/examples/New-MgBetaTrustFrameworkKeySetKey.md deleted file mode 100644 index 09ae828277..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/New-MgBetaTrustFrameworkKeySetKey.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - use = "sig" - kty = "RSA" - nbf = 1508969811 - exp = 1508969811 -} - -New-MgBetaTrustFrameworkKeySetKey -TrustFrameworkKeySetId $trustFrameworkKeySetId -BodyParameter $params - -``` -This example shows how to use the New-MgBetaTrustFrameworkKeySetKey Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Remove-MgBetaOauth2PermissionGrant.md b/src/Beta.Identity.SignIns/beta/examples/Remove-MgBetaOauth2PermissionGrant.md deleted file mode 100644 index 3798635ad8..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Remove-MgBetaOauth2PermissionGrant.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Remove-MgBetaOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId - -``` -This example shows how to use the Remove-MgBetaOauth2PermissionGrant Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Reset-MgBetaPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md b/src/Beta.Identity.SignIns/beta/examples/Reset-MgBetaPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md deleted file mode 100644 index 19f121d4e8..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Reset-MgBetaPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Reset-MgBetaPolicyCrossTenantAccessPolicyDefaultToSystemDefault - -``` -This example shows how to use the Reset-MgBetaPolicyCrossTenantAccessPolicyDefaultToSystemDefault Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Reset-MgBetaPolicyCrossTenantAccessPolicyTemplateMultiTenantOrganizationIdentitySynchronizationToDefaultSetting.md b/src/Beta.Identity.SignIns/beta/examples/Reset-MgBetaPolicyCrossTenantAccessPolicyTemplateMultiTenantOrganizationIdentitySynchronizationToDefaultSetting.md deleted file mode 100644 index 2219f6888c..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Reset-MgBetaPolicyCrossTenantAccessPolicyTemplateMultiTenantOrganizationIdentitySynchronizationToDefaultSetting.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Reset-MgBetaPolicyCrossTenantAccessPolicyTemplateMultiTenantOrganizationIdentitySynchronizationToDefaultSetting - -``` -This example shows how to use the Reset-MgBetaPolicyCrossTenantAccessPolicyTemplateMultiTenantOrganizationIdentitySynchronizationToDefaultSetting Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Reset-MgBetaPolicyCrossTenantAccessPolicyTemplateMultiTenantOrganizationPartnerConfigurationToDefaultSetting.md b/src/Beta.Identity.SignIns/beta/examples/Reset-MgBetaPolicyCrossTenantAccessPolicyTemplateMultiTenantOrganizationPartnerConfigurationToDefaultSetting.md deleted file mode 100644 index 5bc0a25b61..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Reset-MgBetaPolicyCrossTenantAccessPolicyTemplateMultiTenantOrganizationPartnerConfigurationToDefaultSetting.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Reset-MgBetaPolicyCrossTenantAccessPolicyTemplateMultiTenantOrganizationPartnerConfigurationToDefaultSetting - -``` -This example shows how to use the Reset-MgBetaPolicyCrossTenantAccessPolicyTemplateMultiTenantOrganizationPartnerConfigurationToDefaultSetting Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Set-MgBetaIdentityB2CUserFlowUserAttributeAssignmentOrder.md b/src/Beta.Identity.SignIns/beta/examples/Set-MgBetaIdentityB2CUserFlowUserAttributeAssignmentOrder.md deleted file mode 100644 index 17a4be1db9..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Set-MgBetaIdentityB2CUserFlowUserAttributeAssignmentOrder.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - newAssignmentOrder = @{ - order = @( - "City" - "extension_GUID_ShoeSize" -) -} -} - -Set-MgBetaIdentityB2CUserFlowUserAttributeAssignmentOrder -B2cIdentityUserFlowId $b2cIdentityUserFlowId -BodyParameter $params - -``` -This example shows how to use the Set-MgBetaIdentityB2CUserFlowUserAttributeAssignmentOrder Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Set-MgBetaIdentityB2XUserFlowUserAttributeAssignmentOrder.md b/src/Beta.Identity.SignIns/beta/examples/Set-MgBetaIdentityB2XUserFlowUserAttributeAssignmentOrder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Set-MgBetaIdentityB2XUserFlowUserAttributeAssignmentOrder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaIdentityCustomAuthenticationExtensionAuthenticationConfiguration.md b/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaIdentityCustomAuthenticationExtensionAuthenticationConfiguration.md deleted file mode 100644 index d9f20a13c0..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaIdentityCustomAuthenticationExtensionAuthenticationConfiguration.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -Test-MgBetaIdentityCustomAuthenticationExtensionAuthenticationConfiguration -CustomAuthenticationExtensionId $customAuthenticationExtensionId - -``` -This example shows how to use the Test-MgBetaIdentityCustomAuthenticationExtensionAuthenticationConfiguration Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaInformationProtectionPolicyLabelApplication.md b/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaInformationProtectionPolicyLabelApplication.md deleted file mode 100644 index 495703d3e4..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaInformationProtectionPolicyLabelApplication.md +++ /dev/null @@ -1,71 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - contentInfo = @{ - "@odata.type" = "#microsoft.graph.contentInfo" - "format@odata.type" = "#microsoft.graph.contentFormat" - format = "default" - identifier = $null - "state@odata.type" = "#microsoft.graph.contentState" - state = "rest" - "metadata@odata.type" = "#Collection(microsoft.graph.keyValuePair)" - metadata = @( - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_Enabled" - value = "True" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_Method" - value = "Standard" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_SetDate" - value = "1/1/0001 12:00:00 AM" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_SiteId" - value = "cfa4cf1d-a337-4481-aa99-19d8f3d63f7c" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_Name" - value = "General" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_ContentBits" - value = "0" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_ActionId" - value = "00000000-0000-0000-0000-000000000000" - } - ) - } - labelingOptions = @{ - "@odata.type" = "#microsoft.graph.labelingOptions" - "assignmentMethod@odata.type" = "#microsoft.graph.assignmentMethod" - assignmentMethod = "standard" - "labelId@odata.type" = "#Guid" - labelId = "97309856-9c28-4ac6-9382-5f8bc20c457b" - downgradeJustification = $null - "extendedProperties@odata.type" = "#Collection(microsoft.graph.keyValuePair)" - extendedProperties = @( - ) - } -} - -Test-MgBetaInformationProtectionPolicyLabelApplication -BodyParameter $params - -``` -This example shows how to use the Test-MgBetaInformationProtectionPolicyLabelApplication Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaInformationProtectionPolicyLabelClassificationResult.md b/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaInformationProtectionPolicyLabelClassificationResult.md deleted file mode 100644 index de117631b2..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaInformationProtectionPolicyLabelClassificationResult.md +++ /dev/null @@ -1,29 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - contentInfo = @{ - "@odata.type" = "#microsoft.graph.contentInfo" - "format@odata.type" = "#microsoft.graph.contentFormat" - format = "default" - identifier = $null - "state@odata.type" = "#microsoft.graph.contentState" - state = "rest" - } - classificationResults = @( - @{ - sensitiveTypeId = "cb353f78-2b72-4c3c-8827-92ebe4f69fdf" - count = 4 - confidenceLevel = 75 - } - ) -} - -Test-MgBetaInformationProtectionPolicyLabelClassificationResult -BodyParameter $params - -``` -This example shows how to use the Test-MgBetaInformationProtectionPolicyLabelClassificationResult Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaInformationProtectionPolicyLabelRemoval.md b/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaInformationProtectionPolicyLabelRemoval.md deleted file mode 100644 index 9b17fdbf25..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Test-MgBetaInformationProtectionPolicyLabelRemoval.md +++ /dev/null @@ -1,64 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - contentInfo = @{ - "@odata.type" = "#microsoft.graph.contentInfo" - "format@odata.type" = "#microsoft.graph.contentFormat" - format = "default" - identifier = $null - "state@odata.type" = "#microsoft.graph.contentState" - state = "rest" - "metadata@odata.type" = "#Collection(microsoft.graph.keyValuePair)" - metadata = @( - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_Enabled" - value = "True" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_Method" - value = "Standard" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_SetDate" - value = "1/1/0001 12:00:00 AM" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_SiteId" - value = "cfa4cf1d-a337-4481-aa99-19d8f3d63f7c" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_Name" - value = "General" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_ContentBits" - value = "0" - } - @{ - "@odata.type" = "#microsoft.graph.keyValuePair" - name = "MSIP_Label_722a5300-ac39-4c9a-88e3-f54c46676417_ActionId" - value = "00000000-0000-0000-0000-000000000000" - } - ) - } - downgradeJustification = @{ - justificationMessage = "The information has been declassified." - isDowngradeJustified = $true - } -} - -Test-MgBetaInformationProtectionPolicyLabelRemoval -BodyParameter $params - -``` -This example shows how to use the Test-MgBetaInformationProtectionPolicyLabelRemoval Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Update-MgBetaIdentityConditionalAccessAuthenticationStrengthPolicyAllowedCombination.md b/src/Beta.Identity.SignIns/beta/examples/Update-MgBetaIdentityConditionalAccessAuthenticationStrengthPolicyAllowedCombination.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Update-MgBetaIdentityConditionalAccessAuthenticationStrengthPolicyAllowedCombination.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Identity.SignIns/beta/examples/Update-MgBetaOauth2PermissionGrant.md b/src/Beta.Identity.SignIns/beta/examples/Update-MgBetaOauth2PermissionGrant.md deleted file mode 100644 index 335e02df82..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Update-MgBetaOauth2PermissionGrant.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - scope = "User.ReadBasic.All Group.ReadWrite.All" -} - -Update-MgBetaOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaOauth2PermissionGrant Cmdlet. - diff --git a/src/Beta.Identity.SignIns/beta/examples/Update-MgBetaPolicyAuthenticationStrengthPolicyAllowedCombination.md b/src/Beta.Identity.SignIns/beta/examples/Update-MgBetaPolicyAuthenticationStrengthPolicyAllowedCombination.md deleted file mode 100644 index d1ee2c8ee9..0000000000 --- a/src/Beta.Identity.SignIns/beta/examples/Update-MgBetaPolicyAuthenticationStrengthPolicyAllowedCombination.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Identity.SignIns - -$params = @{ - allowedCombinations = @( - "password, voice" -) -} - -Update-MgBetaPolicyAuthenticationStrengthPolicyAllowedCombination -AuthenticationStrengthPolicyId $authenticationStrengthPolicyId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaPolicyAuthenticationStrengthPolicyAllowedCombination Cmdlet. - diff --git a/src/Beta.Planner/beta/examples/Get-MgBetaPlannerBucketDelta.md b/src/Beta.Planner/beta/examples/Get-MgBetaPlannerBucketDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Planner/beta/examples/Get-MgBetaPlannerPlanDelta.md b/src/Beta.Planner/beta/examples/Get-MgBetaPlannerPlanDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Planner/beta/examples/Get-MgBetaPlannerPlanDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Planner/beta/examples/Get-MgBetaPlannerTaskDelta.md b/src/Beta.Planner/beta/examples/Get-MgBetaPlannerTaskDelta.md deleted file mode 100644 index f174bc5349..0000000000 --- a/src/Beta.Planner/beta/examples/Get-MgBetaPlannerTaskDelta.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Get delta on tasks in a plannerPlan - -```powershell - -Import-Module Microsoft.Graph.Beta.Planner - -Get-MgBetaPlannerTaskDelta - -``` -This example will get delta on tasks in a plannerplan - diff --git a/src/Beta.Planner/beta/examples/Move-MgBetaPlannerPlanToContainer.md b/src/Beta.Planner/beta/examples/Move-MgBetaPlannerPlanToContainer.md deleted file mode 100644 index ab5f113b1f..0000000000 --- a/src/Beta.Planner/beta/examples/Move-MgBetaPlannerPlanToContainer.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Planner - -$params = @{ - container = @{ - containerId = "groupId" - type = "group" - } -} - -Move-MgBetaPlannerPlanToContainer -PlannerPlanId $plannerPlanId -BodyParameter $params - -``` -This example shows how to use the Move-MgBetaPlannerPlanToContainer Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Confirm-MgBetaAuditLogSignInCompromised.md b/src/Beta.Reports/beta/examples/Confirm-MgBetaAuditLogSignInCompromised.md deleted file mode 100644 index 91275b9d85..0000000000 --- a/src/Beta.Reports/beta/examples/Confirm-MgBetaAuditLogSignInCompromised.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -$params = @{ - requestIds = @( - "f01c6af6-6683-4a37-a945-0a925501eede" -"42bf60ac-d0cb-4206-aa5c-101884298f55" -"f09c8f14-8d8e-42cf-8a7e-732b0594e79b" -) -} - -Confirm-MgBetaAuditLogSignInCompromised -BodyParameter $params - -``` -This example shows how to use the Confirm-MgBetaAuditLogSignInCompromised Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Confirm-MgBetaAuditLogSignInSafe.md b/src/Beta.Reports/beta/examples/Confirm-MgBetaAuditLogSignInSafe.md deleted file mode 100644 index bc13bdd64c..0000000000 --- a/src/Beta.Reports/beta/examples/Confirm-MgBetaAuditLogSignInSafe.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -$params = @{ - requestIds = @( - "5a0c76d2-cb57-4ece-9bc1-c323178f116a" -"96609214-09ef-4f80-9d4a-ace5fceecaec" -"05020696-4eb8-45a3-918f-8f8bb7ad6015" -) -} - -Confirm-MgBetaAuditLogSignInSafe -BodyParameter $params - -``` -This example shows how to use the Confirm-MgBetaAuditLogSignInSafe Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Export-MgBetaReportPartnerBillingReconciliationBilled.md b/src/Beta.Reports/beta/examples/Export-MgBetaReportPartnerBillingReconciliationBilled.md deleted file mode 100644 index 5180bdcd17..0000000000 --- a/src/Beta.Reports/beta/examples/Export-MgBetaReportPartnerBillingReconciliationBilled.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -$params = @{ - invoiceId = "G016907411" - attributeSet = "full" -} - -Export-MgBetaReportPartnerBillingReconciliationBilled -BodyParameter $params - -``` -This example shows how to use the Export-MgBetaReportPartnerBillingReconciliationBilled Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Export-MgBetaReportPartnerBillingUsageBilled.md b/src/Beta.Reports/beta/examples/Export-MgBetaReportPartnerBillingUsageBilled.md deleted file mode 100644 index 8ad8369865..0000000000 --- a/src/Beta.Reports/beta/examples/Export-MgBetaReportPartnerBillingUsageBilled.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -$params = @{ - invoiceId = "G016907411" - attributeSet = "full" -} - -Export-MgBetaReportPartnerBillingUsageBilled -BodyParameter $params - -``` -This example shows how to use the Export-MgBetaReportPartnerBillingUsageBilled Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Export-MgBetaReportPartnerBillingUsageUnbilled.md b/src/Beta.Reports/beta/examples/Export-MgBetaReportPartnerBillingUsageUnbilled.md deleted file mode 100644 index 5456a9411a..0000000000 --- a/src/Beta.Reports/beta/examples/Export-MgBetaReportPartnerBillingUsageUnbilled.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -$params = @{ - currencyCode = "USD" - attributeSet = "full" - billingPeriod = "current" -} - -Export-MgBetaReportPartnerBillingUsageUnbilled -BodyParameter $params - -``` -This example shows how to use the Export-MgBetaReportPartnerBillingUsageUnbilled Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportAttackSimulationRepeatOffender.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportAttackSimulationRepeatOffender.md deleted file mode 100644 index 9642885e33..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportAttackSimulationRepeatOffender.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportAttackSimulationRepeatOffender - -``` -This example shows how to use the Get-MgBetaReportAttackSimulationRepeatOffender Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportAttackSimulationTrainingUserCoverage.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportAttackSimulationTrainingUserCoverage.md deleted file mode 100644 index 523431e73a..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportAttackSimulationTrainingUserCoverage.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportAttackSimulationTrainingUserCoverage - -``` -This example shows how to use the Get-MgBetaReportAttackSimulationTrainingUserCoverage Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportAttackSimulationUserCoverage.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportAttackSimulationUserCoverage.md deleted file mode 100644 index c66ce7640c..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportAttackSimulationUserCoverage.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportAttackSimulationUserCoverage - -``` -This example shows how to use the Get-MgBetaReportAttackSimulationUserCoverage Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportAzureAdApplicationSignInSummary.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportAzureAdApplicationSignInSummary.md deleted file mode 100644 index 493ea7dd39..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportAzureAdApplicationSignInSummary.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportAzureAdApplicationSignInSummary -Period $periodId - -``` -This example shows how to use the Get-MgBetaReportAzureAdApplicationSignInSummary Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportCredentialUsageSummary.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportCredentialUsageSummary.md deleted file mode 100644 index a6fa2dad8a..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportCredentialUsageSummary.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportCredentialUsageSummary -Filter "feature eq 'registration'" -Period $periodId - -``` -This example shows how to use the Get-MgBetaReportCredentialUsageSummary Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportCredentialUserRegistrationCount.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportCredentialUserRegistrationCount.md deleted file mode 100644 index e6b2ab1694..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportCredentialUserRegistrationCount.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportCredentialUserRegistrationCount - -``` -This example shows how to use the Get-MgBetaReportCredentialUserRegistrationCount Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportGroupArchivedPrintJob.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportGroupArchivedPrintJob.md deleted file mode 100644 index fcefcc8495..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportGroupArchivedPrintJob.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportGroupArchivedPrintJob - -``` -This example shows how to use the Get-MgBetaReportGroupArchivedPrintJob Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportM365AppPlatformUserCount.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportM365AppPlatformUserCount.md deleted file mode 100644 index 71afd5f8ce..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportM365AppPlatformUserCount.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: CSV output - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportM365AppPlatformUserCount -Format "text/csv" -Period $periodId - -``` -This example will csv output - -### Example 2: JSON output - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportM365AppPlatformUserCount -Format "application/json" -Period $periodId - -``` -This example will json output - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportM365AppUserCount.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportM365AppUserCount.md deleted file mode 100644 index 75f0a1cc5a..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportM365AppUserCount.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: CSV output - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportM365AppUserCount -Format "text/csv" -Period $periodId - -``` -This example will csv output - -### Example 2: JSON output - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportM365AppUserCount -Format "application/json" -Period $periodId - -``` -This example will json output - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportPrinterArchivedPrintJob.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportPrinterArchivedPrintJob.md deleted file mode 100644 index 3b551140d1..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportPrinterArchivedPrintJob.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportPrinterArchivedPrintJob - -``` -This example shows how to use the Get-MgBetaReportPrinterArchivedPrintJob Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportRelyingPartyDetailedSummary.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportRelyingPartyDetailedSummary.md deleted file mode 100644 index 45e3b3dca4..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportRelyingPartyDetailedSummary.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportRelyingPartyDetailedSummary -Period $periodId - -``` -This example shows how to use the Get-MgBetaReportRelyingPartyDetailedSummary Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportSecurityAttackSimulationRepeatOffender.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportSecurityAttackSimulationRepeatOffender.md deleted file mode 100644 index b0d5b04c07..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportSecurityAttackSimulationRepeatOffender.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportSecurityAttackSimulationRepeatOffender - -``` -This example shows how to use the Get-MgBetaReportSecurityAttackSimulationRepeatOffender Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportSecurityAttackSimulationTrainingUserCoverage.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportSecurityAttackSimulationTrainingUserCoverage.md deleted file mode 100644 index 92ace64e9e..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportSecurityAttackSimulationTrainingUserCoverage.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportSecurityAttackSimulationTrainingUserCoverage - -``` -This example shows how to use the Get-MgBetaReportSecurityAttackSimulationTrainingUserCoverage Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportSecurityAttackSimulationUserCoverage.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportSecurityAttackSimulationUserCoverage.md deleted file mode 100644 index 857ecf4527..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportSecurityAttackSimulationUserCoverage.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportSecurityAttackSimulationUserCoverage - -``` -This example shows how to use the Get-MgBetaReportSecurityAttackSimulationUserCoverage Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForConditionalAccessCompliantDeviceSignInSuccess.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForConditionalAccessCompliantDeviceSignInSuccess.md deleted file mode 100644 index 7be4c35038..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForConditionalAccessCompliantDeviceSignInSuccess.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportServiceActivityMetricForConditionalAccessCompliantDeviceSignInSuccess - -``` -This example shows how to use the Get-MgBetaReportServiceActivityMetricForConditionalAccessCompliantDeviceSignInSuccess Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForConditionalAccessManagedDeviceSignInSuccess.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForConditionalAccessManagedDeviceSignInSuccess.md deleted file mode 100644 index 01d54949ae..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForConditionalAccessManagedDeviceSignInSuccess.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportServiceActivityMetricForConditionalAccessManagedDeviceSignInSuccess - -``` -This example shows how to use the Get-MgBetaReportServiceActivityMetricForConditionalAccessManagedDeviceSignInSuccess Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForMfaSignInFailure.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForMfaSignInFailure.md deleted file mode 100644 index a2e140cb76..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForMfaSignInFailure.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportServiceActivityMetricForMfaSignInFailure - -``` -This example shows how to use the Get-MgBetaReportServiceActivityMetricForMfaSignInFailure Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForMfaSignInSuccess.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForMfaSignInSuccess.md deleted file mode 100644 index 679fe6a384..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForMfaSignInSuccess.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportServiceActivityMetricForMfaSignInSuccess - -``` -This example shows how to use the Get-MgBetaReportServiceActivityMetricForMfaSignInSuccess Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForSamlSignInSuccess.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForSamlSignInSuccess.md deleted file mode 100644 index 79aa2084cc..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportServiceActivityMetricForSamlSignInSuccess.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportServiceActivityMetricForSamlSignInSuccess - -``` -This example shows how to use the Get-MgBetaReportServiceActivityMetricForSamlSignInSuccess Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Get-MgBetaReportUserArchivedPrintJob.md b/src/Beta.Reports/beta/examples/Get-MgBetaReportUserArchivedPrintJob.md deleted file mode 100644 index bd30d81b9a..0000000000 --- a/src/Beta.Reports/beta/examples/Get-MgBetaReportUserArchivedPrintJob.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Reports - -Get-MgBetaReportUserArchivedPrintJob - -``` -This example shows how to use the Get-MgBetaReportUserArchivedPrintJob Cmdlet. - diff --git a/src/Beta.Reports/beta/examples/Invoke-MgBetaGraphReportAuthenticationMethod.md b/src/Beta.Reports/beta/examples/Invoke-MgBetaGraphReportAuthenticationMethod.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.SchemaExtensions/beta/examples/Get-MgBetaSchemaExtension.md b/src/Beta.SchemaExtensions/beta/examples/Get-MgBetaSchemaExtension.md deleted file mode 100644 index f13fefe528..0000000000 --- a/src/Beta.SchemaExtensions/beta/examples/Get-MgBetaSchemaExtension.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.SchemaExtensions - -Get-MgBetaSchemaExtension -SchemaExtensionId $schemaExtensionId - -``` -This example shows how to use the Get-MgBetaSchemaExtension Cmdlet. - diff --git a/src/Beta.SchemaExtensions/beta/examples/New-MgBetaSchemaExtension.md b/src/Beta.SchemaExtensions/beta/examples/New-MgBetaSchemaExtension.md deleted file mode 100644 index e47e5f87cc..0000000000 --- a/src/Beta.SchemaExtensions/beta/examples/New-MgBetaSchemaExtension.md +++ /dev/null @@ -1,100 +0,0 @@ -### Example 1: Creating a schema extension using a verified domain - -```powershell - -Import-Module Microsoft.Graph.Beta.SchemaExtensions - -$params = @{ - id = "graphlearn_courses" - description = "Graph Learn training courses extensions" - targetTypes = @( - "Group" -) -properties = @( - @{ - name = "courseId" - type = "Integer" - } - @{ - name = "courseName" - type = "String" - } - @{ - name = "courseType" - type = "String" - } -) -} - -New-MgBetaSchemaExtension -BodyParameter $params - -``` -This example shows creating a schema extension using a verified domain - -### Example 2: Creating a schema extension using just a name - -```powershell - -Import-Module Microsoft.Graph.Beta.SchemaExtensions - -$params = @{ - id = "courses" - description = "Graph Learn training courses extensions" - targetTypes = @( - "Group" -) -properties = @( - @{ - name = "courseId" - type = "Integer" - } - @{ - name = "courseName" - type = "String" - } - @{ - name = "courseType" - type = "String" - } -) -} - -New-MgBetaSchemaExtension -BodyParameter $params - -``` -This example shows creating a schema extension using just a name - -### Example 3: Creating a schema extension setting the owner - -```powershell - -Import-Module Microsoft.Graph.Beta.SchemaExtensions - -$params = @{ - id = "courses" - description = "Graph Learn training courses extensions" - targetTypes = @( - "Group" -) -owner = "50897f70-a455-4adf-87bc-4cf17091d5ac" -properties = @( - @{ - name = "courseId" - type = "Integer" - } - @{ - name = "courseName" - type = "String" - } - @{ - name = "courseType" - type = "String" - } -) -} - -New-MgBetaSchemaExtension -BodyParameter $params - -``` -This example shows creating a schema extension setting the owner - diff --git a/src/Beta.SchemaExtensions/beta/examples/Remove-MgBetaSchemaExtension.md b/src/Beta.SchemaExtensions/beta/examples/Remove-MgBetaSchemaExtension.md deleted file mode 100644 index 50a8e538bc..0000000000 --- a/src/Beta.SchemaExtensions/beta/examples/Remove-MgBetaSchemaExtension.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.SchemaExtensions - -Remove-MgBetaSchemaExtension -SchemaExtensionId $schemaExtensionId - -``` -This example shows how to use the Remove-MgBetaSchemaExtension Cmdlet. - diff --git a/src/Beta.SchemaExtensions/beta/examples/Update-MgBetaSchemaExtension.md b/src/Beta.SchemaExtensions/beta/examples/Update-MgBetaSchemaExtension.md deleted file mode 100644 index 804657106d..0000000000 --- a/src/Beta.SchemaExtensions/beta/examples/Update-MgBetaSchemaExtension.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.SchemaExtensions - -$params = @{ - owner = "ef4cb9a8-97c3-4ca7-854b-5cb5ced376fa" - properties = @( - @{ - name = "courseId" - type = "Integer" - } - @{ - name = "courseName" - type = "String" - } - @{ - name = "courseType" - type = "String" - } - @{ - name = "courseSupervisors" - type = "String" - } - ) -} - -Update-MgBetaSchemaExtension -SchemaExtensionId $schemaExtensionId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaSchemaExtension Cmdlet. - diff --git a/src/Beta.Search/beta/examples/Get-MgBetaExternalIndustryDataRunStatistics.md b/src/Beta.Search/beta/examples/Get-MgBetaExternalIndustryDataRunStatistics.md deleted file mode 100644 index bb7d9ce111..0000000000 --- a/src/Beta.Search/beta/examples/Get-MgBetaExternalIndustryDataRunStatistics.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Search - -Get-MgBetaExternalIndustryDataRunStatistics -IndustryDataRunId $industryDataRunId - -``` -This example shows how to use the Get-MgBetaExternalIndustryDataRunStatistics Cmdlet. - diff --git a/src/Beta.Search/beta/examples/Invoke-MgBetaQuerySearch.md b/src/Beta.Search/beta/examples/Invoke-MgBetaQuerySearch.md deleted file mode 100644 index c460f0b283..0000000000 --- a/src/Beta.Search/beta/examples/Invoke-MgBetaQuerySearch.md +++ /dev/null @@ -1,34 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Search - -$params = @{ - requests = @( - @{ - entityTypes = @( - "externalItem" - ) - contentSources = @( - "/external/connections/connectionfriendlyname" - ) - region = "US" - query = @{ - queryString = "contoso product" - } - from = 0 - size = 25 - fields = @( - "title" -"description" -) -} -) -} - -Invoke-MgBetaQuerySearch -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaQuerySearch Cmdlet. - diff --git a/src/Beta.Search/beta/examples/Test-MgBetaExternalIndustryDataConnector.md b/src/Beta.Search/beta/examples/Test-MgBetaExternalIndustryDataConnector.md deleted file mode 100644 index f88aae8f5a..0000000000 --- a/src/Beta.Search/beta/examples/Test-MgBetaExternalIndustryDataConnector.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Search - -Test-MgBetaExternalIndustryDataConnector -IndustryDataConnectorId $industryDataConnectorId - -``` -This example shows how to use the Test-MgBetaExternalIndustryDataConnector Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseCustodianHold.md b/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseCustodianHold.md deleted file mode 100644 index f9dd389529..0000000000 --- a/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseCustodianHold.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Add-MgBetaSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId - -``` -This example shows how to use the Add-MgBetaSecurityCaseEdiscoveryCaseCustodianHold Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md b/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md deleted file mode 100644 index 0492767221..0000000000 --- a/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Add-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId - -``` -This example shows how to use the Add-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetQueryTag.md b/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetQueryTag.md deleted file mode 100644 index a7c3afb77a..0000000000 --- a/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetQueryTag.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -$params = @{ - tagsToAdd = @( - @{ - id = "d3d99dc704a74801b792b3e1e722aa0d" - } - ) -} - -Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetQueryTag -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetQueryTag Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md b/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md deleted file mode 100644 index f136a9561a..0000000000 --- a/src/Beta.Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -$params = @{ - search = @{ - id = "c17e91d6-6bc0-4ecb-b388-269ea3d4ffb7" - } - additionalDataOptions = "linkedFiles" -} - -Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Clear-MgBetaSecurityCaseEdiscoveryCaseSearchData.md b/src/Beta.Security/beta/examples/Clear-MgBetaSecurityCaseEdiscoveryCaseSearchData.md deleted file mode 100644 index 91187e0610..0000000000 --- a/src/Beta.Security/beta/examples/Clear-MgBetaSecurityCaseEdiscoveryCaseSearchData.md +++ /dev/null @@ -1,14 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -$params = @{ -} - -Clear-MgBetaSecurityCaseEdiscoveryCaseSearchData -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params - -``` -This example shows how to use the Clear-MgBetaSecurityCaseEdiscoveryCaseSearchData Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Close-MgBetaSecurityCaseEdiscoveryCase.md b/src/Beta.Security/beta/examples/Close-MgBetaSecurityCaseEdiscoveryCase.md deleted file mode 100644 index 15b1771c9b..0000000000 --- a/src/Beta.Security/beta/examples/Close-MgBetaSecurityCaseEdiscoveryCase.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Close-MgBetaSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId - -``` -This example shows how to use the Close-MgBetaSecurityCaseEdiscoveryCase Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md b/src/Beta.Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md deleted file mode 100644 index 4a002882c4..0000000000 --- a/src/Beta.Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -$params = @{ - outputName = "Export via API" - description = "Export for the Contoso investigation" - exportOptions = "originalFiles,fileInfo,tags" - exportStructure = "directory" -} - -Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params - -``` -This example shows how to use the Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Beta.Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSetQuery.md deleted file mode 100644 index 3e0620128e..0000000000 --- a/src/Beta.Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -$params = @{ - outputName = "Export reviewset query via API" - description = "Export for the Contoso investigation 2" - exportOptions = "originalFiles,fileInfo,tags" - exportStructure = "directory" -} - -Export-MgBetaSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId -BodyParameter $params - -``` -This example shows how to use the Export-MgBetaSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalAttachment.md b/src/Beta.Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalAttachment.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalReport.md b/src/Beta.Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalReport.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Security/beta/examples/Initialize-MgBetaSecurityCaseEdiscoveryCaseCustodian.md b/src/Beta.Security/beta/examples/Initialize-MgBetaSecurityCaseEdiscoveryCaseCustodian.md deleted file mode 100644 index f09f1973cb..0000000000 --- a/src/Beta.Security/beta/examples/Initialize-MgBetaSecurityCaseEdiscoveryCaseCustodian.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Initialize-MgBetaSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId - -``` -This example shows how to use the Initialize-MgBetaSecurityCaseEdiscoveryCaseCustodian Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Invoke-MgBetaAsSecurityCaseEdiscoveryCaseTagHierarchy.md b/src/Beta.Security/beta/examples/Invoke-MgBetaAsSecurityCaseEdiscoveryCaseTagHierarchy.md deleted file mode 100644 index 9b723fe47e..0000000000 --- a/src/Beta.Security/beta/examples/Invoke-MgBetaAsSecurityCaseEdiscoveryCaseTagHierarchy.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Invoke-MgBetaAsSecurityCaseEdiscoveryCaseTagHierarchy -EdiscoveryCaseId $ediscoveryCaseId - -``` -This example shows how to use the Invoke-MgBetaAsSecurityCaseEdiscoveryCaseTagHierarchy Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Invoke-MgBetaEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md b/src/Beta.Security/beta/examples/Invoke-MgBetaEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md deleted file mode 100644 index 13dd009b5b..0000000000 --- a/src/Beta.Security/beta/examples/Invoke-MgBetaEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Invoke-MgBetaEstimateSecurityCaseEdiscoveryCaseSearchStatistics -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId - -``` -This example shows how to use the Invoke-MgBetaEstimateSecurityCaseEdiscoveryCaseSearchStatistics Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Invoke-MgBetaExtractSecurityInformationProtectionSensitivityLabelContentLabel.md b/src/Beta.Security/beta/examples/Invoke-MgBetaExtractSecurityInformationProtectionSensitivityLabelContentLabel.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Security/beta/examples/Invoke-MgBetaExtractSecurityInformationProtectionSensitivityLabelContentLabel.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Security/beta/examples/Invoke-MgBetaRemediateSecurityCollaborationAnalyzedEmail.md b/src/Beta.Security/beta/examples/Invoke-MgBetaRemediateSecurityCollaborationAnalyzedEmail.md deleted file mode 100644 index e7c16bcb1d..0000000000 --- a/src/Beta.Security/beta/examples/Invoke-MgBetaRemediateSecurityCollaborationAnalyzedEmail.md +++ /dev/null @@ -1,29 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -$params = @{ - displayName = "Clean up Phish email" - description = "Delete email" - severity = "medium" - action = "softDelete" - remediateSendersCopy = "false" - analyzedEmails = @( - @{ - networkMessageId = "73ca4154-58d8-43d0-a890-08dc18c52e6d" - recipientEmailAddress = "hannah.jarvis@contoso.com" - } - @{ - networkMessageId = "73ca4154-58d8-43d0-a890-08dc18c52e6d" - recipientEmailAddress = "preston.morales@contoso.com" - } - ) -} - -Invoke-MgBetaRemediateSecurityCollaborationAnalyzedEmail -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaRemediateSecurityCollaborationAnalyzedEmail Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Invoke-MgBetaReopenSecurityCaseEdiscoveryCase.md b/src/Beta.Security/beta/examples/Invoke-MgBetaReopenSecurityCaseEdiscoveryCase.md deleted file mode 100644 index d2fe73575a..0000000000 --- a/src/Beta.Security/beta/examples/Invoke-MgBetaReopenSecurityCaseEdiscoveryCase.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Invoke-MgBetaReopenSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId - -``` -This example shows how to use the Invoke-MgBetaReopenSecurityCaseEdiscoveryCase Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Publish-MgBetaSecurityCaseEdiscoveryCaseCustodian.md b/src/Beta.Security/beta/examples/Publish-MgBetaSecurityCaseEdiscoveryCaseCustodian.md deleted file mode 100644 index 8c439c4585..0000000000 --- a/src/Beta.Security/beta/examples/Publish-MgBetaSecurityCaseEdiscoveryCaseCustodian.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Publish-MgBetaSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId - -``` -This example shows how to use the Publish-MgBetaSecurityCaseEdiscoveryCaseCustodian Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Publish-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Beta.Security/beta/examples/Publish-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSource.md deleted file mode 100644 index 5315240b73..0000000000 --- a/src/Beta.Security/beta/examples/Publish-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Publish-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId - -``` -This example shows how to use the Publish-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSource Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Remove-MgBetaSecurityCaseEdiscoveryCaseCustodianHold.md b/src/Beta.Security/beta/examples/Remove-MgBetaSecurityCaseEdiscoveryCaseCustodianHold.md deleted file mode 100644 index 47a4076bf5..0000000000 --- a/src/Beta.Security/beta/examples/Remove-MgBetaSecurityCaseEdiscoveryCaseCustodianHold.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Remove-MgBetaSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId - -``` -This example shows how to use the Remove-MgBetaSecurityCaseEdiscoveryCaseCustodianHold Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Remove-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md b/src/Beta.Security/beta/examples/Remove-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md deleted file mode 100644 index 496e741b60..0000000000 --- a/src/Beta.Security/beta/examples/Remove-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Remove-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId - -``` -This example shows how to use the Remove-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Remove-MgBetaSecurityTiIndicatorByExternalId.md b/src/Beta.Security/beta/examples/Remove-MgBetaSecurityTiIndicatorByExternalId.md deleted file mode 100644 index b07e752a8d..0000000000 --- a/src/Beta.Security/beta/examples/Remove-MgBetaSecurityTiIndicatorByExternalId.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -$params = @{ - value = @( - "externalId-value1" -"externalId-value2" -) -} - -Remove-MgBetaSecurityTiIndicatorByExternalId -BodyParameter $params - -``` -This example shows how to use the Remove-MgBetaSecurityTiIndicatorByExternalId Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Remove-MgBetaSecurityTiIndicatorMultiple.md b/src/Beta.Security/beta/examples/Remove-MgBetaSecurityTiIndicatorMultiple.md deleted file mode 100644 index 6ee9b11d36..0000000000 --- a/src/Beta.Security/beta/examples/Remove-MgBetaSecurityTiIndicatorMultiple.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -$params = @{ - value = @( - "id-value1" -"id-value2" -) -} - -Remove-MgBetaSecurityTiIndicatorMultiple -BodyParameter $params - -``` -This example shows how to use the Remove-MgBetaSecurityTiIndicatorMultiple Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Reset-MgBetaSecurityCaseEdiscoveryCaseSettingToDefault.md b/src/Beta.Security/beta/examples/Reset-MgBetaSecurityCaseEdiscoveryCaseSettingToDefault.md deleted file mode 100644 index 529dd9867e..0000000000 --- a/src/Beta.Security/beta/examples/Reset-MgBetaSecurityCaseEdiscoveryCaseSettingToDefault.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Reset-MgBetaSecurityCaseEdiscoveryCaseSettingToDefault -EdiscoveryCaseId $ediscoveryCaseId - -``` -This example shows how to use the Reset-MgBetaSecurityCaseEdiscoveryCaseSettingToDefault Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Start-MgBetaSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Beta.Security/beta/examples/Start-MgBetaSecurityCaseEdiscoveryCaseReviewSetQuery.md deleted file mode 100644 index 5ede70eb37..0000000000 --- a/src/Beta.Security/beta/examples/Start-MgBetaSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Start-MgBetaSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId - -``` -This example shows how to use the Start-MgBetaSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Stop-MgBetaSecurityAction.md b/src/Beta.Security/beta/examples/Stop-MgBetaSecurityAction.md deleted file mode 100644 index ddbf41c02a..0000000000 --- a/src/Beta.Security/beta/examples/Stop-MgBetaSecurityAction.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Stop-MgBetaSecurityAction -SecurityActionId $securityActionId - -``` -This example shows how to use the Stop-MgBetaSecurityAction Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Submit-MgBetaSecurityTiIndicator.md b/src/Beta.Security/beta/examples/Submit-MgBetaSecurityTiIndicator.md deleted file mode 100644 index 33e14a7233..0000000000 --- a/src/Beta.Security/beta/examples/Submit-MgBetaSecurityTiIndicator.md +++ /dev/null @@ -1,56 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -$params = @{ - value = @( - @{ - activityGroupNames = @( - ) - confidence = 0 - description = "This is a canary indicator for demo purpose. Take no action on any observables set in this indicator." - expirationDateTime = [System.DateTime]::Parse("2019-03-01T21:44:03.1668987+00:00") - externalId = "Test--8586509942423126760MS164-0" - fileHashType = "sha256" - fileHashValue = "b555c45c5b1b01304217e72118d6ca1b14b7013644a078273cea27bbdc1cf9d6" - killChain = @( - ) - malwareFamilyNames = @( - ) - severity = 0 - tags = @( - ) - targetProduct = "Azure Sentinel" - threatType = "WatchList" - tlpLevel = "green" - } - @{ - activityGroupNames = @( - ) - confidence = 0 - description = "This is a canary indicator for demo purpose. Take no action on any observables set in this indicator." - expirationDateTime = [System.DateTime]::Parse("2019-03-01T21:44:03.1748779+00:00") - externalId = "Test--8586509942423126760MS164-1" - fileHashType = "sha256" - fileHashValue = "1796b433950990b28d6a22456c9d2b58ced1bdfcdf5f16f7e39d6b9bdca4213b" - killChain = @( - ) - malwareFamilyNames = @( - ) - severity = 0 - tags = @( - ) - targetProduct = "Azure Sentinel" - threatType = "WatchList" - tlpLevel = "green" - } - ) -} - -Submit-MgBetaSecurityTiIndicator -BodyParameter $params - -``` -This example shows how to use the Submit-MgBetaSecurityTiIndicator Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelApplication.md b/src/Beta.Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelApplication.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelApplication.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelClassificationResult.md b/src/Beta.Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelClassificationResult.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelClassificationResult.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelRemoval.md b/src/Beta.Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelRemoval.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelRemoval.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Security/beta/examples/Update-MgBetaSecurityAlertMultiple.md b/src/Beta.Security/beta/examples/Update-MgBetaSecurityAlertMultiple.md deleted file mode 100644 index 573b8236f7..0000000000 --- a/src/Beta.Security/beta/examples/Update-MgBetaSecurityAlertMultiple.md +++ /dev/null @@ -1,37 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -$params = @{ - value = @( - @{ - assignedTo = "String" - closedDateTime = [System.DateTime]::Parse("String (timestamp)") - comments = @( - "String" - ) - feedback = @{ - "@odata.type" = "microsoft.graph.alertFeedback" - } - id = "String (identifier)" - status = @{ - "@odata.type" = "microsoft.graph.alertStatus" - } - tags = @( - "String" - ) - vendorInformation = @{ - provider = "String" - vendor = "String" - } -} -) -} - -Update-MgBetaSecurityAlertMultiple -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaSecurityAlertMultiple Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Update-MgBetaSecurityCaseEdiscoveryCaseCustodianIndex.md b/src/Beta.Security/beta/examples/Update-MgBetaSecurityCaseEdiscoveryCaseCustodianIndex.md deleted file mode 100644 index 0b9115e45e..0000000000 --- a/src/Beta.Security/beta/examples/Update-MgBetaSecurityCaseEdiscoveryCaseCustodianIndex.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Update-MgBetaSecurityCaseEdiscoveryCaseCustodianIndex -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId - -``` -This example shows how to use the Update-MgBetaSecurityCaseEdiscoveryCaseCustodianIndex Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Update-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md b/src/Beta.Security/beta/examples/Update-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md deleted file mode 100644 index a1650966f8..0000000000 --- a/src/Beta.Security/beta/examples/Update-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -Update-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId - -``` -This example shows how to use the Update-MgBetaSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex Cmdlet. - diff --git a/src/Beta.Security/beta/examples/Update-MgBetaSecurityTiIndicatorMultiple.md b/src/Beta.Security/beta/examples/Update-MgBetaSecurityTiIndicatorMultiple.md deleted file mode 100644 index 2a832787a7..0000000000 --- a/src/Beta.Security/beta/examples/Update-MgBetaSecurityTiIndicatorMultiple.md +++ /dev/null @@ -1,24 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Security - -$params = @{ - value = @( - @{ - id = "c6fb948b-89c5-3bba-a2cd-a9d9a1e430e4" - additionalInformation = "mytest" - } - @{ - id = "e58c072b-c9bb-a5c4-34ce-eb69af44fb1e" - additionalInformation = "test again" - } - ) -} - -Update-MgBetaSecurityTiIndicatorMultiple -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaSecurityTiIndicatorMultiple Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Add-MgBetaSite.md b/src/Beta.Sites/beta/examples/Add-MgBetaSite.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Add-MgBetaSite.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Add-MgBetaSiteContentTypeCopy.md b/src/Beta.Sites/beta/examples/Add-MgBetaSiteContentTypeCopy.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Add-MgBetaSiteContentTypeCopy.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Add-MgBetaSiteContentTypeCopyFromContentTypeHub.md b/src/Beta.Sites/beta/examples/Add-MgBetaSiteContentTypeCopyFromContentTypeHub.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Add-MgBetaSiteContentTypeCopyFromContentTypeHub.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Add-MgBetaSiteListContentTypeCopy.md b/src/Beta.Sites/beta/examples/Add-MgBetaSiteListContentTypeCopy.md deleted file mode 100644 index 025af63c7a..0000000000 --- a/src/Beta.Sites/beta/examples/Add-MgBetaSiteListContentTypeCopy.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -$params = @{ - contentType = "https://graph.microsoft.com/beta/sites/id/contentTypes/0x0101" -} - -Add-MgBetaSiteListContentTypeCopy -SiteId $siteId -ListId $listId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaSiteListContentTypeCopy Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Add-MgBetaSiteListContentTypeCopyFromContentTypeHub.md b/src/Beta.Sites/beta/examples/Add-MgBetaSiteListContentTypeCopyFromContentTypeHub.md deleted file mode 100644 index 2bdb60da52..0000000000 --- a/src/Beta.Sites/beta/examples/Add-MgBetaSiteListContentTypeCopyFromContentTypeHub.md +++ /dev/null @@ -1,30 +0,0 @@ -### Example 1: Synchronous pull - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -$params = @{ - contentTypeId = "0x0101" -} - -Add-MgBetaSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params - -``` -This example synchronous pull - -### Example 2: Asynchronous pull - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -$params = @{ - contentTypeId = "String" -} - -Add-MgBetaSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params - -``` -This example asynchronous pull - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteContentTypeToDefaultContentLocation.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteContentTypeToDefaultContentLocation.md deleted file mode 100644 index b868a9f8c8..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteContentTypeToDefaultContentLocation.md +++ /dev/null @@ -1,21 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -$params = @{ - sourceFile = @{ - sharepointIds = @{ - listId = "e2ecf63b-b0fd-48f7-a54a-d8c15479e3b0" - listItemId = "2" - } - } - destinationFileName = "newname.txt" -} - -Copy-MgBetaSiteContentTypeToDefaultContentLocation -SiteId $siteId -ContentTypeId $contentTypeId -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaSiteContentTypeToDefaultContentLocation Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteListContentTypeToDefaultContentLocation.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteListContentTypeToDefaultContentLocation.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteListContentTypeToDefaultContentLocation.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebook.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebook.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebook.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionPageToSection.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionPageToSection.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionPageToSection.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToNotebook.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToNotebook.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToNotebook.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionPageToSection.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionPageToSection.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionPageToSection.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToNotebook.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToNotebook.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToNotebook.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToSectionGroup.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToSectionGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToSectionGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenotePageToSection.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenotePageToSection.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenotePageToSection.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionPageToSection.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionPageToSection.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionPageToSection.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToNotebook.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToNotebook.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToNotebook.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToSectionGroup.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToSectionGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToSectionGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionPageToSection.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionPageToSection.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionPageToSection.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionToNotebook.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionToNotebook.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionToNotebook.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionToSectionGroup.md b/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionToSectionGroup.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Copy-MgBetaSiteOnenoteSectionToSectionGroup.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Get-MgBetaAllSite.md b/src/Beta.Sites/beta/examples/Get-MgBetaAllSite.md deleted file mode 100644 index 34181715c3..0000000000 --- a/src/Beta.Sites/beta/examples/Get-MgBetaAllSite.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Get-MgBetaAllSite -Skiptoken "U1BHZW9EYXRhTG9jYXRpb25Db2RlYU5BTQ" - -``` -This example shows how to use the Get-MgBetaAllSite Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Get-MgBetaSite.md b/src/Beta.Sites/beta/examples/Get-MgBetaSite.md deleted file mode 100644 index 707989f033..0000000000 --- a/src/Beta.Sites/beta/examples/Get-MgBetaSite.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Get-MgBetaSite -SiteId $siteId - -``` -This example shows how to use the Get-MgBetaSite Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Get-MgBetaSiteApplicableContentTypeForList.md b/src/Beta.Sites/beta/examples/Get-MgBetaSiteApplicableContentTypeForList.md deleted file mode 100644 index d427da6411..0000000000 --- a/src/Beta.Sites/beta/examples/Get-MgBetaSiteApplicableContentTypeForList.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Get-MgBetaSiteApplicableContentTypeForList -SiteId $siteId - -``` -This example shows how to use the Get-MgBetaSiteApplicableContentTypeForList Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Get-MgBetaSiteContentTypeCompatibleHubContentType.md b/src/Beta.Sites/beta/examples/Get-MgBetaSiteContentTypeCompatibleHubContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Get-MgBetaSiteContentTypeCompatibleHubContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Get-MgBetaSiteDelta.md b/src/Beta.Sites/beta/examples/Get-MgBetaSiteDelta.md deleted file mode 100644 index ea20e80c55..0000000000 --- a/src/Beta.Sites/beta/examples/Get-MgBetaSiteDelta.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Initial request - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Get-MgBetaSiteDelta - -``` -This example will initial request - -### Example 2: Last page request - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Get-MgBetaSiteDelta -Token "1230919asd190410jlka" - -``` -This example will last page request - -### Example 3: Delta link request - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Get-MgBetaSiteDelta -Token "latest" - -``` -This example will delta link request - diff --git a/src/Beta.Sites/beta/examples/Get-MgBetaSiteGetByPathApplicableContentTypeForList.md b/src/Beta.Sites/beta/examples/Get-MgBetaSiteGetByPathApplicableContentTypeForList.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Get-MgBetaSiteGetByPathApplicableContentTypeForList.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Get-MgBetaSiteListContentTypeCompatibleHubContentType.md b/src/Beta.Sites/beta/examples/Get-MgBetaSiteListContentTypeCompatibleHubContentType.md deleted file mode 100644 index deea95a547..0000000000 --- a/src/Beta.Sites/beta/examples/Get-MgBetaSiteListContentTypeCompatibleHubContentType.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Get-MgBetaSiteListContentTypeCompatibleHubContentType -SiteId $siteId -ListId $listId - -``` -This example shows how to use the Get-MgBetaSiteListContentTypeCompatibleHubContentType Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Get-MgBetaSiteListItemDelta.md b/src/Beta.Sites/beta/examples/Get-MgBetaSiteListItemDelta.md deleted file mode 100644 index 9a0522f9b3..0000000000 --- a/src/Beta.Sites/beta/examples/Get-MgBetaSiteListItemDelta.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Initial request - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Get-MgBetaSiteListItemDelta -SiteId $siteId -ListId $listId - -``` -This example will initial request - -### Example 2: Last page request - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Get-MgBetaSiteListItemDelta -SiteId $siteId -ListId $listId -Token "1230919asd190410jlka" - -``` -This example will last page request - -### Example 3: Delta link request - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Get-MgBetaSiteListItemDelta -SiteId $siteId -ListId $listId -Token "latest" - -``` -This example will delta link request - diff --git a/src/Beta.Sites/beta/examples/Get-MgBetaSiteOnenoteNotebookFromWebUrl.md b/src/Beta.Sites/beta/examples/Get-MgBetaSiteOnenoteNotebookFromWebUrl.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Get-MgBetaSiteOnenoteNotebookFromWebUrl.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Get-MgBetaSiteRecentNotebook.md b/src/Beta.Sites/beta/examples/Get-MgBetaSiteRecentNotebook.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Get-MgBetaSiteRecentNotebook.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Grant-MgBetaSitePermission.md b/src/Beta.Sites/beta/examples/Grant-MgBetaSitePermission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Grant-MgBetaSitePermission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Invoke-MgBetaExtractSiteInformationProtectionPolicyLabel.md b/src/Beta.Sites/beta/examples/Invoke-MgBetaExtractSiteInformationProtectionPolicyLabel.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Invoke-MgBetaExtractSiteInformationProtectionPolicyLabel.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Invoke-MgBetaReauthorizeSiteListSubscription.md b/src/Beta.Sites/beta/examples/Invoke-MgBetaReauthorizeSiteListSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Invoke-MgBetaReauthorizeSiteListSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Join-MgBetaSiteContentTypeWithHubSite.md b/src/Beta.Sites/beta/examples/Join-MgBetaSiteContentTypeWithHubSite.md deleted file mode 100644 index 49fd1e8a83..0000000000 --- a/src/Beta.Sites/beta/examples/Join-MgBetaSiteContentTypeWithHubSite.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -$params = @{ - hubSiteUrls = @( - "https://graph.microsoft.com/beta/sites/id" -) -propagateToExistingLists = $false -} - -Join-MgBetaSiteContentTypeWithHubSite -SiteId $siteId -ContentTypeId $contentTypeId -BodyParameter $params - -``` -This example shows how to use the Join-MgBetaSiteContentTypeWithHubSite Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Join-MgBetaSiteListContentTypeWithHubSite.md b/src/Beta.Sites/beta/examples/Join-MgBetaSiteListContentTypeWithHubSite.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Join-MgBetaSiteListContentTypeWithHubSite.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/New-MgBetaSiteListItemLink.md b/src/Beta.Sites/beta/examples/New-MgBetaSiteListItemLink.md deleted file mode 100644 index 7a05971432..0000000000 --- a/src/Beta.Sites/beta/examples/New-MgBetaSiteListItemLink.md +++ /dev/null @@ -1,55 +0,0 @@ -### Example 1: Create an anonymous sharing link - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -$params = @{ - type = "view" - scope = "anonymous" - password = "String" - recipients = @( - @{ - "@odata.type" = "microsoft.graph.driveRecipient" - } - ) - sendNotification = $true - retainInheritedPermissions = $false -} - -New-MgBetaSiteListItemLink -SiteId $siteId -ListId $listId -ListItemId $listItemId -BodyParameter $params - -``` -This example will create an anonymous sharing link - -### Example 2: Creating company sharable links - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -$params = @{ - type = "edit" - scope = "organization" -} - -New-MgBetaSiteListItemLink -SiteId $siteId -ListId $listId -ListItemId $listItemId -BodyParameter $params - -``` -This example shows creating company sharable links - -### Example 3: Creating embeddable links - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -$params = @{ - type = "embed" -} - -New-MgBetaSiteListItemLink -SiteId $siteId -ListId $listId -ListItemId $listItemId -BodyParameter $params - -``` -This example shows creating embeddable links - diff --git a/src/Beta.Sites/beta/examples/Publish-MgBetaSiteContentType.md b/src/Beta.Sites/beta/examples/Publish-MgBetaSiteContentType.md deleted file mode 100644 index c8951a8bf1..0000000000 --- a/src/Beta.Sites/beta/examples/Publish-MgBetaSiteContentType.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Publish-MgBetaSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId - -``` -This example shows how to use the Publish-MgBetaSiteContentType Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Publish-MgBetaSiteListContentType.md b/src/Beta.Sites/beta/examples/Publish-MgBetaSiteListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Publish-MgBetaSiteListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Restore-MgBetaSiteListItemDocumentSetVersion.md b/src/Beta.Sites/beta/examples/Restore-MgBetaSiteListItemDocumentSetVersion.md deleted file mode 100644 index 0e7f9028da..0000000000 --- a/src/Beta.Sites/beta/examples/Restore-MgBetaSiteListItemDocumentSetVersion.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Restore-MgBetaSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId - -``` -This example shows how to use the Restore-MgBetaSiteListItemDocumentSetVersion Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Revoke-MgBetaSitePermissionGrant.md b/src/Beta.Sites/beta/examples/Revoke-MgBetaSitePermissionGrant.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Revoke-MgBetaSitePermissionGrant.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Test-MgBetaSiteContentTypePublished.md b/src/Beta.Sites/beta/examples/Test-MgBetaSiteContentTypePublished.md deleted file mode 100644 index e8677072db..0000000000 --- a/src/Beta.Sites/beta/examples/Test-MgBetaSiteContentTypePublished.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Test-MgBetaSiteContentTypePublished -SiteId $siteId -ContentTypeId $contentTypeId - -``` -This example shows how to use the Test-MgBetaSiteContentTypePublished Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Test-MgBetaSiteInformationProtectionPolicyLabelApplication.md b/src/Beta.Sites/beta/examples/Test-MgBetaSiteInformationProtectionPolicyLabelApplication.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Test-MgBetaSiteInformationProtectionPolicyLabelApplication.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Test-MgBetaSiteInformationProtectionPolicyLabelClassificationResult.md b/src/Beta.Sites/beta/examples/Test-MgBetaSiteInformationProtectionPolicyLabelClassificationResult.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Test-MgBetaSiteInformationProtectionPolicyLabelClassificationResult.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Test-MgBetaSiteInformationProtectionPolicyLabelRemoval.md b/src/Beta.Sites/beta/examples/Test-MgBetaSiteInformationProtectionPolicyLabelRemoval.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Test-MgBetaSiteInformationProtectionPolicyLabelRemoval.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Test-MgBetaSiteListContentTypePublished.md b/src/Beta.Sites/beta/examples/Test-MgBetaSiteListContentTypePublished.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Test-MgBetaSiteListContentTypePublished.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Sites/beta/examples/Unpublish-MgBetaSiteContentType.md b/src/Beta.Sites/beta/examples/Unpublish-MgBetaSiteContentType.md deleted file mode 100644 index e31fd1056e..0000000000 --- a/src/Beta.Sites/beta/examples/Unpublish-MgBetaSiteContentType.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Unpublish-MgBetaSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId - -``` -This example shows how to use the Unpublish-MgBetaSiteContentType Cmdlet. - diff --git a/src/Beta.Sites/beta/examples/Unpublish-MgBetaSiteListContentType.md b/src/Beta.Sites/beta/examples/Unpublish-MgBetaSiteListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Sites/beta/examples/Unpublish-MgBetaSiteListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Add-MgBetaChatMember.md b/src/Beta.Teams/beta/examples/Add-MgBetaChatMember.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Add-MgBetaChatMember.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Add-MgBetaTeamChannelMember.md b/src/Beta.Teams/beta/examples/Add-MgBetaTeamChannelMember.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Add-MgBetaTeamChannelMember.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Add-MgBetaTeamMember.md b/src/Beta.Teams/beta/examples/Add-MgBetaTeamMember.md deleted file mode 100644 index 23b55efd7f..0000000000 --- a/src/Beta.Teams/beta/examples/Add-MgBetaTeamMember.md +++ /dev/null @@ -1,58 +0,0 @@ -### Example 1: Add members in bulk to a team - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - values = @( - @{ - "@odata.type" = "microsoft.graph.aadUserConversationMember" - roles = @( - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('18a80140-b0fb-4489-b360-2f6efaf225a0')" - } - @{ - "@odata.type" = "microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('86503198-b81b-43fe-81ee-ad45b8848ac9')" - } -) -} - -Add-MgBetaTeamMember -TeamId $teamId -BodyParameter $params - -``` -This example will add members in bulk to a team - -### Example 2: Add members in bulk to a team using user principal name - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - values = @( - @{ - "@odata.type" = "microsoft.graph.aadUserConversationMember" - roles = @( - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('jacob@contoso.com')" - } - @{ - "@odata.type" = "microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('alex@contoso.com')" - } -) -} - -Add-MgBetaTeamMember -TeamId $teamId -BodyParameter $params - -``` -This example will add members in bulk to a team using user principal name - diff --git a/src/Beta.Teams/beta/examples/Add-MgBetaTeamPrimaryChannelMember.md b/src/Beta.Teams/beta/examples/Add-MgBetaTeamPrimaryChannelMember.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Add-MgBetaTeamPrimaryChannelMember.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Add-MgBetaTeamworkDeletedTeamChannelMember.md b/src/Beta.Teams/beta/examples/Add-MgBetaTeamworkDeletedTeamChannelMember.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Add-MgBetaTeamworkDeletedTeamChannelMember.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Complete-MgBetaTeamChannelMigration.md b/src/Beta.Teams/beta/examples/Complete-MgBetaTeamChannelMigration.md deleted file mode 100644 index e79e3481f8..0000000000 --- a/src/Beta.Teams/beta/examples/Complete-MgBetaTeamChannelMigration.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Complete-MgBetaTeamChannelMigration -TeamId $teamId -ChannelId $channelId - -``` -This example shows how to use the Complete-MgBetaTeamChannelMigration Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Complete-MgBetaTeamMigration.md b/src/Beta.Teams/beta/examples/Complete-MgBetaTeamMigration.md deleted file mode 100644 index 5a509eb681..0000000000 --- a/src/Beta.Teams/beta/examples/Complete-MgBetaTeamMigration.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Complete-MgBetaTeamMigration -TeamId $teamId - -``` -This example shows how to use the Complete-MgBetaTeamMigration Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Complete-MgBetaTeamPrimaryChannelMigration.md b/src/Beta.Teams/beta/examples/Complete-MgBetaTeamPrimaryChannelMigration.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Complete-MgBetaTeamPrimaryChannelMigration.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Complete-MgBetaTeamworkDeletedTeamChannelMigration.md b/src/Beta.Teams/beta/examples/Complete-MgBetaTeamworkDeletedTeamChannelMigration.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Complete-MgBetaTeamworkDeletedTeamChannelMigration.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Confirm-MgBetaTeamScheduleTimeCard.md b/src/Beta.Teams/beta/examples/Confirm-MgBetaTeamScheduleTimeCard.md deleted file mode 100644 index d678c071e2..0000000000 --- a/src/Beta.Teams/beta/examples/Confirm-MgBetaTeamScheduleTimeCard.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Confirm-MgBetaTeamScheduleTimeCard -TeamId $teamId -TimeCardId $timeCardId - -``` -This example shows how to use the Confirm-MgBetaTeamScheduleTimeCard Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Copy-MgBetaTeam.md b/src/Beta.Teams/beta/examples/Copy-MgBetaTeam.md deleted file mode 100644 index a7aff99578..0000000000 --- a/src/Beta.Teams/beta/examples/Copy-MgBetaTeam.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - displayName = "Library Assist" - description = "Self help community for library" - mailNickname = "libassist" - partsToClone = "apps,tabs,settings,channels,members" - visibility = "public" -} - -Copy-MgBetaTeam -TeamId $teamId -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaTeam Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaChat.md b/src/Beta.Teams/beta/examples/Get-MgBetaChat.md deleted file mode 100644 index 3d824056e3..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaChat.md +++ /dev/null @@ -1,44 +0,0 @@ -### Example 1: Get a group chat - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Get-MgBetaChat -ChatId $chatId - -``` -This example will get a group chat - -### Example 2: Get a chat and all its members - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Get-MgBetaChat -ChatId $chatId -ExpandProperty "members" - -``` -This example will get a chat and all its members - -### Example 3: Get the meeting details of a chat associated with a Microsoft Teams meeting - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Get-MgBetaChat -ChatId $chatId - -``` -This example will get the meeting details of a chat associated with a microsoft teams meeting - -### Example 4: Get the chat along with the preview of the last message sent in the chat - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Get-MgBetaChat -ChatId $chatId -ExpandProperty "lastMessagePreview" - -``` -This example will get the chat along with the preview of the last message sent in the chat - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaChatMessageDelta.md b/src/Beta.Teams/beta/examples/Get-MgBetaChatMessageDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaChatMessageDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaChatMessageReplyDelta.md b/src/Beta.Teams/beta/examples/Get-MgBetaChatMessageReplyDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaChatMessageReplyDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaChatRetainedMessage.md b/src/Beta.Teams/beta/examples/Get-MgBetaChatRetainedMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaChatRetainedMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeam.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeam.md deleted file mode 100644 index 3d0dd239f4..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaTeam.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Get-MgBetaTeam -TeamId $teamId - -``` -This example shows how to use the Get-MgBetaTeam Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamChannelMessageDelta.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamChannelMessageDelta.md deleted file mode 100644 index 040ac329b4..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaTeamChannelMessageDelta.md +++ /dev/null @@ -1,44 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Get-MgBetaTeamChannelMessageDelta -TeamId $teamId -ChannelId $channelId -Top 2 - -``` -This example shows how to use the Get-MgBetaTeamChannelMessageDelta Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Get-MgBetaTeamChannelMessageDelta -TeamId $teamId -ChannelId $channelId -Skiptoken "-FG3FPHv7HuyuazNLuy3eXlzQGbEjYLUsW9-pYkmXgn5KGsaOwrCoor2W23dGNNM1KtAX4AyvpFQNVsBgsEwUOX9lw8x9zDumgJy-C-UbjZLlZDQACyC9FyrVelZus9n.--rshdLwy_WBFJd8anPXJPbSUtUD7r3V4neB5tcrG58" - -``` -This example shows how to use the Get-MgBetaTeamChannelMessageDelta Cmdlet. - -### Example 3: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Get-MgBetaTeamChannelMessageDelta -TeamId $teamId -ChannelId $channelId -Skiptoken "8UusBixEHS9UUau6uGcryrA6FpnWwMJbuTYILM1PArHxnZzDVcsHQrijNzCyIVeEauMQsKUfMhNjLWFs1o4sBS_LofJ7xMftZUfec_pijuT6cAk5ugcWCca9RCjK7iVj.DKZ9w4bX9vCR7Sj9P0_qxjLAAPiEZgxlOxxmCLMzHJ4" - -``` -This example shows how to use the Get-MgBetaTeamChannelMessageDelta Cmdlet. - -### Example 4: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Get-MgBetaTeamChannelMessageDelta -TeamId $teamId -ChannelId $channelId -Deltatoken "aQdvS1VwGCSRxVmZJqykmDik_JIC44iCZpv-GLiA2VnFuE5yG-kCEBROb2iaPT_y_eMWVQtBO_ejzzyIxl00ji-tQ3HzAbW4liZAVG88lO3nG_6-MBFoHY1n8y21YUzjocG-Cn1tCNeeLPLTzIe5Dw.EP9gLiCoF2CE_e6l_m1bTk2aokD9KcgfgfcLGqd1r_4" - -``` -This example shows how to use the Get-MgBetaTeamChannelMessageDelta Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamChannelMessageReplyDelta.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamChannelMessageReplyDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaTeamChannelMessageReplyDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamChannelRetainedMessage.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamChannelRetainedMessage.md deleted file mode 100644 index 37b919f112..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaTeamChannelRetainedMessage.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Get-MgBetaTeamChannelRetainedMessage -TeamId $teamId - -``` -This example shows how to use the Get-MgBetaTeamChannelRetainedMessage Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamOpenShift.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamOpenShift.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamPrimaryChannelMessageDelta.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamPrimaryChannelMessageDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaTeamPrimaryChannelMessageDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamPrimaryChannelMessageReplyDelta.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamPrimaryChannelMessageReplyDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaTeamPrimaryChannelMessageReplyDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamShift.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamShift.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamTimeOff.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamTimeOff.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamwork.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamwork.md deleted file mode 100644 index 3c844e6e4d..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaTeamwork.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Get-MgBetaTeamwork - -``` -This example shows how to use the Get-MgBetaTeamwork Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamworkDeletedTeamChannelMessageDelta.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamworkDeletedTeamChannelMessageDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaTeamworkDeletedTeamChannelMessageDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamworkDeletedTeamChannelMessageReplyDelta.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamworkDeletedTeamChannelMessageReplyDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaTeamworkDeletedTeamChannelMessageReplyDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Get-MgBetaTeamworkDeletedTeamChannelRetainedMessage.md b/src/Beta.Teams/beta/examples/Get-MgBetaTeamworkDeletedTeamChannelRetainedMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Get-MgBetaTeamworkDeletedTeamChannelRetainedMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Hide-MgBetaChatForUser.md b/src/Beta.Teams/beta/examples/Hide-MgBetaChatForUser.md deleted file mode 100644 index 89dfcea6bf..0000000000 --- a/src/Beta.Teams/beta/examples/Hide-MgBetaChatForUser.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - user = @{ - id = "d864e79f-a516-4d0f-9fee-0eeb4d61fdc2" - tenantId = "2a690434-97d9-4eed-83a6-f5f13600199a" - } -} - -Hide-MgBetaChatForUser -ChatId $chatId -BodyParameter $params - -``` -This example shows how to use the Hide-MgBetaChatForUser Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeam.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeam.md deleted file mode 100644 index 978fc23aba..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeam.md +++ /dev/null @@ -1,14 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ -} - -Invoke-MgBetaArchiveTeam -TeamId $teamId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaArchiveTeam Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeamChannel.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeamChannel.md deleted file mode 100644 index 4edcaf8aac..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeamChannel.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Archive a channel - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Invoke-MgBetaArchiveTeamChannel -TeamId $teamId -ChannelId $channelId - -``` -This example will archive a channel - -### Example 2: Archive a channel when the team is archived - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Invoke-MgBetaArchiveTeamChannel -TeamId $teamId -ChannelId $channelId - -``` -This example will archive a channel when the team is archived - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeamPrimaryChannel.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeamPrimaryChannel.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeamPrimaryChannel.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeamworkDeletedTeamChannel.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeamworkDeletedTeamChannel.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaArchiveTeamworkDeletedTeamChannel.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaClockTeamScheduleTimeCardIn.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaClockTeamScheduleTimeCardIn.md deleted file mode 100644 index 0915c7f4e3..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaClockTeamScheduleTimeCardIn.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - atAprovedLocation = $true - notes = @{ - contentType = "text" - content = "clock in notes" - } -} - -Invoke-MgBetaClockTeamScheduleTimeCardIn -TeamId $teamId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaClockTeamScheduleTimeCardIn Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaClockTeamScheduleTimeCardOut.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaClockTeamScheduleTimeCardOut.md deleted file mode 100644 index 659fdeedb1..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaClockTeamScheduleTimeCardOut.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - atAprovedLocation = $true - notes = @{ - contentType = "text" - content = "clock out smaple notes" - } -} - -Invoke-MgBetaClockTeamScheduleTimeCardOut -TeamId $teamId -TimeCardId $timeCardId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaClockTeamScheduleTimeCardOut Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaGraphChat.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaGraphChat.md deleted file mode 100644 index 82087893a7..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaGraphChat.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - user = @{ - id = "d864e79f-a516-4d0f-9fee-0eeb4d61fdc2" - tenantId = "2a690434-97d9-4eed-83a6-f5f13600199a" - } -} - -Invoke-MgBetaGraphChat -ChatId $chatId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaGraphChat Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaHaveTeamChannel.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaHaveTeamChannel.md deleted file mode 100644 index 8a26f33b21..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaHaveTeamChannel.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Invoke-MgBetaHaveTeamChannel -TeamId $teamId -ChannelId $channelId - -``` -This example shows how to use the Invoke-MgBetaHaveTeamChannel Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaHaveTeamPrimaryChannel.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaHaveTeamPrimaryChannel.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaHaveTeamPrimaryChannel.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaHaveTeamworkDeletedTeamChannel.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaHaveTeamworkDeletedTeamChannel.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaHaveTeamworkDeletedTeamChannel.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaMarkChatReadForUser.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaMarkChatReadForUser.md deleted file mode 100644 index a0058bb45c..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaMarkChatReadForUser.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - user = @{ - id = "d864e79f-a516-4d0f-9fee-0eeb4d61fdc2" - tenantId = "2a690434-97d9-4eed-83a6-f5f13600199a" - } -} - -Invoke-MgBetaMarkChatReadForUser -ChatId $chatId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaMarkChatReadForUser Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaMarkChatUnreadForUser.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaMarkChatUnreadForUser.md deleted file mode 100644 index 44e7a626f8..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaMarkChatUnreadForUser.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - user = @{ - id = "d864e79f-a516-4d0f-9fee-0eeb4d61fdc2" - tenantId = "2a690434-97d9-4eed-83a6-f5f13600199a" - } - lastMessageReadDateTime = [System.DateTime]::Parse("2021-05-27T22:13:01.577Z") -} - -Invoke-MgBetaMarkChatUnreadForUser -ChatId $chatId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaMarkChatUnreadForUser Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaShareTeamSchedule.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaShareTeamSchedule.md deleted file mode 100644 index 75901a9ea3..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaShareTeamSchedule.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - notifyTeam = $true - startDateTime = [System.DateTime]::Parse("2018-10-08T00:00:00.000Z") - endDateTime = [System.DateTime]::Parse("2018-10-15T00:00:00.000Z") -} - -Invoke-MgBetaShareTeamSchedule -TeamId $teamId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaShareTeamSchedule Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftChatMessageDelete.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftChatMessageDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftChatMessageDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftChatMessageReplyDelete.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftChatMessageReplyDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftChatMessageReplyDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamChannelMessageDelete.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamChannelMessageDelete.md deleted file mode 100644 index 5b884ac0d8..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamChannelMessageDelete.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Soft-delete message in a channel - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Invoke-MgBetaSoftTeamChannelMessageDelete -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId - -``` -This example will soft-delete message in a channel - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamChannelMessageReplyDelete.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamChannelMessageReplyDelete.md deleted file mode 100644 index 751935cd94..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamChannelMessageReplyDelete.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Soft-delete message of a reply - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Invoke-MgBetaSoftTeamChannelMessageReplyDelete -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -ChatMessageId1 $chatMessageId1 - -``` -This example will soft-delete message of a reply - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamPrimaryChannelMessageDelete.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamPrimaryChannelMessageDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamPrimaryChannelMessageDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamPrimaryChannelMessageReplyDelete.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamPrimaryChannelMessageReplyDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamPrimaryChannelMessageReplyDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamworkDeletedTeamChannelMessageDelete.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamworkDeletedTeamChannelMessageDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamworkDeletedTeamChannelMessageDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamworkDeletedTeamChannelMessageReplyDelete.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamworkDeletedTeamChannelMessageReplyDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaSoftTeamworkDeletedTeamChannelMessageReplyDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeam.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeam.md deleted file mode 100644 index 03bbd243df..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeam.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Invoke-MgBetaUnarchiveTeam -TeamId $teamId - -``` -This example shows how to use the Invoke-MgBetaUnarchiveTeam Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeamChannel.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeamChannel.md deleted file mode 100644 index 344d1ed9c8..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeamChannel.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Unarchive a channel - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Invoke-MgBetaUnarchiveTeamChannel -TeamId $teamId -ChannelId $channelId - -``` -This example will unarchive a channel - -### Example 2: Unarchive a channel when the team is archived - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Invoke-MgBetaUnarchiveTeamChannel -TeamId $teamId -ChannelId $channelId - -``` -This example will unarchive a channel when the team is archived - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeamPrimaryChannel.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeamPrimaryChannel.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeamPrimaryChannel.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeamworkDeletedTeamChannel.md b/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeamworkDeletedTeamChannel.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Invoke-MgBetaUnarchiveTeamworkDeletedTeamChannel.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/New-MgBetaChat.md b/src/Beta.Teams/beta/examples/New-MgBetaChat.md deleted file mode 100644 index cfb88af02d..0000000000 --- a/src/Beta.Teams/beta/examples/New-MgBetaChat.md +++ /dev/null @@ -1,208 +0,0 @@ -### Example 1: Create a one-on-one chat - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - chatType = "oneOnOne" - members = @( - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('8b081ef6-4792-4def-b2c9-c363a1bf41d5')" - } - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('82af01c5-f7cc-4a2e-a728-3a5df21afd9d')" -} -) -} - -New-MgBetaChat -BodyParameter $params - -``` -This example will create a one-on-one chat - -### Example 2: Create a group chat - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - chatType = "group" - topic = "Group chat title" - members = @( - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('8c0a1a67-50ce-4114-bb6c-da9c5dbcf6ca')" - } - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('82fe7758-5bb3-4f0d-a43f-e555fd399c6f')" -} -@{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" -) -"user@odata.bind" = "https://graph.microsoft.com/beta/users('3626a173-f2bc-4883-bcf7-01514c3bfb82')" -} -) -} - -New-MgBetaChat -BodyParameter $params - -``` -This example will create a group chat - -### Example 3: Create a one-on-one chat with installed apps - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - chatType = "oneOnOne" - members = @( - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('8b081ef6-4792-4def-b2c9-c363a1bf41d5')" - } - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('82af01c5-f7cc-4a2e-a728-3a5df21afd9d')" -} -) -installedApps = @( -@{ - "teamsApp@odata.bind" = "https://graph.microsoft.com/beta/appCatalogs/teamsApps/05F59CEC-A742-4A50-A62E-202A57E478A4" -} -) -} - -New-MgBetaChat -BodyParameter $params - -``` -This example will create a one-on-one chat with installed apps - -### Example 4: Create a one-on-one chat using user principal name - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - chatType = "oneOnOne" - members = @( - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('jacob@contoso.com')" - } - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('alex@contoso.com')" -} -) -} - -New-MgBetaChat -BodyParameter $params - -``` -This example will create a one-on-one chat using user principal name - -### Example 5: Create a group chat with in-tenant guest - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - chatType = "group" - topic = "Group chat title" - members = @( - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('8c0a1a67-50ce-4114-bb6c-da9c5dbcf6ca')" - } - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('82fe7758-5bb3-4f0d-a43f-e555fd399c6f')" -} -@{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "guest" -) -"user@odata.bind" = "https://graph.microsoft.com/beta/users('8ba98gf6-7fc2-4eb2-c7f2-aef9f21fd98g')" -} -) -} - -New-MgBetaChat -BodyParameter $params - -``` -This example will create a group chat with in-tenant guest - -### Example 6: Create a one-on-one chat with a federated user (outside of own organization) - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - chatType = "oneOnOne" - members = @( - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('8b081ef6-4792-4def-b2c9-c363a1bf41d5')" - } - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('82af01c5-f7cc-4a2e-a728-3a5df21afd9d')" - tenantId = "4dc1fe35-8ac6-4f0d-904a-7ebcd364bea1" -} -) -} - -New-MgBetaChat -BodyParameter $params - -``` -This example will create a one-on-one chat with a federated user (outside of own organization) - diff --git a/src/Beta.Teams/beta/examples/New-MgBetaTeam.md b/src/Beta.Teams/beta/examples/New-MgBetaTeam.md deleted file mode 100644 index ea5147afea..0000000000 --- a/src/Beta.Teams/beta/examples/New-MgBetaTeam.md +++ /dev/null @@ -1,295 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - "template@odata.bind" = "https://graph.microsoft.com/beta/teamsTemplates('standard')" - displayName = "My Sample Team" - description = "My Sample Team's Description" -} - -New-MgBetaTeam -BodyParameter $params - -``` -This example shows how to use the New-MgBetaTeam Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - "template@odata.bind" = "https://graph.microsoft.com/beta/teamsTemplates('standard')" - displayName = "My Sample Team" - description = "My Sample Team’s Description" - members = @( - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('0040b377-61d8-43db-94f5-81374122dc7e')" - } -) -} - -New-MgBetaTeam -BodyParameter $params - -``` -This example shows how to use the New-MgBetaTeam Cmdlet. - -### Example 3: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - "template@odata.bind" = "https://graph.microsoft.com/beta/teamsTemplates('standard')" - visibility = "Private" - displayName = "Sample Engineering Team" - description = "This is a sample engineering team, used to showcase the range of properties supported by this API" - channels = @( - @{ - displayName = "Announcements 📢" - isFavoriteByDefault = $true - description = "This is a sample announcements channel that is favorited by default. Use this channel to make important team, product, and service announcements." - } - @{ - displayName = "Training 🏋️" - isFavoriteByDefault = $true - description = "This is a sample training channel, that is favorited by default, and contains an example of pinned website and YouTube tabs." - tabs = @( - @{ - "teamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.web')" - displayName = "A Pinned Website" - configuration = @{ - contentUrl = "https://learn.microsoft.com/microsoftteams/microsoft-teams" - } - } - @{ - "teamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.youtube')" - displayName = "A Pinned YouTube Video" - configuration = @{ - contentUrl = "https://tabs.teams.microsoft.com/Youtube/Home/YoutubeTab?videoId=X8krAMdGvCQ" - websiteUrl = "https://www.youtube.com/watch?v=X8krAMdGvCQ" - } - } - ) - } - @{ - displayName = "Planning 📅 " - description = "This is a sample of a channel that is not favorited by default, these channels will appear in the more channels overflow menu." - isFavoriteByDefault = $false - } - @{ - displayName = "Issues and Feedback 🐞" - description = "This is a sample of a channel that is not favorited by default, these channels will appear in the more channels overflow menu." - } - ) - memberSettings = @{ - allowCreateUpdateChannels = $true - allowDeleteChannels = $true - allowAddRemoveApps = $true - allowCreateUpdateRemoveTabs = $true - allowCreateUpdateRemoveConnectors = $true - } - guestSettings = @{ - allowCreateUpdateChannels = $false - allowDeleteChannels = $false - } - funSettings = @{ - allowGiphy = $true - giphyContentRating = "Moderate" - allowStickersAndMemes = $true - allowCustomMemes = $true - } - messagingSettings = @{ - allowUserEditMessages = $true - allowUserDeleteMessages = $true - allowOwnerDeleteMessages = $true - allowTeamMentions = $true - allowChannelMentions = $true - } - discoverySettings = @{ - showInTeamsSearchAndSuggestions = $true - } - installedApps = @( - @{ - "teamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.vsts')" - } - @{ - "teamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('1542629c-01b3-4a6d-8f76-1938b779e48d')" - } - ) -} - -New-MgBetaTeam -BodyParameter $params - -``` -This example shows how to use the New-MgBetaTeam Cmdlet. - -### Example 4: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - "template@odata.bind" = "https://graph.microsoft.com/beta/teamsTemplates('standard')" - "group@odata.bind" = "https://graph.microsoft.com/beta/groups('71392b2f-1765-406e-86af-5907d9bdb2ab')" -} - -New-MgBetaTeam -BodyParameter $params - -``` -This example shows how to use the New-MgBetaTeam Cmdlet. - -### Example 5: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - "template@odata.bind" = "https://graph.microsoft.com/beta/teamsTemplates('standard')" - "group@odata.bind" = "https://graph.microsoft.com/beta/groups('dbd8de4f-5d47-48da-87f1-594bed003375')" - channels = @( - @{ - displayName = "Class Announcements 📢" - isFavoriteByDefault = $true - } - @{ - displayName = "Homework 🏋️" - isFavoriteByDefault = $true - } - ) - memberSettings = @{ - allowCreateUpdateChannels = $false - allowDeleteChannels = $false - allowAddRemoveApps = $false - allowCreateUpdateRemoveTabs = $false - allowCreateUpdateRemoveConnectors = $false - } - installedApps = @( - @{ - "teamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.vsts')" - } - @{ - "teamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('1542629c-01b3-4a6d-8f76-1938b779e48d')" - } - ) -} - -New-MgBetaTeam -BodyParameter $params - -``` -This example shows how to use the New-MgBetaTeam Cmdlet. - -### Example 6: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - "template@odata.bind" = "https://graph.microsoft.com/beta/teamsTemplates('educationClass')" - displayName = "My Class Team" - description = "My Class Team’s Description" -} - -New-MgBetaTeam -BodyParameter $params - -``` -This example shows how to use the New-MgBetaTeam Cmdlet. - -### Example 7: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - "template@odata.bind" = "https://graph.microsoft.com/beta/teamsTemplates('educationClass')" - displayName = "My Class Team" - description = "My Class Team’s Description" - channels = @( - @{ - displayName = "Class Announcements 📢" - isFavoriteByDefault = $true - } - @{ - displayName = "Homework 🏋️" - isFavoriteByDefault = $true - } - ) - memberSettings = @{ - allowCreateUpdateChannels = $false - allowDeleteChannels = $false - allowAddRemoveApps = $false - allowCreateUpdateRemoveTabs = $false - allowCreateUpdateRemoveConnectors = $false - } - installedApps = @( - @{ - "teamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.vsts')" - } - @{ - "teamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('1542629c-01b3-4a6d-8f76-1938b779e48d')" - } - ) -} - -New-MgBetaTeam -BodyParameter $params - -``` -This example shows how to use the New-MgBetaTeam Cmdlet. - -### Example 8: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - "@microsoft.graph.teamCreationMode" = "migration" - "template@odata.bind" = "https://graph.microsoft.com/beta/teamsTemplates('standard')" - displayName = "My Sample Team" - description = "My Sample Team’s Description" - createdDateTime = [System.DateTime]::Parse("2020-03-14T11:22:17.067Z") -} - -New-MgBetaTeam -BodyParameter $params - -``` -This example shows how to use the New-MgBetaTeam Cmdlet. - -### Example 9: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - "template@odata.bind" = "https://graph.microsoft.com/beta/teamsTemplates('standard')" - displayName = "My Sample Team" - description = "My Sample Team’s Description" - members = @( - @{ - "@odata.type" = "#microsoft.graph.aadUserConversationMember" - roles = @( - "owner" - ) - "user@odata.bind" = "https://graph.microsoft.com/beta/users('jacob@contoso.com')" - } -) -} - -New-MgBetaTeam -BodyParameter $params - -``` -This example shows how to use the New-MgBetaTeam Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/New-MgBetaTeamChannelEmail.md b/src/Beta.Teams/beta/examples/New-MgBetaTeamChannelEmail.md deleted file mode 100644 index 4dcd86d0eb..0000000000 --- a/src/Beta.Teams/beta/examples/New-MgBetaTeamChannelEmail.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -New-MgBetaTeamChannelEmail -TeamId $teamId -ChannelId $channelId - -``` -This example shows how to use the New-MgBetaTeamChannelEmail Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/New-MgBetaTeamPrimaryChannelEmail.md b/src/Beta.Teams/beta/examples/New-MgBetaTeamPrimaryChannelEmail.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/New-MgBetaTeamPrimaryChannelEmail.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/New-MgBetaTeamworkDeletedTeamChannelEmail.md b/src/Beta.Teams/beta/examples/New-MgBetaTeamworkDeletedTeamChannelEmail.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/New-MgBetaTeamworkDeletedTeamChannelEmail.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Remove-MgBetaChat.md b/src/Beta.Teams/beta/examples/Remove-MgBetaChat.md deleted file mode 100644 index 4bbb14010f..0000000000 --- a/src/Beta.Teams/beta/examples/Remove-MgBetaChat.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Remove-MgBetaChat -ChatId $chatId - -``` -This example shows how to use the Remove-MgBetaChat Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Remove-MgBetaChatAccessForUser.md b/src/Beta.Teams/beta/examples/Remove-MgBetaChatAccessForUser.md deleted file mode 100644 index 54c7611d9b..0000000000 --- a/src/Beta.Teams/beta/examples/Remove-MgBetaChatAccessForUser.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - user = @{ - "@odata.type" = "microsoft.graph.teamworkUserIdentity" - } -} - -Remove-MgBetaChatAccessForUser -ChatId $chatId -BodyParameter $params - -``` -This example shows how to use the Remove-MgBetaChatAccessForUser Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Remove-MgBetaTeamChannelEmail.md b/src/Beta.Teams/beta/examples/Remove-MgBetaTeamChannelEmail.md deleted file mode 100644 index b718e98033..0000000000 --- a/src/Beta.Teams/beta/examples/Remove-MgBetaTeamChannelEmail.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Remove-MgBetaTeamChannelEmail -TeamId $teamId -ChannelId $channelId - -``` -This example shows how to use the Remove-MgBetaTeamChannelEmail Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Remove-MgBetaTeamPrimaryChannelEmail.md b/src/Beta.Teams/beta/examples/Remove-MgBetaTeamPrimaryChannelEmail.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Remove-MgBetaTeamPrimaryChannelEmail.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Remove-MgBetaTeamworkDeletedTeamChannelEmail.md b/src/Beta.Teams/beta/examples/Remove-MgBetaTeamworkDeletedTeamChannelEmail.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Remove-MgBetaTeamworkDeletedTeamChannelEmail.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Restart-MgBetaTeamworkDevice.md b/src/Beta.Teams/beta/examples/Restart-MgBetaTeamworkDevice.md deleted file mode 100644 index ef3bf15aa0..0000000000 --- a/src/Beta.Teams/beta/examples/Restart-MgBetaTeamworkDevice.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Restart-MgBetaTeamworkDevice -TeamworkDeviceId $teamworkDeviceId - -``` -This example shows how to use the Restart-MgBetaTeamworkDevice Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Send-MgBetaChatActivityNotification.md b/src/Beta.Teams/beta/examples/Send-MgBetaChatActivityNotification.md deleted file mode 100644 index 2e901f5713..0000000000 --- a/src/Beta.Teams/beta/examples/Send-MgBetaChatActivityNotification.md +++ /dev/null @@ -1,161 +0,0 @@ -### Example 1: Notify a user about a task created in a chat - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "entityUrl" - value = "https://graph.microsoft.com/beta/chats/{chatId}" - } - activityType = "taskCreated" - previewText = @{ - content = "New Task Created" - } - recipient = @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "569363e2-4e49-4661-87f2-16f245c5d66a" - } - templateParameters = @( - @{ - name = "taskId" - value = "Task 12322" - } - ) -} - -Send-MgBetaChatActivityNotification -ChatId $chatId -BodyParameter $params - -``` -This example will notify a user about a task created in a chat - -### Example 2: Notify a user about an approval needed in a chat message - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "entityUrl" - value = "https://graph.microsoft.com/beta/chats/{chatId}/messages/{messageId}" - } - activityType = "approvalRequired" - previewText = @{ - content = "Deployment requires your approval" - } - recipient = @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "569363e2-4e49-4661-87f2-16f245c5d66a" - } - templateParameters = @( - @{ - name = "approvalTaskId" - value = "2020AAGGTAPP" - } - ) -} - -Send-MgBetaChatActivityNotification -ChatId $chatId -BodyParameter $params - -``` -This example will notify a user about an approval needed in a chat message - -### Example 3: Notify a user about an approval needed in a chat message using the user's principal name - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "entityUrl" - value = "https://graph.microsoft.com/beta/chats/{chatId}/messages/{messageId}" - } - activityType = "approvalRequired" - previewText = @{ - content = "Deployment requires your approval" - } - recipient = @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "jacob@contoso.com" - } - templateParameters = @( - @{ - name = "approvalTaskId" - value = "2020AAGGTAPP" - } - ) -} - -Send-MgBetaChatActivityNotification -ChatId $chatId -BodyParameter $params - -``` -This example will notify a user about an approval needed in a chat message using the user's principal name - -### Example 4: Notify a user about an event about a chat - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "text" - value = "Deployment Approvals Channel" - webUrl = "https://teams.microsoft.com/l/message/19:448cfd2ac2a7490a9084a9ed14cttr78c@thread.skype/1605223780000?tenantId=c8b1bf45-3834-4ecf-971a-b4c755ee677d&groupId=d4c2a937-f097-435a-bc91-5c1683ca7245&parentMessageId=1605223771864&teamName=Approvals&channelName=Azure%20DevOps&createdTime=1605223780000" - } - activityType = "deploymentApprovalRequired" - previewText = @{ - content = "New deployment requires your approval" - } - recipient = @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "569363e2-4e49-4661-87f2-16f245c5d66a" - } - templateParameters = @( - @{ - name = "deploymentId" - value = "6788662" - } - ) -} - -Send-MgBetaChatActivityNotification -ChatId $chatId -BodyParameter $params - -``` -This example will notify a user about an event about a chat - -### Example 5: Notify the chat members about a task created in a chat - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "entityUrl" - value = "https://graph.microsoft.com/beta/chats/19:1c3af46e9e0f4a5293343c8813c47619@thread.v2" - } - activityType = "taskCreated" - previewText = @{ - content = "New Task Created" - } - recipient = @{ - "@odata.type" = "microsoft.graph.chatMembersNotificationRecipient" - chatId = "19:1c3af46e9e0f4a5293343c8813c47619@thread.v2" - } - templateParameters = @( - @{ - name = "taskId" - value = "Task 12322" - } - ) -} - -Send-MgBetaChatActivityNotification -ChatId $chatId -BodyParameter $params - -``` -This example will notify the chat members about a task created in a chat - diff --git a/src/Beta.Teams/beta/examples/Send-MgBetaTeamActivityNotification.md b/src/Beta.Teams/beta/examples/Send-MgBetaTeamActivityNotification.md deleted file mode 100644 index 45d387912c..0000000000 --- a/src/Beta.Teams/beta/examples/Send-MgBetaTeamActivityNotification.md +++ /dev/null @@ -1,202 +0,0 @@ -### Example 1: Notify a user about pending finance approval requests - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "entityUrl" - value = "https://graph.microsoft.com/beta/teams/{teamId}" - } - activityType = "pendingFinanceApprovalRequests" - previewText = @{ - content = "Internal spending team has a pending finance approval requests" - } - recipient = @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "569363e2-4e49-4661-87f2-16f245c5d66a" - } - templateParameters = @( - @{ - name = "pendingRequestCount" - value = "5" - } - ) -} - -Send-MgBetaTeamActivityNotification -TeamId $teamId -BodyParameter $params - -``` -This example will notify a user about pending finance approval requests - -### Example 2: Notify a user about a channel tab - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "entityUrl" - value = "https://graph.microsoft.com/beta/teams/{teamId}/channels/{channelId}/tabs/{tabId}" - } - activityType = "reservationUpdated" - previewText = @{ - content = "You have moved up the queue" - } - recipient = @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "569363e2-4e49-4661-87f2-16f245c5d66a" - } - templateParameters = @( - @{ - name = "reservationId" - value = "TREEE433" - } - @{ - name = "currentSlot" - value = "23" - } - ) -} - -Send-MgBetaTeamActivityNotification -TeamId $teamId -BodyParameter $params - -``` -This example will notify a user about a channel tab - -### Example 3: Notify a user about a channel tab using the user's principal name - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "entityUrl" - value = "https://graph.microsoft.com/beta/teams/{teamId}/channels/{channelId}/tabs/{tabId}" - } - activityType = "reservationUpdated" - previewText = @{ - content = "You have moved up the queue" - } - recipient = @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "jacob@contoso.com" - } - templateParameters = @( - @{ - name = "reservationId" - value = "TREEE433" - } - @{ - name = "currentSlot" - value = "23" - } - ) -} - -Send-MgBetaTeamActivityNotification -TeamId $teamId -BodyParameter $params - -``` -This example will notify a user about a channel tab using the user's principal name - -### Example 4: Notify a user about an event using a custom topic - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "text" - value = "Deployment Approvals Channel" - webUrl = "https://teams.microsoft.com/l/message/19:448cfd2ac2a7490a9084a9ed14cttr78c@thread.skype/1605223780000?tenantId=c8b1bf45-3834-4ecf-971a-b4c755ee677d&groupId=d4c2a937-f097-435a-bc91-5c1683ca7245&parentMessageId=1605223771864&teamName=Approvals&channelName=Azure%20DevOps&createdTime=1605223780000" - } - activityType = "deploymentApprovalRequired" - previewText = @{ - content = "New deployment requires your approval" - } - recipient = @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "569363e2-4e49-4661-87f2-16f245c5d66a" - } - templateParameters = @( - @{ - name = "deploymentId" - value = "6788662" - } - ) -} - -Send-MgBetaTeamActivityNotification -TeamId $teamId -BodyParameter $params - -``` -This example will notify a user about an event using a custom topic - -### Example 5: Notify the team members about pending finance approval requests - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "entityUrl" - value = "https://graph.microsoft.com/beta/teams/e8bece96-d393-4b9b-b8da-69cedef1a7e7" - } - activityType = "pendingFinanceApprovalRequests" - previewText = @{ - content = "Internal spending team has a pending finance approval requests" - } - recipient = @{ - "@odata.type" = "microsoft.graph.teamMembersNotificationRecipient" - teamId = "e8bece96-d393-4b9b-b8da-69cedef1a7e7" - } - templateParameters = @( - @{ - name = "pendingRequestCount" - value = "5" - } - ) -} - -Send-MgBetaTeamActivityNotification -TeamId $teamId -BodyParameter $params - -``` -This example will notify the team members about pending finance approval requests - -### Example 6: Notify the channel members about pending finance approval requests - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "entityUrl" - value = "https://graph.microsoft.com/beta/teams/e8bece96-d393-4b9b-b8da-69cedef1a7e7" - } - activityType = "pendingFinanceApprovalRequests" - previewText = @{ - content = "Internal spending team has a pending finance approval requests" - } - recipient = @{ - "@odata.type" = "microsoft.graph.channelMembersNotificationRecipient" - teamId = "e8bece96-d393-4b9b-b8da-69cedef1a7e7" - channelId = "19:3d61a2309f094f4a9310b20f1db37520@thread.tacv2" - } - templateParameters = @( - @{ - name = "pendingRequestCount" - value = "5" - } - ) -} - -Send-MgBetaTeamActivityNotification -TeamId $teamId -BodyParameter $params - -``` -This example will notify the channel members about pending finance approval requests - diff --git a/src/Beta.Teams/beta/examples/Send-MgBetaTeamworkActivityNotificationToRecipient.md b/src/Beta.Teams/beta/examples/Send-MgBetaTeamworkActivityNotificationToRecipient.md deleted file mode 100644 index 031d99f22c..0000000000 --- a/src/Beta.Teams/beta/examples/Send-MgBetaTeamworkActivityNotificationToRecipient.md +++ /dev/null @@ -1,85 +0,0 @@ -### Example 1: Notify multiple users about pending finance approval requests - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "entityUrl" - value = "https://graph.microsoft.com/beta/appCatalogs/teamsApps/{teamsAppId}" - } - activityType = "pendingFinanceApprovalRequests" - previewText = @{ - content = "Internal spending team has a pending finance approval requests" - } - recipients = @( - @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "569363e2-4e49-4661-87f2-16f245c5d66a" - } - @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "ab88234e-0874-477c-9638-d144296ed04f" - } - @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "01c64f53-69aa-42c7-9b7f-9f75195d6bfc" - } - ) - templateParameters = @( - @{ - name = "pendingRequestCount" - value = "5" - } - ) -} - -Send-MgBetaTeamworkActivityNotificationToRecipient -BodyParameter $params - -``` -This example will notify multiple users about pending finance approval requests - -### Example 2: Notify multiple users about an event using a custom topic - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = @{ - source = "text" - value = "Deployment Approvals Channel" - webUrl = "https://teams.microsoft.com/l/message/19:448cfd2ac2a7490a9084a9ed14cttr78c@thread.skype/1605223780000?tenantId=c8b1bf45-3834-4ecf-971a-b4c755ee677d&groupId=d4c2a937-f097-435a-bc91-5c1683ca7245&parentMessageId=1605223771864&teamName=Approvals&channelName=Azure%20DevOps&createdTime=1605223780000" - } - activityType = "deploymentApprovalRequired" - previewText = @{ - content = "New deployment requires your approval" - } - templateParameters = @( - @{ - name = "deploymentId" - value = "6788662" - } - ) - recipients = @( - @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "569363e2-4e49-4661-87f2-16f245c5d66a" - } - @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "ab88234e-0874-477c-9638-d144296ed04f" - } - @{ - "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" - userId = "01c64f53-69aa-42c7-9b7f-9f75195d6bfc" - } - ) -} - -Send-MgBetaTeamworkActivityNotificationToRecipient -BodyParameter $params - -``` -This example will notify multiple users about an event using a custom topic - diff --git a/src/Beta.Teams/beta/examples/Start-MgBetaTeamScheduleTimeCardBreak.md b/src/Beta.Teams/beta/examples/Start-MgBetaTeamScheduleTimeCardBreak.md deleted file mode 100644 index a26c39c260..0000000000 --- a/src/Beta.Teams/beta/examples/Start-MgBetaTeamScheduleTimeCardBreak.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - atAprovedLocation = $true - notes = @{ - contentType = "text" - content = "start break smaple notes" - } -} - -Start-MgBetaTeamScheduleTimeCardBreak -TeamId $teamId -TimeCardId $timeCardId -BodyParameter $params - -``` -This example shows how to use the Start-MgBetaTeamScheduleTimeCardBreak Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Start-MgBetaTeamworkDeviceDiagnostic.md b/src/Beta.Teams/beta/examples/Start-MgBetaTeamworkDeviceDiagnostic.md deleted file mode 100644 index 2e3ee6ac43..0000000000 --- a/src/Beta.Teams/beta/examples/Start-MgBetaTeamworkDeviceDiagnostic.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Start-MgBetaTeamworkDeviceDiagnostic -TeamworkDeviceId $teamworkDeviceId - -``` -This example shows how to use the Start-MgBetaTeamworkDeviceDiagnostic Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Stop-MgBetaTeamScheduleTimeCardBreak.md b/src/Beta.Teams/beta/examples/Stop-MgBetaTeamScheduleTimeCardBreak.md deleted file mode 100644 index 81e494fb12..0000000000 --- a/src/Beta.Teams/beta/examples/Stop-MgBetaTeamScheduleTimeCardBreak.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - atAprovedLocation = $true - notes = @{ - contentType = "text" - content = "end break smaple notes" - } -} - -Stop-MgBetaTeamScheduleTimeCardBreak -TeamId $teamId -TimeCardId $timeCardId -BodyParameter $params - -``` -This example shows how to use the Stop-MgBetaTeamScheduleTimeCardBreak Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Undo-MgBetaChatMessageReplySoftDelete.md b/src/Beta.Teams/beta/examples/Undo-MgBetaChatMessageReplySoftDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Undo-MgBetaChatMessageReplySoftDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Undo-MgBetaChatMessageSoftDelete.md b/src/Beta.Teams/beta/examples/Undo-MgBetaChatMessageSoftDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Undo-MgBetaChatMessageSoftDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamChannelMessageReplySoftDelete.md b/src/Beta.Teams/beta/examples/Undo-MgBetaTeamChannelMessageReplySoftDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamChannelMessageReplySoftDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamChannelMessageSoftDelete.md b/src/Beta.Teams/beta/examples/Undo-MgBetaTeamChannelMessageSoftDelete.md deleted file mode 100644 index b773617ee5..0000000000 --- a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamChannelMessageSoftDelete.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Undo soft deletion of a message in a channel - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Undo-MgBetaTeamChannelMessageSoftDelete -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId - -``` -This example will undo soft deletion of a message in a channel - -### Example 2: Undo soft deletion of a message of a reply in a channel - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Undo-MgBetaTeamChannelMessageSoftDelete -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId - -``` -This example will undo soft deletion of a message of a reply in a channel - diff --git a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamPrimaryChannelMessageReplySoftDelete.md b/src/Beta.Teams/beta/examples/Undo-MgBetaTeamPrimaryChannelMessageReplySoftDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamPrimaryChannelMessageReplySoftDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamPrimaryChannelMessageSoftDelete.md b/src/Beta.Teams/beta/examples/Undo-MgBetaTeamPrimaryChannelMessageSoftDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamPrimaryChannelMessageSoftDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamworkDeletedChatDelete.md b/src/Beta.Teams/beta/examples/Undo-MgBetaTeamworkDeletedChatDelete.md deleted file mode 100644 index 0cefae1c45..0000000000 --- a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamworkDeletedChatDelete.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -Undo-MgBetaTeamworkDeletedChatDelete -DeletedChatId $deletedChatId - -``` -This example shows how to use the Undo-MgBetaTeamworkDeletedChatDelete Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamworkDeletedTeamChannelMessageReplySoftDelete.md b/src/Beta.Teams/beta/examples/Undo-MgBetaTeamworkDeletedTeamChannelMessageReplySoftDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamworkDeletedTeamChannelMessageReplySoftDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamworkDeletedTeamChannelMessageSoftDelete.md b/src/Beta.Teams/beta/examples/Undo-MgBetaTeamworkDeletedTeamChannelMessageSoftDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Undo-MgBetaTeamworkDeletedTeamChannelMessageSoftDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Update-MgBetaChat.md b/src/Beta.Teams/beta/examples/Update-MgBetaChat.md deleted file mode 100644 index 6f89395412..0000000000 --- a/src/Beta.Teams/beta/examples/Update-MgBetaChat.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - topic = "Group chat title update" -} - -Update-MgBetaChat -ChatId $chatId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaChat Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Update-MgBetaChatInstalledApp.md b/src/Beta.Teams/beta/examples/Update-MgBetaChatInstalledApp.md deleted file mode 100644 index 284d3b6822..0000000000 --- a/src/Beta.Teams/beta/examples/Update-MgBetaChatInstalledApp.md +++ /dev/null @@ -1,40 +0,0 @@ -### Example 1: Upgrade the teams app installed in chat - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ -} - -Update-MgBetaChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId -BodyParameter $params - -``` -This example will upgrade the teams app installed in chat - -### Example 2: Upgrade app installed in a chat and consent to the resource specific permissions - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - consentedPermissionSet = @{ - resourceSpecificPermissions = @( - @{ - permissionValue = "OnlineMeeting.ReadBasic.Chat" - permissionType = "Delegated" - } - @{ - permissionValue = "ChatMember.Read.Chat" - permissionType = "Application" - } - ) - } -} - -Update-MgBetaChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId -BodyParameter $params - -``` -This example will upgrade app installed in a chat and consent to the resource specific permissions - diff --git a/src/Beta.Teams/beta/examples/Update-MgBetaTeam.md b/src/Beta.Teams/beta/examples/Update-MgBetaTeam.md deleted file mode 100644 index 2f0964e9c2..0000000000 --- a/src/Beta.Teams/beta/examples/Update-MgBetaTeam.md +++ /dev/null @@ -1,29 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - isMembershipLimitedToOwners = $true - memberSettings = @{ - allowCreateUpdateChannels = $true - } - messagingSettings = @{ - allowUserEditMessages = $true - allowUserDeleteMessages = $true - } - funSettings = @{ - allowGiphy = $true - giphyContentRating = "strict" - } - discoverySettings = @{ - showInTeamsSearchAndSuggestions = $true - } -} - -Update-MgBetaTeam -TeamId $teamId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaTeam Cmdlet. - diff --git a/src/Beta.Teams/beta/examples/Update-MgBetaTeamInstalledApp.md b/src/Beta.Teams/beta/examples/Update-MgBetaTeamInstalledApp.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Teams/beta/examples/Update-MgBetaTeamInstalledApp.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Teams/beta/examples/Update-MgBetaTeamworkDeviceSoftware.md b/src/Beta.Teams/beta/examples/Update-MgBetaTeamworkDeviceSoftware.md deleted file mode 100644 index 2e3aeec038..0000000000 --- a/src/Beta.Teams/beta/examples/Update-MgBetaTeamworkDeviceSoftware.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Teams - -$params = @{ - softwareType = "teamsClient" - softwareVersion = "1.0.96.22" -} - -Update-MgBetaTeamworkDeviceSoftware -TeamworkDeviceId $teamworkDeviceId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaTeamworkDeviceSoftware Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserChatMember.md b/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserChatMember.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserChatMember.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserDriveListContentTypeCopy.md b/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserDriveListContentTypeCopy.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserDriveListContentTypeCopy.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserDriveListContentTypeCopyFromContentTypeHub.md b/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserDriveListContentTypeCopyFromContentTypeHub.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserDriveListContentTypeCopyFromContentTypeHub.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserFollowedSite.md b/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserFollowedSite.md deleted file mode 100644 index b6b5ce1792..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserFollowedSite.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - value = @( - @{ - id = "contoso.sharepoint.com,da60e844-ba1d-49bc-b4d4-d5e36bae9019,712a596e-90a1-49e3-9b48-bfa80bee8740" - } - @{ - id = "contoso.sharepoint.com,da60e844-ba1d-49bc-b4d4-d5e36bae9019,0271110f-634f-4300-a841-3a8a2e851851" - } - ) -} - -Add-MgBetaUserFollowedSite -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaUserFollowedSite Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserPendingAccessReviewInstanceDecision.md b/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserPendingAccessReviewInstanceDecision.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Add-MgBetaUserPendingAccessReviewInstanceDecision.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Clear-MgBetaUserPresence.md b/src/Beta.Users.Actions/beta/examples/Clear-MgBetaUserPresence.md deleted file mode 100644 index 2a809e840e..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Clear-MgBetaUserPresence.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - sessionId = "22553876-f5ab-4529-bffb-cfe50aa89f87" -} - -Clear-MgBetaUserPresence -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Clear-MgBetaUserPresence Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Clear-MgBetaUserPresenceUserPreferredPresence.md b/src/Beta.Users.Actions/beta/examples/Clear-MgBetaUserPresenceUserPreferredPresence.md deleted file mode 100644 index 7e1eb3133f..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Clear-MgBetaUserPresenceUserPreferredPresence.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -Clear-MgBetaUserPresenceUserPreferredPresence -UserId $userId - -``` -This example shows how to use the Clear-MgBetaUserPresenceUserPreferredPresence Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Complete-MgBetaUserOutlookTask.md b/src/Beta.Users.Actions/beta/examples/Complete-MgBetaUserOutlookTask.md deleted file mode 100644 index e2ab0194a8..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Complete-MgBetaUserOutlookTask.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -# A UPN can also be used as -UserId. -Complete-MgBetaUserOutlookTask -UserId $userId -OutlookTaskId $outlookTaskId - -``` -This example shows how to use the Complete-MgBetaUserOutlookTask Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Complete-MgBetaUserOutlookTaskFolderTask.md b/src/Beta.Users.Actions/beta/examples/Complete-MgBetaUserOutlookTaskFolderTask.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Complete-MgBetaUserOutlookTaskFolderTask.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Complete-MgBetaUserOutlookTaskGroupTaskFolderTask.md b/src/Beta.Users.Actions/beta/examples/Complete-MgBetaUserOutlookTaskGroupTaskFolderTask.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Complete-MgBetaUserOutlookTaskGroupTaskFolderTask.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Confirm-MgBetaUserMemberGroup.md b/src/Beta.Users.Actions/beta/examples/Confirm-MgBetaUserMemberGroup.md deleted file mode 100644 index 8ba092e02a..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Confirm-MgBetaUserMemberGroup.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Check group memberships for the signed-in user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - groupIds = @( - "fee2c45b-915a-4a64-b130-f4eb9e75525e" -"4fe90ae7-065a-478b-9400-e0a0e1cbd540" -) -} - -# A UPN can also be used as -UserId. -Confirm-MgBetaUserMemberGroup -UserId $userId -BodyParameter $params - -``` -This example will check group memberships for the signed-in user - diff --git a/src/Beta.Users.Actions/beta/examples/Convert-MgBetaUserExternalToInternalMemberUser.md b/src/Beta.Users.Actions/beta/examples/Convert-MgBetaUserExternalToInternalMemberUser.md deleted file mode 100644 index 189efc792a..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Convert-MgBetaUserExternalToInternalMemberUser.md +++ /dev/null @@ -1,50 +0,0 @@ -### Example 1: Convert a cloud user and require them to reset their password on next sign in - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - userPrincipalName = "AdeleVance@contoso.com" - passwordProfile = @{ - password = "Zdi087#2jhkahf" - forceChangePasswordNextSignIn = "true" - } -} - -Convert-MgBetaUserExternalToInternalMemberUser -UserId $userId -BodyParameter $params - -``` -This example will convert a cloud user and require them to reset their password on next sign in - -### Example 2: Convert a cloud user, change their mail address, and require password reset on next sign in - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - userPrincipalName = "AdeleVance@contoso.com" - passwordProfile = @{ - password = "Zdi087#2jhkahf" - forceChangePasswordNextSignIn = "true" - } - mail = "AdeleV@contoso.com" -} - -Convert-MgBetaUserExternalToInternalMemberUser -UserId $userId -BodyParameter $params - -``` -This example will convert a cloud user, change their mail address, and require password reset on next sign in - -### Example 3: Convert external User to internal for a user synchronized from on-premises AD - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -Convert-MgBetaUserExternalToInternalMemberUser -UserId $userId - -``` -This example will convert external user to internal for a user synchronized from on-premises ad - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserDriveItem.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserDriveListContentTypeToDefaultContentLocation.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserDriveListContentTypeToDefaultContentLocation.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserDriveListContentTypeToDefaultContentLocation.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserDriveRoot.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolder.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolder.md deleted file mode 100644 index 3387ee87e9..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolder.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - destinationId = "destinationId-value" -} - -# A UPN can also be used as -UserId. -Copy-MgBetaUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaUserMailFolder Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolder.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMailFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMessage.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMessage.md deleted file mode 100644 index 0805a86fb4..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserMessage.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - destinationId = "destinationId-value" -} - -# A UPN can also be used as -UserId. -Copy-MgBetaUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaUserMessage Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenoteNotebook.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenoteNotebook.md deleted file mode 100644 index 8af05c67a4..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenoteNotebook.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - groupId = "groupId-value" - renameAs = "renameAs-value" -} - -# A UPN can also be used as -UserId. -Copy-MgBetaUserOnenoteNotebook -UserId $userId -NotebookId $notebookId -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaUserOnenoteNotebook Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenotePageToSection.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenotePageToSection.md deleted file mode 100644 index 025b38b00c..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenotePageToSection.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - id = "id-value" - groupId = "groupId-value" -} - -# A UPN can also be used as -UserId. -Copy-MgBetaUserOnenotePageToSection -UserId $userId -OnenotePageId $onenotePageId -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaUserOnenotePageToSection Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenoteSectionToNotebook.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenoteSectionToNotebook.md deleted file mode 100644 index 573f0a0f04..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenoteSectionToNotebook.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - id = "id-value" - groupId = "groupId-value" - renameAs = "renameAs-value" -} - -# A UPN can also be used as -UserId. -Copy-MgBetaUserOnenoteSectionToNotebook -UserId $userId -OnenoteSectionId $onenoteSectionId -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaUserOnenoteSectionToNotebook Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenoteSectionToSectionGroup.md b/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenoteSectionToSectionGroup.md deleted file mode 100644 index c1136bc8e4..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Copy-MgBetaUserOnenoteSectionToSectionGroup.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - id = "id-value" - groupId = "groupId-value" - renameAs = "renameAs-value" -} - -# A UPN can also be used as -UserId. -Copy-MgBetaUserOnenoteSectionToSectionGroup -UserId $userId -OnenoteSectionId $onenoteSectionId -BodyParameter $params - -``` -This example shows how to use the Copy-MgBetaUserOnenoteSectionToSectionGroup Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Export-MgBetaUserPersonalData.md b/src/Beta.Users.Actions/beta/examples/Export-MgBetaUserPersonalData.md deleted file mode 100644 index d5ffbf622a..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Export-MgBetaUserPersonalData.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - storageLocation = "storageLocation-value" -} - -Export-MgBetaUserPersonalData -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Export-MgBetaUserPersonalData Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Find-MgBetaUserMeetingTime.md b/src/Beta.Users.Actions/beta/examples/Find-MgBetaUserMeetingTime.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserById.md b/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserCalendarSchedule.md b/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserCalendarSchedule.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserCalendarSchedule.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserDefaultCalendarSchedule.md b/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserDefaultCalendarSchedule.md deleted file mode 100644 index 601f12094f..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserDefaultCalendarSchedule.md +++ /dev/null @@ -1,28 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - schedules = @( - "adelev@contoso.com" -"meganb@contoso.com" -) -startTime = @{ -dateTime = "2019-03-15T09:00:00" -timeZone = "Pacific Standard Time" -} -endTime = @{ -dateTime = "2019-03-15T18:00:00" -timeZone = "Pacific Standard Time" -} -availabilityViewInterval = 60 -} - -# A UPN can also be used as -UserId. -Get-MgBetaUserDefaultCalendarSchedule -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaUserDefaultCalendarSchedule Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserMailTip.md b/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserMailTip.md deleted file mode 100644 index 3c390e6273..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserMailTip.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - EmailAddresses = @( - "danas@contoso.com" -"fannyd@contoso.com" -) -MailTipsOptions = "automaticReplies, mailboxFullStatus" -} - -# A UPN can also be used as -UserId. -Get-MgBetaUserMailTip -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaUserMailTip Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserMemberGroup.md b/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserMemberGroup.md deleted file mode 100644 index 3d62f0d870..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserMemberGroup.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Check group memberships for the signed-in user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - securityEnabledOnly = $true -} - -# A UPN can also be used as -UserId. -Get-MgBetaUserMemberGroup -UserId $userId -BodyParameter $params - -``` -This example will check group memberships for the signed-in user - diff --git a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserOnenoteNotebookFromWebUrl.md b/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserOnenoteNotebookFromWebUrl.md deleted file mode 100644 index e33f2a9cdd..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserOnenoteNotebookFromWebUrl.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - webUrl = "webUrl value" -} - -# A UPN can also be used as -UserId. -Get-MgBetaUserOnenoteNotebookFromWebUrl -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Get-MgBetaUserOnenoteNotebookFromWebUrl Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserOwnedObjectByType.md b/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserOwnedObjectByType.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserPasswordSingleSignOnCredential.md b/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserPasswordSingleSignOnCredential.md deleted file mode 100644 index 3c87005de7..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Get-MgBetaUserPasswordSingleSignOnCredential.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -Get-MgBetaUserPasswordSingleSignOnCredential -UserId $userId - -``` -This example shows how to use the Get-MgBetaUserPasswordSingleSignOnCredential Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Grant-MgBetaUserDriveItemPermission.md b/src/Beta.Users.Actions/beta/examples/Grant-MgBetaUserDriveItemPermission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Grant-MgBetaUserDriveItemPermission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Grant-MgBetaUserDriveRootPermission.md b/src/Beta.Users.Actions/beta/examples/Grant-MgBetaUserDriveRootPermission.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Grant-MgBetaUserDriveRootPermission.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Hide-MgBetaUserChatForUser.md b/src/Beta.Users.Actions/beta/examples/Hide-MgBetaUserChatForUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Hide-MgBetaUserChatForUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEvent.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEvent.md deleted file mode 100644 index 29ebabfaff..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEvent.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - comment = "comment-value" - sendResponse = $true -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaAcceptUserEvent -UserId $userId -EventId $eventId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaAcceptUserEvent Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEventInstance.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEventInstance.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEventInstance.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEventInstanceTentatively.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEventInstanceTentatively.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEventInstanceTentatively.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEventTentatively.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEventTentatively.md deleted file mode 100644 index 433cfc4ef9..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserEventTentatively.md +++ /dev/null @@ -1,27 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - comment = "I may not be able to make this week. How about next week?" - sendResponse = $true - proposedNewTime = @{ - start = @{ - dateTime = "2019-12-02T18:00:00" - timeZone = "Pacific Standard Time" - } - end = @{ - dateTime = "2019-12-02T19:00:00" - timeZone = "Pacific Standard Time" - } - } -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaAcceptUserEventTentatively -UserId $userId -EventId $eventId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaAcceptUserEventTentatively Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserPendingAccessReviewInstanceRecommendation.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserPendingAccessReviewInstanceRecommendation.md deleted file mode 100644 index a9c495306c..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaAcceptUserPendingAccessReviewInstanceRecommendation.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -# A UPN can also be used as -UserId. -Invoke-MgBetaAcceptUserPendingAccessReviewInstanceRecommendation -UserId $userId -AccessReviewInstanceId $accessReviewInstanceId - -``` -This example shows how to use the Invoke-MgBetaAcceptUserPendingAccessReviewInstanceRecommendation Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBatchUserPendingAccessReviewInstanceRecordDecision.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBatchUserPendingAccessReviewInstanceRecordDecision.md deleted file mode 100644 index 73e6078b6e..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBatchUserPendingAccessReviewInstanceRecordDecision.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - decision = "Approve" - justification = "All principals with access need continued access to the resource (Marketing Group) as all the principals are on the marketing team" - resourceId = "a5c51e59-3fcd-4a37-87a1-835c0c21488a" -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaBatchUserPendingAccessReviewInstanceRecordDecision -UserId $userId -AccessReviewInstanceId $accessReviewInstanceId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaBatchUserPendingAccessReviewInstanceRecordDecision Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBulkReprovisionUserManagedDeviceCloudPc.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBulkReprovisionUserManagedDeviceCloudPc.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBulkRestoreUserManagedDeviceCloudPc.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBulkRestoreUserManagedDeviceCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBulkRestoreUserManagedDeviceCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBulkUserCloudPcResize.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBulkUserCloudPcResize.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBulkUserCloudPcResize.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBulkUserManagedDeviceSetCloudPcReviewStatus.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBulkUserManagedDeviceSetCloudPcReviewStatus.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaBulkUserManagedDeviceSetCloudPcReviewStatus.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckinUserDriveItem.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckinUserDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckinUserDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckinUserDriveRoot.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckinUserDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckinUserDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckoutUserDriveItem.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckoutUserDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckoutUserDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckoutUserDriveRoot.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckoutUserDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCheckoutUserDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCreateOrGetUserOnlineMeeting.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCreateOrGetUserOnlineMeeting.md deleted file mode 100644 index 01fac6862b..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaCreateOrGetUserOnlineMeeting.md +++ /dev/null @@ -1,66 +0,0 @@ -### Example 1: Create or get an online meeting with an external ID - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - startDateTime = [System.DateTime]::Parse("2020-02-06T01:49:21.3524945+00:00") - endDateTime = [System.DateTime]::Parse("2020-02-06T02:19:21.3524945+00:00") - subject = "Create a meeting with customId provided" - externalId = "7eb8263f-d0e0-4149-bb1c-1f0476083c56" - participants = @{ - attendees = @( - @{ - identity = @{ - user = @{ - id = "1f35f2e6-9cab-44ad-8d5a-b74c14720000" - } - } - role = "presenter" - upn = "test1@contoso.com" - } - ) - } -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaCreateOrGetUserOnlineMeeting -UserId $userId -BodyParameter $params - -``` -This example will create or get an online meeting with an external id - -### Example 2: Create or get an online meeting in a Microsoft Teams channel with an external ID - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - chatInfo = @{ - threadId = "19:7ebda77322dd4505ac4dedb5b67df076@thread.tacv2" - } - startDateTime = [System.DateTime]::Parse("2020-02-06T01:49:21.3524945+00:00") - endDateTime = [System.DateTime]::Parse("2020-02-06T02:19:21.3524945+00:00") - externalId = "7eb8263f-d0e0-4149-bb1c-1f0476083c56" - participants = @{ - attendees = @( - @{ - identity = @{ - user = @{ - id = "1f35f2e6-9cab-44ad-8d5a-b74c14720000" - } - } - upn = "test1@contoso.com" - } - ) - } - subject = "Create a meeting with customId provided" -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaCreateOrGetUserOnlineMeeting -UserId $userId -BodyParameter $params - -``` -This example will create or get an online meeting in a microsoft teams channel with an external id - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDeclineUserEvent.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDeclineUserEvent.md deleted file mode 100644 index 2971726e0f..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDeclineUserEvent.md +++ /dev/null @@ -1,27 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - comment = "I won't be able to make this week. How about next week?" - sendResponse = $true - proposedNewTime = @{ - start = @{ - dateTime = "2019-12-02T18:00:00" - timeZone = "Pacific Standard Time" - } - end = @{ - dateTime = "2019-12-02T19:00:00" - timeZone = "Pacific Standard Time" - } - } -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaDeclineUserEvent -UserId $userId -EventId $eventId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaDeclineUserEvent Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDeclineUserEventInstance.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDeclineUserEventInstance.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDeclineUserEventInstance.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDismissUserEventInstanceReminder.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDismissUserEventInstanceReminder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDismissUserEventInstanceReminder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDismissUserEventReminder.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDismissUserEventReminder.md deleted file mode 100644 index 2585e79503..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaDismissUserEventReminder.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -# A UPN can also be used as -UserId. -Invoke-MgBetaDismissUserEventReminder -UserId $userId -EventId $eventId - -``` -This example shows how to use the Invoke-MgBetaDismissUserEventReminder Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaExtractUserInformationProtectionPolicyLabel.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaExtractUserInformationProtectionPolicyLabel.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaExtractUserInformationProtectionPolicyLabel.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaExtractUserSecurityInformationProtectionSensitivityLabelContentLabel.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaExtractUserSecurityInformationProtectionSensitivityLabelContentLabel.md deleted file mode 100644 index 772816f65a..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaExtractUserSecurityInformationProtectionSensitivityLabelContentLabel.md +++ /dev/null @@ -1,49 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - contentInfo = @{ - format = "default" - identifier = "MyDoc.docx" - state = "rest" - metadata = @( - @{ - name = "MSIP_Label_0ed12617-d0ef-4053-b8e4-ecf5bcf2ffb3_Enabled" - value = "True" - } - @{ - name = "MSIP_Label_0ed12617-d0ef-4053-b8e4-ecf5bcf2ffb3_Method" - value = "Standard" - } - @{ - name = "MSIP_Label_0ed12617-d0ef-4053-b8e4-ecf5bcf2ffb3_SetDate" - value = "1/1/0001 12:00:00 AM" - } - @{ - name = "MSIP_Label_0ed12617-d0ef-4053-b8e4-ecf5bcf2ffb3_SiteId" - value = "cfa4cf1d-a337-4481-aa99-19d8f3d63f7c" - } - @{ - name = "MSIP_Label_0ed12617-d0ef-4053-b8e4-ecf5bcf2ffb3_Name" - value = "LabelScopedToBob_Tests" - } - @{ - name = "MSIP_Label_0ed12617-d0ef-4053-b8e4-ecf5bcf2ffb3_ContentBits" - value = "0" - } - @{ - name = "MSIP_Label_0ed12617-d0ef-4053-b8e4-ecf5bcf2ffb3_ActionId" - value = "00000000-0000-0000-0000-000000000000" - } - ) - } -} - -Invoke-MgBetaExtractUserSecurityInformationProtectionSensitivityLabelContentLabel -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaExtractUserSecurityInformationProtectionSensitivityLabelContentLabel Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaFollowUserDriveItem.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaFollowUserDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaFollowUserDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaFollowUserDriveRoot.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaFollowUserDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaFollowUserDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserEvent.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserEvent.md deleted file mode 100644 index 6718719128..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserEvent.md +++ /dev/null @@ -1,24 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - ToRecipients = @( - @{ - EmailAddress = @{ - Address = "danas@contoso.com" - Name = "Dana Swope" - } - } - ) - Comment = "Dana, hope you can make this meeting." -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaForwardUserEvent -UserId $userId -EventId $eventId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaForwardUserEvent Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserEventInstance.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserEventInstance.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserEventInstance.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserMailFolderChildFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserMailFolderChildFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserMailFolderChildFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserMailFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserMailFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserMailFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserMessage.md deleted file mode 100644 index 6016d30d50..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaForwardUserMessage.md +++ /dev/null @@ -1,27 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - message = @{ - isDeliveryReceiptRequested = $true - toRecipients = @( - @{ - emailAddress = @{ - address = "danas@contoso.com" - name = "Dana Swope" - } - } - ) - } - comment = "Dana, just want to make sure you get this." -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaForwardUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaForwardUserMessage Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaGraphUserChat.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaGraphUserChat.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaGraphUserChat.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaInvalidateAllUserRefreshToken.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaInvalidateAllUserRefreshToken.md deleted file mode 100644 index 97b336e277..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaInvalidateAllUserRefreshToken.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -# A UPN can also be used as -UserId. -Invoke-MgBetaInvalidateAllUserRefreshToken -UserId $userId - -``` -This example shows how to use the Invoke-MgBetaInvalidateAllUserRefreshToken Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaInviteUserDriveItem.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaInviteUserDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaInviteUserDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaInviteUserDriveRoot.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaInviteUserDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaInviteUserDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaLicenseUser.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaLicenseUser.md deleted file mode 100644 index e4428c3d5b..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaLicenseUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -Invoke-MgBetaLicenseUser -UserId $userId - -``` -This example shows how to use the Invoke-MgBetaLicenseUser Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserChatReadForUser.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserChatReadForUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserChatReadForUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserChatUnreadForUser.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserChatUnreadForUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserChatUnreadForUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsJunk.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsJunk.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsJunk.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsNotJunk.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsNotJunk.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsNotJunk.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsJunk.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsJunk.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsJunk.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsNotJunk.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsNotJunk.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsNotJunk.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMessageAsJunk.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMessageAsJunk.md deleted file mode 100644 index f3e9d10984..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMessageAsJunk.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - moveToJunk = $true -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaMarkUserMessageAsJunk -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaMarkUserMessageAsJunk Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMessageAsNotJunk.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMessageAsNotJunk.md deleted file mode 100644 index 6cd9bab128..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaMarkUserMessageAsNotJunk.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - moveToInbox = $true -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaMarkUserMessageAsNotJunk -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaMarkUserMessageAsNotJunk Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReauthorizeUserDriveItemSubscription.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReauthorizeUserDriveItemSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReauthorizeUserDriveItemSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReauthorizeUserDriveListSubscription.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReauthorizeUserDriveListSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReauthorizeUserDriveListSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReauthorizeUserDriveRootSubscription.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReauthorizeUserDriveRootSubscription.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReauthorizeUserDriveRootSubscription.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaRecordUserPendingAccessReviewInstanceDecision.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaRecordUserPendingAccessReviewInstanceDecision.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyAllUserMailFolderChildFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyAllUserMailFolderChildFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyAllUserMailFolderChildFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyAllUserMailFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyAllUserMailFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyAllUserMailFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyAllUserMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyAllUserMessage.md deleted file mode 100644 index 52377e2370..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyAllUserMessage.md +++ /dev/null @@ -1,25 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - message = @{ - attachments = @( - @{ - "@odata.type" = "#microsoft.graph.fileAttachment" - name = "guidelines.txt" - contentBytes = "bWFjIGFuZCBjaGVlc2UgdG9kYXk=" - } - ) - } - comment = "Please take a look at the attached guidelines before you decide on the name." -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaReplyAllUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaReplyAllUserMessage Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyUserMailFolderChildFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyUserMailFolderChildFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyUserMailFolderChildFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyUserMailFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyUserMailFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyUserMailFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyUserMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyUserMessage.md deleted file mode 100644 index 09312d9f5f..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReplyUserMessage.md +++ /dev/null @@ -1,32 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - message = @{ - toRecipients = @( - @{ - emailAddress = @{ - address = "samanthab@contoso.com" - name = "Samantha Booth" - } - } - @{ - emailAddress = @{ - address = "randiw@contoso.com" - name = "Randi Welch" - } - } - ) - } - comment = "Samantha, Randi, would you name the group please?" -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaReplyUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaReplyUserMessage Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReprovisionUserCloudPc.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReprovisionUserCloudPc.md deleted file mode 100644 index d20544f38f..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReprovisionUserCloudPc.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Reprovision the cloudPC for the signed-in user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -# A UPN can also be used as -UserId. -Invoke-MgBetaReprovisionUserCloudPc -UserId $userId -CloudPCId $cloudPCId - -``` -This example will reprovision the cloudpc for the signed-in user - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReprovisionUserManagedDeviceCloudPc.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReprovisionUserManagedDeviceCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaReprovisionUserManagedDeviceCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaRetryUserCloudPcPartnerAgentInstallation.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaRetryUserCloudPcPartnerAgentInstallation.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaRetryUserCloudPcPartnerAgentInstallation.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaRetryUserServiceProvisioning.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaRetryUserServiceProvisioning.md deleted file mode 100644 index a33253204d..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaRetryUserServiceProvisioning.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -Invoke-MgBetaRetryUserServiceProvisioning -UserId $userId - -``` -This example shows how to use the Invoke-MgBetaRetryUserServiceProvisioning Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSnoozeUserEventInstanceReminder.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSnoozeUserEventInstanceReminder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSnoozeUserEventInstanceReminder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSnoozeUserEventReminder.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSnoozeUserEventReminder.md deleted file mode 100644 index 46c5d6ee1a..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSnoozeUserEventReminder.md +++ /dev/null @@ -1,19 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - newReminderTime = @{ - dateTime = "2016-10-19T10:37:00Z" - timeZone = "timeZone-value" - } -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaSnoozeUserEventReminder -UserId $userId -EventId $eventId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaSnoozeUserEventReminder Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSoftUserChatMessageDelete.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSoftUserChatMessageDelete.md deleted file mode 100644 index 9005ca6dc5..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSoftUserChatMessageDelete.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Soft-delete message in a chat - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -Invoke-MgBetaSoftUserChatMessageDelete -UserId $userId -ChatId $chatId -ChatMessageId $chatMessageId - -``` -This example will soft-delete message in a chat - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSoftUserChatMessageReplyDelete.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSoftUserChatMessageReplyDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaSoftUserChatMessageReplyDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaTranslateUserExchangeId.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaTranslateUserExchangeId.md deleted file mode 100644 index 3829e75ffb..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaTranslateUserExchangeId.md +++ /dev/null @@ -1,21 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - inputIds = @( - '{rest-formatted-id-1}' -'{rest-formatted-id-2}' -) -sourceIdType = "restId" -targetIdType = "restImmutableEntryId" -} - -# A UPN can also be used as -UserId. -Invoke-MgBetaTranslateUserExchangeId -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Invoke-MgBetaTranslateUserExchangeId Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaTroubleshootUserCloudPc.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaTroubleshootUserCloudPc.md deleted file mode 100644 index 41d3cce4e0..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaTroubleshootUserCloudPc.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -# A UPN can also be used as -UserId. -Invoke-MgBetaTroubleshootUserCloudPc -UserId $userId -CloudPCId $cloudPCId - -``` -This example shows how to use the Invoke-MgBetaTroubleshootUserCloudPc Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnfollowUserDriveItem.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnfollowUserDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnfollowUserDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnfollowUserDriveRoot.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnfollowUserDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnfollowUserDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderChildFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderChildFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderChildFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnsubscribeUserMessage.md b/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnsubscribeUserMessage.md deleted file mode 100644 index d22af21cf0..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Invoke-MgBetaUnsubscribeUserMessage.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -# A UPN can also be used as -UserId. -Invoke-MgBetaUnsubscribeUserMessage -UserId $userId -MessageId $messageId - -``` -This example shows how to use the Invoke-MgBetaUnsubscribeUserMessage Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Join-MgBetaUserDriveListContentTypeWithHubSite.md b/src/Beta.Users.Actions/beta/examples/Join-MgBetaUserDriveListContentTypeWithHubSite.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Join-MgBetaUserDriveListContentTypeWithHubSite.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolder.md b/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolder.md deleted file mode 100644 index 529af8d1cd..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolder.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - destinationId = "destinationId-value" -} - -# A UPN can also be used as -UserId. -Move-MgBetaUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params - -``` -This example shows how to use the Move-MgBetaUserMailFolder Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolderChildFolder.md b/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolderChildFolder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolderChildFolder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolderChildFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolderChildFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolderChildFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMailFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMessage.md b/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMessage.md deleted file mode 100644 index 9d34f752fe..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserMessage.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - destinationId = "deleteditems" -} - -# A UPN can also be used as -UserId. -Move-MgBetaUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example shows how to use the Move-MgBetaUserMessage Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserPlannerPlanToContainer.md b/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserPlannerPlanToContainer.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Move-MgBetaUserPlannerPlanToContainer.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveItemLink.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveItemListItemLink.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveItemListItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveItemListItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveListItemLink.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveListItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveListItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveRootLink.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveRootLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveRootLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveRootListItemLink.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveRootListItemLink.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserDriveRootListItemLink.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserEventAttachmentUploadSession.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserEventAttachmentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserEventAttachmentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserEventInstanceAttachmentUploadSession.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserEventInstanceAttachmentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserEventInstanceAttachmentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageAttachmentUploadSession.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageAttachmentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageAttachmentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageForward.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageForward.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageForward.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReply.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReply.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReply.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReplyAll.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReplyAll.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReplyAll.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageAttachmentUploadSession.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageAttachmentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageAttachmentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageForward.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageForward.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageForward.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageReply.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageReply.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageReply.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageReplyAll.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageReplyAll.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMailFolderMessageReplyAll.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageAttachmentUploadSession.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageAttachmentUploadSession.md deleted file mode 100644 index 3914890133..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageAttachmentUploadSession.md +++ /dev/null @@ -1,42 +0,0 @@ -### Example 1: Create an upload session to add a large attachment to a draft message - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - AttachmentItem = @{ - attachmentType = "file" - name = "flower" - size = 3483322 - } -} - -# A UPN can also be used as -UserId. -New-MgBetaUserMessageAttachmentUploadSession -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example will create an upload session to add a large attachment to a draft message - -### Example 2: Create an upload session to add a large in-line attachment to a draft message - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - AttachmentItem = @{ - attachmentType = "file" - name = "scenary" - size = 7208534 - isInline = $true - contentId = "my_inline_picture" - } -} - -# A UPN can also be used as -UserId. -New-MgBetaUserMessageAttachmentUploadSession -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example will create an upload session to add a large in-line attachment to a draft message - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageForward.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageForward.md deleted file mode 100644 index 8c85ffc417..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageForward.md +++ /dev/null @@ -1,27 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - message = @{ - isDeliveryReceiptRequested = $true - toRecipients = @( - @{ - emailAddress = @{ - address = "danas@contoso.com" - name = "Dana Swope" - } - } - ) - } - comment = "Dana, just want to make sure you get this; you'll need this if the project gets approved." -} - -# A UPN can also be used as -UserId. -New-MgBetaUserMessageForward -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example shows how to use the New-MgBetaUserMessageForward Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageReply.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageReply.md deleted file mode 100644 index 25df655c4b..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageReply.md +++ /dev/null @@ -1,32 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - message = @{ - toRecipients = @( - @{ - emailAddress = @{ - address = "samanthab@contoso.com" - name = "Samantha Booth" - } - } - @{ - emailAddress = @{ - address = "randiw@contoso.com" - name = "Randi Welch" - } - } - ) - } - comment = "Samantha, Randi, would you name the group if the project is approved, please?" -} - -# A UPN can also be used as -UserId. -New-MgBetaUserMessageReply -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example shows how to use the New-MgBetaUserMessageReply Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageReplyAll.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageReplyAll.md deleted file mode 100644 index 58a4e3414d..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserMessageReplyAll.md +++ /dev/null @@ -1,25 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - message = @{ - attachments = @( - @{ - "@odata.type" = "#microsoft.graph.fileAttachment" - name = "guidelines.txt" - contentBytes = "bWFjIGFuZCBjaGVlc2UgdG9kYXk=" - } - ) - } - comment = "if the project gets approved, please take a look at the attached guidelines before you decide on the name." -} - -# A UPN can also be used as -UserId. -New-MgBetaUserMessageReplyAll -UserId $userId -MessageId $messageId -BodyParameter $params - -``` -This example shows how to use the New-MgBetaUserMessageReplyAll Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserOutlookTaskAttachmentUploadSession.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserOutlookTaskAttachmentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserOutlookTaskAttachmentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserOutlookTaskFolderTaskAttachmentUploadSession.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserOutlookTaskFolderTaskAttachmentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserOutlookTaskFolderTaskAttachmentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserOutlookTaskGroupTaskFolderTaskAttachmentUploadSession.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserOutlookTaskGroupTaskFolderTaskAttachmentUploadSession.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserOutlookTaskGroupTaskFolderTaskAttachmentUploadSession.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserTodoListTaskAttachmentUploadSession.md b/src/Beta.Users.Actions/beta/examples/New-MgBetaUserTodoListTaskAttachmentUploadSession.md deleted file mode 100644 index 452234014d..0000000000 --- a/src/Beta.Users.Actions/beta/examples/New-MgBetaUserTodoListTaskAttachmentUploadSession.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - attachmentInfo = @{ - attachmentType = "file" - name = "flower" - size = 3483322 - } -} - -# A UPN can also be used as -UserId. -New-MgBetaUserTodoListTaskAttachmentUploadSession -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -BodyParameter $params - -``` -This example shows how to use the New-MgBetaUserTodoListTaskAttachmentUploadSession Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Publish-MgBetaUserDriveListContentType.md b/src/Beta.Users.Actions/beta/examples/Publish-MgBetaUserDriveListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Publish-MgBetaUserDriveListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Remove-MgBetaUserChatAccessForUser.md b/src/Beta.Users.Actions/beta/examples/Remove-MgBetaUserChatAccessForUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Remove-MgBetaUserChatAccessForUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Remove-MgBetaUserFollowedSite.md b/src/Beta.Users.Actions/beta/examples/Remove-MgBetaUserFollowedSite.md deleted file mode 100644 index 239756f80f..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Remove-MgBetaUserFollowedSite.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - value = @( - @{ - id = "contoso.sharepoint.com,da60e844-ba1d-49bc-b4d4-d5e36bae9019,712a596e-90a1-49e3-9b48-bfa80bee8740" - } - @{ - id = "contoso.sharepoint.com,da60e844-ba1d-49bc-b4d4-d5e36bae9019,0271110f-634f-4300-a841-3a8a2e851851" - } - ) -} - -Remove-MgBetaUserFollowedSite -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Remove-MgBetaUserFollowedSite Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Remove-MgBetaUserPasswordSingleSignOnCredential.md b/src/Beta.Users.Actions/beta/examples/Remove-MgBetaUserPasswordSingleSignOnCredential.md deleted file mode 100644 index 994a7130c2..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Remove-MgBetaUserPasswordSingleSignOnCredential.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - id = "314ac440-129f-4cb3-ad61-24ef4a7de1d9" -} - -Remove-MgBetaUserPasswordSingleSignOnCredential -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Remove-MgBetaUserPasswordSingleSignOnCredential Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Rename-MgBetaUserCloudPc.md b/src/Beta.Users.Actions/beta/examples/Rename-MgBetaUserCloudPc.md deleted file mode 100644 index b2da57e2ca..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Rename-MgBetaUserCloudPc.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -# A UPN can also be used as -UserId. -Rename-MgBetaUserCloudPc -UserId $userId -CloudPCId $cloudPCId - -``` -This example shows how to use the Rename-MgBetaUserCloudPc Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Rename-MgBetaUserCloudPcUserAccountType.md b/src/Beta.Users.Actions/beta/examples/Rename-MgBetaUserCloudPcUserAccountType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Rename-MgBetaUserCloudPcUserAccountType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Reset-MgBetaUserAuthenticationMethodPassword.md b/src/Beta.Users.Actions/beta/examples/Reset-MgBetaUserAuthenticationMethodPassword.md deleted file mode 100644 index 4309f4854d..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Reset-MgBetaUserAuthenticationMethodPassword.md +++ /dev/null @@ -1,29 +0,0 @@ -### Example 1: User-submitted password - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - newPassword = "Cuyo5459" -} - -Reset-MgBetaUserAuthenticationMethodPassword -UserId $userId -AuthenticationMethodId $authenticationMethodId -BodyParameter $params - -``` -This example will user-submitted password - -### Example 2: System-generated password - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ -} - -Reset-MgBetaUserAuthenticationMethodPassword -UserId $userId -AuthenticationMethodId $authenticationMethodId -BodyParameter $params - -``` -This example will system-generated password - diff --git a/src/Beta.Users.Actions/beta/examples/Reset-MgBetaUserPendingAccessReviewInstanceDecision.md b/src/Beta.Users.Actions/beta/examples/Reset-MgBetaUserPendingAccessReviewInstanceDecision.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Reset-MgBetaUserPendingAccessReviewInstanceDecision.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Resize-MgBetaUserManagedDeviceCloudPc.md b/src/Beta.Users.Actions/beta/examples/Resize-MgBetaUserManagedDeviceCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Resize-MgBetaUserManagedDeviceCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Restart-MgBetaUserCloudPc.md b/src/Beta.Users.Actions/beta/examples/Restart-MgBetaUserCloudPc.md deleted file mode 100644 index 17f4f136b1..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Restart-MgBetaUserCloudPc.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Reboot the cloudPC for the signed-in user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -# A UPN can also be used as -UserId. -Restart-MgBetaUserCloudPc -UserId $userId -CloudPCId $cloudPCId - -``` -This example will reboot the cloudpc for the signed-in user - diff --git a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserCloudPc.md b/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveItem.md b/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveItemListItemDocumentSetVersion.md b/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveItemListItemDocumentSetVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveItemListItemDocumentSetVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveItemVersion.md b/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveItemVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveItemVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveListItemDocumentSetVersion.md b/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveListItemDocumentSetVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveListItemDocumentSetVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveRoot.md b/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveRootListItemDocumentSetVersion.md b/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveRootListItemDocumentSetVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveRootListItemDocumentSetVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveRootVersion.md b/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveRootVersion.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserDriveRootVersion.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserManagedDeviceCloudPc.md b/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserManagedDeviceCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Restore-MgBetaUserManagedDeviceCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Revoke-MgBetaUserDriveItemPermissionGrant.md b/src/Beta.Users.Actions/beta/examples/Revoke-MgBetaUserDriveItemPermissionGrant.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Revoke-MgBetaUserDriveItemPermissionGrant.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Revoke-MgBetaUserDriveRootPermissionGrant.md b/src/Beta.Users.Actions/beta/examples/Revoke-MgBetaUserDriveRootPermissionGrant.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Revoke-MgBetaUserDriveRootPermissionGrant.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Revoke-MgBetaUserSignInSession.md b/src/Beta.Users.Actions/beta/examples/Revoke-MgBetaUserSignInSession.md deleted file mode 100644 index c2852bf538..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Revoke-MgBetaUserSignInSession.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -# A UPN can also be used as -UserId. -Revoke-MgBetaUserSignInSession -UserId $userId - -``` -This example shows how to use the Revoke-MgBetaUserSignInSession Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserChatActivityNotification.md b/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserChatActivityNotification.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserChatActivityNotification.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMail.md b/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMail.md deleted file mode 100644 index fc7d220177..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMail.md +++ /dev/null @@ -1,147 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - message = @{ - subject = "Meet for lunch?" - body = @{ - contentType = "Text" - content = "The new cafeteria is open." - } - toRecipients = @( - @{ - emailAddress = @{ - address = "samanthab@contoso.com" - } - } - ) - ccRecipients = @( - @{ - emailAddress = @{ - address = "danas@contoso.com" - } - } - ) - } - saveToSentItems = "false" -} - -# A UPN can also be used as -UserId. -Send-MgBetaUserMail -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Send-MgBetaUserMail Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - message = @{ - subject = "Project kickoff" - toRecipients = @( - @{ - emailAddress = @{ - name = "Samantha Booth" - address = "samanthab@contoso.com" - } - } - ) - mentions = @( - @{ - mentioned = @{ - name = "Dana Swope" - address = "danas@contoso.com" - } - } - ) - } -} - -# A UPN can also be used as -UserId. -Send-MgBetaUserMail -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Send-MgBetaUserMail Cmdlet. - -### Example 3: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - message = @{ - subject = "9/9/2018: concert" - body = @{ - contentType = "HTML" - content = "The group represents Nevada." - } - toRecipients = @( - @{ - emailAddress = @{ - address = "AlexW@contoso.com" - } - } - ) - internetMessageHeaders = @( - @{ - name = "x-custom-header-group-name" - value = "Nevada" - } - @{ - name = "x-custom-header-group-id" - value = "NV001" - } - ) - } -} - -# A UPN can also be used as -UserId. -Send-MgBetaUserMail -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Send-MgBetaUserMail Cmdlet. - -### Example 4: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - message = @{ - subject = "Meet for lunch?" - body = @{ - contentType = "Text" - content = "The new cafeteria is open." - } - toRecipients = @( - @{ - emailAddress = @{ - address = "meganb@contoso.com" - } - } - ) - attachments = @( - @{ - "@odata.type" = "#microsoft.graph.fileAttachment" - name = "attachment.txt" - contentType = "text/plain" - contentBytes = "SGVsbG8gV29ybGQh" - } - ) - } -} - -# A UPN can also be used as -UserId. -Send-MgBetaUserMail -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Send-MgBetaUserMail Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMailFolderChildFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMailFolderChildFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMailFolderChildFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMailFolderMessage.md b/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMailFolderMessage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMailFolderMessage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMessage.md b/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMessage.md deleted file mode 100644 index 4287332ece..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserMessage.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Send an existing draft message - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -# A UPN can also be used as -UserId. -Send-MgBetaUserMessage -UserId $userId -MessageId $messageId - -``` -This example will send an existing draft message - diff --git a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingJoinWebUrlVirtualAppointmentReminderSm.md b/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingJoinWebUrlVirtualAppointmentReminderSm.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingJoinWebUrlVirtualAppointmentReminderSm.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingJoinWebUrlVirtualAppointmentSm.md b/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingJoinWebUrlVirtualAppointmentSm.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingJoinWebUrlVirtualAppointmentSm.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingVirtualAppointmentReminderSm.md b/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingVirtualAppointmentReminderSm.md deleted file mode 100644 index 02775b9e35..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingVirtualAppointmentReminderSm.md +++ /dev/null @@ -1,26 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - attendees = @( - @{ - phoneNumber = "+13129224122" - timeZone = "Pacific Standard Time" - } - @{ - phoneNumber = "+1242421412" - timeZone = "Eastern Standard Time" - } - ) - remindBeforeTimeInMinutesType = "mins15" -} - -# A UPN can also be used as -UserId. -Send-MgBetaUserOnlineMeetingVirtualAppointmentReminderSm -UserId $userId -OnlineMeetingId $onlineMeetingId -BodyParameter $params - -``` -This example shows how to use the Send-MgBetaUserOnlineMeetingVirtualAppointmentReminderSm Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingVirtualAppointmentSm.md b/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingVirtualAppointmentSm.md deleted file mode 100644 index 98aabec81e..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserOnlineMeetingVirtualAppointmentSm.md +++ /dev/null @@ -1,26 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - attendees = @( - @{ - phoneNumber = "+13129224122" - timeZone = "Pacific Standard Time" - } - @{ - phoneNumber = "+1242421412" - timeZone = "Eastern Standard Time" - } - ) - messageType = "confirmation" -} - -# A UPN can also be used as -UserId. -Send-MgBetaUserOnlineMeetingVirtualAppointmentSm -UserId $userId -OnlineMeetingId $onlineMeetingId -BodyParameter $params - -``` -This example shows how to use the Send-MgBetaUserOnlineMeetingVirtualAppointmentSm Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserPendingAccessReviewInstanceReminder.md b/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserPendingAccessReviewInstanceReminder.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserPendingAccessReviewInstanceReminder.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserTeamworkActivityNotification.md b/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserTeamworkActivityNotification.md deleted file mode 100644 index 213133bfd5..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Send-MgBetaUserTeamworkActivityNotification.md +++ /dev/null @@ -1,57 +0,0 @@ -### Example 1: Send notification to a user for a task created - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - topic = @{ - source = "entityUrl" - value = "https://graph.microsoft.com/beta/users/{userId}/teamwork/installedApps/{installationId}" - } - activityType = "taskCreated" - previewText = @{ - content = "New Task Created" - } - templateParameters = @( - @{ - name = "taskId" - value = "Task 12322" - } - ) -} - -Send-MgBetaUserTeamworkActivityNotification -UserId $userId -BodyParameter $params - -``` -This example will send notification to a user for a task created - -### Example 2: Notify a user about an event using a custom topic - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - topic = @{ - source = "text" - value = "Deployment Approvals Channel" - webUrl = "https://teams.microsoft.com/l/message/19:448cfd2ac2a7490a9084a9ed14cttr78c@thread.skype/1605223780000?tenantId=c8b1bf45-3834-4ecf-971a-b4c755ee677d&groupId=d4c2a937-f097-435a-bc91-5c1683ca7245&parentMessageId=1605223771864&teamName=Approvals&channelName=Azure%20DevOps&createdTime=1605223780000" - } - activityType = "deploymentApprovalRequired" - previewText = @{ - content = "New deployment requires your approval" - } - templateParameters = @( - @{ - name = "deploymentId" - value = "6788662" - } - ) -} - -Send-MgBetaUserTeamworkActivityNotification -UserId $userId -BodyParameter $params - -``` -This example will notify a user about an event using a custom topic - diff --git a/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserLicense.md b/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserLicense.md deleted file mode 100644 index cebd0f3f78..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserLicense.md +++ /dev/null @@ -1,51 +0,0 @@ -### Example 1: Assign licenses to the signed-in user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - addLicenses = @( - @{ - disabledPlans = @( - "8a256a2b-b617-496d-b51b-e76466e88db0" - ) - skuId = "84a661c4-e949-4bd2-a560-ed7766fcaf2b" - } - @{ - disabledPlans = @( - ) - skuId = "f30db892-07e9-47e9-837c-80727f46fd3d" - } -) -removeLicenses = @( -) -} - -# A UPN can also be used as -UserId. -Set-MgBetaUserLicense -UserId $userId -BodyParameter $params - -``` -This example will assign licenses to the signed-in user - -### Example 2: Remove licenses from the signed-in user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - addLicenses = @( - ) - removeLicenses = @( - "f30db892-07e9-47e9-837c-80727f46fd3d" -"84a661c4-e949-4bd2-a560-ed7766fcaf2b" -) -} - -# A UPN can also be used as -UserId. -Set-MgBetaUserLicense -UserId $userId -BodyParameter $params - -``` -This example will remove licenses from the signed-in user - diff --git a/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserManagedDeviceCloudPcReviewStatus.md b/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserManagedDeviceCloudPcReviewStatus.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserManagedDeviceCloudPcReviewStatus.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserPresence.md b/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserPresence.md deleted file mode 100644 index 44998e10cb..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserPresence.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - sessionId = "22553876-f5ab-4529-bffb-cfe50aa89f87" - availability = "Available" - activity = "Available" - expirationDuration = "PT1H" -} - -Set-MgBetaUserPresence -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Set-MgBetaUserPresence Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserPresenceStatusMessage.md b/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserPresenceStatusMessage.md deleted file mode 100644 index a6b13eb1d5..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserPresenceStatusMessage.md +++ /dev/null @@ -1,44 +0,0 @@ -### Example 1: Set status message with expiry date - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - statusMessage = @{ - message = @{ - content = "Hey I'm currently in a meeting." - contentType = "text" - } - expiryDateTime = @{ - dateTime = "2022-10-18T17:05:33.2079781" - timeZone = "Pacific Standard Time" - } - } -} - -Set-MgBetaUserPresenceStatusMessage -UserId $userId -BodyParameter $params - -``` -This example will set status message with expiry date - -### Example 2: Set status message of another user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - statusMessage = @{ - message = @{ - content = "Hey I am available now" - contentType = "text" - } - } -} - -Set-MgBetaUserPresenceStatusMessage -UserId $userId -BodyParameter $params - -``` -This example will set status message of another user - diff --git a/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserPresenceUserPreferredPresence.md b/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserPresenceUserPreferredPresence.md deleted file mode 100644 index b0005fae9b..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Set-MgBetaUserPresenceUserPreferredPresence.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - availability = "DoNotDisturb" - activity = "DoNotDisturb" - expirationDuration = "PT8H" -} - -Set-MgBetaUserPresenceUserPreferredPresence -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Set-MgBetaUserPresenceUserPreferredPresence Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Start-MgBetaUserCloudPc.md b/src/Beta.Users.Actions/beta/examples/Start-MgBetaUserCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Start-MgBetaUserCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserCloudPc.md b/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserCloudPcGracePeriod.md b/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserCloudPcGracePeriod.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserCloudPcGracePeriod.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserEvent.md b/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserEvent.md deleted file mode 100644 index 69862b9df5..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserEvent.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - Comment = "Cancelling for this week due to all hands" -} - -# A UPN can also be used as -UserId. -Stop-MgBetaUserEvent -UserId $userId -EventId $eventId -BodyParameter $params - -``` -This example shows how to use the Stop-MgBetaUserEvent Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserEventInstance.md b/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserEventInstance.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserEventInstance.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserPendingAccessReviewInstance.md b/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserPendingAccessReviewInstance.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserPendingAccessReviewInstance.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserPendingAccessReviewInstanceStage.md b/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserPendingAccessReviewInstanceStage.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Stop-MgBetaUserPendingAccessReviewInstanceStage.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserCloudPcBulkResize.md b/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserCloudPcBulkResize.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserCloudPcBulkResize.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelApplication.md b/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelApplication.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelApplication.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelClassificationResult.md b/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelClassificationResult.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelClassificationResult.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelRemoval.md b/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelRemoval.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelRemoval.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserJoinedGroupDynamicMembership.md b/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserJoinedGroupDynamicMembership.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserJoinedGroupDynamicMembership.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserPassword.md b/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserPassword.md deleted file mode 100644 index ebc2369e51..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserPassword.md +++ /dev/null @@ -1,15 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - password = "1234567890" -} - -Test-MgBetaUserPassword -BodyParameter $params - -``` -This example shows how to use the Test-MgBetaUserPassword Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserProperty.md b/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserProperty.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserProperty.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserSecurityInformationProtectionSensitivityLabelApplication.md b/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserSecurityInformationProtectionSensitivityLabelApplication.md deleted file mode 100644 index 24018c80d7..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserSecurityInformationProtectionSensitivityLabelApplication.md +++ /dev/null @@ -1,75 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - contentInfo = @{ - "@odata.type" = "#microsoft.graph.security.contentInfo" - "format@odata.type" = "#microsoft.graph.security.contentFormat" - contentFormat = "File" - format = "default" - identifier = $null - "state@odata.type" = "#microsoft.graph.security.contentState" - state = "rest" - "metadata@odata.type" = "#Collection(microsoft.graph.security.keyValuePair)" - metadata = @( - @{ - "@odata.type" = "#microsoft.graph.security.keyValuePair" - name = "MSIP_Label_3a80e051-487c-40d4-b491-73ad25d997e6_Enabled" - value = "True" - } - @{ - "@odata.type" = "#microsoft.graph.security.keyValuePair" - name = "MSIP_Label_3a80e051-487c-40d4-b491-73ad25d997e6_Method" - value = "Standard" - } - @{ - "@odata.type" = "#microsoft.graph.security.keyValuePair" - name = "MSIP_Label_3a80e051-487c-40d4-b491-73ad25d997e6_SetDate" - value = "1/1/0001 12:00:00 AM" - } - @{ - "@odata.type" = "#microsoft.graph.security.keyValuePair" - name = "MSIP_Label_3a80e051-487c-40d4-b491-73ad25d997e6_SiteId" - value = "cfa4cf1d-a337-4481-aa99-19d8f3d63f7c" - } - @{ - "@odata.type" = "#microsoft.graph.security.keyValuePair" - name = "MSIP_Label_3a80e051-487c-40d4-b491-73ad25d997e6_Name" - value = "LabelScopedToBob_Tests" - } - @{ - "@odata.type" = "#microsoft.graph.security.keyValuePair" - name = "MSIP_Label_3a80e051-487c-40d4-b491-73ad25d997e6_ContentBits" - value = "0" - } - @{ - "@odata.type" = "#microsoft.graph.security.keyValuePair" - name = "MSIP_Label_3a80e051-487c-40d4-b491-73ad25d997e6_ActionId" - value = "00000000-0000-0000-0000-000000000000" - } - ) - } - labelingOptions = @{ - "@odata.type" = "#microsoft.graph.security.labelingOptions" - "assignmentMethod@odata.type" = "#microsoft.graph.security.assignmentMethod" - assignmentMethod = "standard" - "labelId@odata.type" = "#Guid" - labelId = "836ff34f-b604-4a62-a68c-d6be4205d569" - downgradeJustification = @{ - justificationMessage = "Justified" - isDowngradeJustified = $true - } - "extendedProperties@odata.type" = "#Collection(microsoft.graph.security.keyValuePair)" - extendedProperties = @( - ) - } -} - -Test-MgBetaUserSecurityInformationProtectionSensitivityLabelApplication -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Test-MgBetaUserSecurityInformationProtectionSensitivityLabelApplication Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserSecurityInformationProtectionSensitivityLabelClassificationResult.md b/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserSecurityInformationProtectionSensitivityLabelClassificationResult.md deleted file mode 100644 index 72bcd1accd..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserSecurityInformationProtectionSensitivityLabelClassificationResult.md +++ /dev/null @@ -1,32 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - contentInfo = @{ - "@odata.type" = "#microsoft.graph.security.contentInfo" - "format@odata.type" = "#microsoft.graph.security.contentFormat" - format = "default" - contentFormat = "File" - identifier = "c:\user\new.docx" - "state@odata.type" = "#microsoft.graph.security.contentState" - state = "rest" - metadata = @( - ) - } - classificationResults = @( - @{ - sensitiveTypeId = "50842eb7-edc8-4019-85dd-5a5c1f2bb085" - count = 7 - confidenceLevel = 99 - } - ) -} - -Test-MgBetaUserSecurityInformationProtectionSensitivityLabelClassificationResult -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Test-MgBetaUserSecurityInformationProtectionSensitivityLabelClassificationResult Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserSecurityInformationProtectionSensitivityLabelRemoval.md b/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserSecurityInformationProtectionSensitivityLabelRemoval.md deleted file mode 100644 index ca276021c6..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Test-MgBetaUserSecurityInformationProtectionSensitivityLabelRemoval.md +++ /dev/null @@ -1,57 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - contentInfo = @{ - "@odata.type" = "#microsoft.graph.security.contentInfo" - identifier = $null - state = "rest" - metadata = @( - @{ - name = "MSIP_Label_836ff34f-b604-4a62-a68c-d6be4205d569_Enabled" - value = "True" - } - @{ - name = "MSIP_Label_836ff34f-b604-4a62-a68c-d6be4205d569_Method" - value = "Standard" - } - @{ - name = "MSIP_Label_836ff34f-b604-4a62-a68c-d6be4205d569_SetDate" - value = "1/1/0001 12:00:00 AM" - } - @{ - "@odata.type" = "#microsoft.graph.security.keyValuePair" - name = "MSIP_Label_836ff34f-b604-4a62-a68c-d6be4205d569_SiteId" - value = "cfa4cf1d-a337-4481-aa99-19d8f3d63f7c" - } - @{ - "@odata.type" = "#microsoft.graph.security.keyValuePair" - name = "MSIP_Label_836ff34f-b604-4a62-a68c-d6be4205d569_Name" - value = "LabelScopedToBob_Tests" - } - @{ - "@odata.type" = "#microsoft.graph.security.keyValuePair" - name = "MSIP_Label_836ff34f-b604-4a62-a68c-d6be4205d569_ContentBits" - value = "0" - } - @{ - "@odata.type" = "#microsoft.graph.security.keyValuePair" - name = "MSIP_Label_836ff34f-b604-4a62-a68c-d6be4205d569_ActionId" - value = "00000000-0000-0000-0000-000000000000" - } - ) - } - downgradeJustification = @{ - justificationMessage = "The information has been declassified." - isDowngradeJustified = $true - } -} - -Test-MgBetaUserSecurityInformationProtectionSensitivityLabelRemoval -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Test-MgBetaUserSecurityInformationProtectionSensitivityLabelRemoval Cmdlet. - diff --git a/src/Beta.Users.Actions/beta/examples/Undo-MgBetaUserChatMessageReplySoftDelete.md b/src/Beta.Users.Actions/beta/examples/Undo-MgBetaUserChatMessageReplySoftDelete.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Undo-MgBetaUserChatMessageReplySoftDelete.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Undo-MgBetaUserChatMessageSoftDelete.md b/src/Beta.Users.Actions/beta/examples/Undo-MgBetaUserChatMessageSoftDelete.md deleted file mode 100644 index 261360d95c..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Undo-MgBetaUserChatMessageSoftDelete.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Undo soft deletion of a message in a chat - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -Undo-MgBetaUserChatMessageSoftDelete -UserId $userId -ChatId $chatId -ChatMessageId $chatMessageId - -``` -This example will undo soft deletion of a message in a chat - diff --git a/src/Beta.Users.Actions/beta/examples/Unpublish-MgBetaUserDriveListContentType.md b/src/Beta.Users.Actions/beta/examples/Unpublish-MgBetaUserDriveListContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Unpublish-MgBetaUserDriveListContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Update-MgBetaUserChatInstalledApp.md b/src/Beta.Users.Actions/beta/examples/Update-MgBetaUserChatInstalledApp.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Update-MgBetaUserChatInstalledApp.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Actions/beta/examples/Update-MgBetaUserPassword.md b/src/Beta.Users.Actions/beta/examples/Update-MgBetaUserPassword.md deleted file mode 100644 index e91fc83d26..0000000000 --- a/src/Beta.Users.Actions/beta/examples/Update-MgBetaUserPassword.md +++ /dev/null @@ -1,17 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Actions - -$params = @{ - currentPassword = "xWwvJ]6NMw+bWH-d" - newPassword = "0eM85N54wFxWwvJ]" -} - -# A UPN can also be used as -UserId. -Update-MgBetaUserPassword -UserId $userId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaUserPassword Cmdlet. - diff --git a/src/Beta.Users.Functions/beta/examples/Find-MgBetaUserRoomList.md b/src/Beta.Users.Functions/beta/examples/Find-MgBetaUserRoomList.md deleted file mode 100644 index bf5747e4d6..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Find-MgBetaUserRoomList.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -# A UPN can also be used as -UserId. -Find-MgBetaUserRoomList -UserId $userId - -``` -This example shows how to use the Find-MgBetaUserRoomList Cmdlet. - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaAllUserOnlineMeetingTranscript.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaAllUserOnlineMeetingTranscript.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaAllUserOnlineMeetingTranscript.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCalendarEventDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCalendarEventDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserChatMessageDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserChatMessageDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserChatMessageDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserChatMessageReplyDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserChatMessageReplyDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserChatMessageReplyDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserChatRetainedMessage.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserChatRetainedMessage.md deleted file mode 100644 index 297f6d4c74..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserChatRetainedMessage.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -Get-MgBetaUserChatRetainedMessage -UserId $userId - -``` -This example shows how to use the Get-MgBetaUserChatRetainedMessage Cmdlet. - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcConnectivityHistory.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcConnectivityHistory.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcConnectivityHistory.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcFrontlineCloudPcAccessState.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcFrontlineCloudPcAccessState.md deleted file mode 100644 index c4152729c3..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcFrontlineCloudPcAccessState.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Get the frontline Cloud PC access state for the signed-in user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -# A UPN can also be used as -UserId. -Get-MgBetaUserCloudPcFrontlineCloudPcAccessState -UserId $userId -CloudPCId $cloudPCId - -``` -This example will get the frontline cloud pc access state for the signed-in user - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcLaunchInfo.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcLaunchInfo.md deleted file mode 100644 index 24caa881e9..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcLaunchInfo.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -# A UPN can also be used as -UserId. -Get-MgBetaUserCloudPcLaunchInfo -UserId $userId -CloudPCId $cloudPCId - -``` -This example shows how to use the Get-MgBetaUserCloudPcLaunchInfo Cmdlet. - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcProvisionedCloudPc.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcProvisionedCloudPc.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcProvisionedCloudPc.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcShiftWorkCloudPcAccessState.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcShiftWorkCloudPcAccessState.md deleted file mode 100644 index 5132d04f25..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcShiftWorkCloudPcAccessState.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -# A UPN can also be used as -UserId. -Get-MgBetaUserCloudPcShiftWorkCloudPcAccessState -UserId $userId -CloudPCId $cloudPCId - -``` -This example shows how to use the Get-MgBetaUserCloudPcShiftWorkCloudPcAccessState Cmdlet. - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcSupportedCloudPcRemoteAction.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcSupportedCloudPcRemoteAction.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserCloudPcSupportedCloudPcRemoteAction.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserContactDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserContactDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserContactFolderChildFolderContactDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserContactFolderChildFolderContactDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserContactFolderChildFolderDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserContactFolderChildFolderDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserContactFolderContactDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserContactFolderContactDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserContactFolderDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserContactFolderDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDelta.md deleted file mode 100644 index 1b59e36646..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDelta.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Default properties - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -Get-MgBetaUserDelta - -``` -This example will default properties - -### Example 2: Selecting three properties - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -Get-MgBetaUserDelta -Property "displayName,jobTitle,mobilePhone" - -``` -This example shows selecting three properties - -### Example 3: Alternative minimal response behavior - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -Get-MgBetaUserDelta -Property "displayName,jobTitle,mobilePhone" - -``` -This example will alternative minimal response behavior - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDeviceDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDeviceDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDeviceDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveItemActivityByInterval.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveItemActivityByInterval.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveItemActivityByInterval.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveItemDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveItemDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveItemDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveListContentTypeCompatibleHubContentType.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveListContentTypeCompatibleHubContentType.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveListContentTypeCompatibleHubContentType.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveListItemDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveListItemDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveListItemDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveRootActivityByInterval.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveRootActivityByInterval.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveRootActivityByInterval.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveRootDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveRootDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserDriveRootDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserEventDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserEventDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserEventInstanceDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserEventInstanceDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserLicenseDetailTeamLicensingDetail.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserLicenseDetailTeamLicensingDetail.md deleted file mode 100644 index 49d3445086..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserLicenseDetailTeamLicensingDetail.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -Get-MgBetaUserLicenseDetailTeamLicensingDetail -UserId $userId - -``` -This example shows how to use the Get-MgBetaUserLicenseDetailTeamLicensingDetail Cmdlet. - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserMailFolderChildFolderDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserMailFolderChildFolderDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserMailFolderChildFolderMessageDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserMailFolderChildFolderMessageDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserMailFolderDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserMailFolderDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserMailFolderMessageDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserMailFolderMessageDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserManagedDeviceCloudPcRemoteActionResult.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserManagedDeviceCloudPcRemoteActionResult.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserManagedDeviceCloudPcRemoteActionResult.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserManagedDeviceCloudPcReviewStatus.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserManagedDeviceCloudPcReviewStatus.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserManagedDeviceCloudPcReviewStatus.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserMessageDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserMessageDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserOnenoteRecentNotebook.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserOnenoteRecentNotebook.md deleted file mode 100644 index 2acf8f7769..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserOnenoteRecentNotebook.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -# A UPN can also be used as -UserId. -Get-MgBetaUserOnenoteRecentNotebook -UserId $userId -IncludePersonalNotebooks $includePersonalNotebooksId - -``` -This example shows how to use the Get-MgBetaUserOnenoteRecentNotebook Cmdlet. - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserOnlineMeetingJoinWebUrlVirtualAppointmentJoinWebUrl.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserOnlineMeetingJoinWebUrlVirtualAppointmentJoinWebUrl.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserOnlineMeetingJoinWebUrlVirtualAppointmentJoinWebUrl.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserOnlineMeetingVirtualAppointmentJoinWebUrl.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserOnlineMeetingVirtualAppointmentJoinWebUrl.md deleted file mode 100644 index 7edbdbe2a8..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserOnlineMeetingVirtualAppointmentJoinWebUrl.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -# A UPN can also be used as -UserId. -Get-MgBetaUserOnlineMeetingVirtualAppointmentJoinWebUrl -UserId $userId -OnlineMeetingId $onlineMeetingId - -``` -This example shows how to use the Get-MgBetaUserOnlineMeetingVirtualAppointmentJoinWebUrl Cmdlet. - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerAllDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerAllDelta.md deleted file mode 100644 index 7357230838..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerAllDelta.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -# A UPN can also be used as -UserId. -Get-MgBetaUserPlannerAllDelta -UserId $userId - -``` -This example shows how to use the Get-MgBetaUserPlannerAllDelta Cmdlet. - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerPlanBucketDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerPlanBucketDelta.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerPlanBucketTaskDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerPlanBucketTaskDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerPlanBucketTaskDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerPlanDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerPlanDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerPlanDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerPlanTaskDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerPlanTaskDelta.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerPlanTaskDelta.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerTaskDelta.md b/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerTaskDelta.md deleted file mode 100644 index 33725b4c03..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Get-MgBetaUserPlannerTaskDelta.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Get delta on tasks assigned to a user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -# A UPN can also be used as -UserId. -Get-MgBetaUserPlannerTaskDelta -UserId $userId - -``` -This example will get delta on tasks assigned to a user - diff --git a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserAppConsentRequestForApprovalByCurrentUser.md b/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserAppConsentRequestForApprovalByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserAppConsentRequestForApprovalByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserAppConsentRequestForApprovalUserConsentRequestByCurrentUser.md b/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserAppConsentRequestForApprovalUserConsentRequestByCurrentUser.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserApprovalByCurrentUser.md b/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserApprovalByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserApprovalByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserPendingAccessReviewInstanceByCurrentUser.md b/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserPendingAccessReviewInstanceByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserPendingAccessReviewInstanceByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserPendingAccessReviewInstanceDecisionByCurrentUser.md b/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserPendingAccessReviewInstanceDecisionByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserPendingAccessReviewInstanceDecisionByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserPendingAccessReviewInstanceStageByCurrentUser.md b/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserPendingAccessReviewInstanceStageByCurrentUser.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaFilterUserPendingAccessReviewInstanceStageByCurrentUser.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaGraphUserDrive.md b/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaGraphUserDrive.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaGraphUserDrive.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaRecentUserDrive.md b/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaRecentUserDrive.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaRecentUserDrive.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaSupportedUserOutlookLanguage.md b/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaSupportedUserOutlookLanguage.md deleted file mode 100644 index 597ff3696b..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaSupportedUserOutlookLanguage.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users.Functions - -# A UPN can also be used as -UserId. -Invoke-MgBetaSupportedUserOutlookLanguage -UserId $userId - -``` -This example shows how to use the Invoke-MgBetaSupportedUserOutlookLanguage Cmdlet. - diff --git a/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaViewUserReminder.md b/src/Beta.Users.Functions/beta/examples/Invoke-MgBetaViewUserReminder.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.Users.Functions/beta/examples/Search-MgBetaUserDrive.md b/src/Beta.Users.Functions/beta/examples/Search-MgBetaUserDrive.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Search-MgBetaUserDrive.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Search-MgBetaUserDriveItem.md b/src/Beta.Users.Functions/beta/examples/Search-MgBetaUserDriveItem.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Search-MgBetaUserDriveItem.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Search-MgBetaUserDriveRoot.md b/src/Beta.Users.Functions/beta/examples/Search-MgBetaUserDriveRoot.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Search-MgBetaUserDriveRoot.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users.Functions/beta/examples/Test-MgBetaUserDriveListContentTypePublished.md b/src/Beta.Users.Functions/beta/examples/Test-MgBetaUserDriveListContentTypePublished.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.Users.Functions/beta/examples/Test-MgBetaUserDriveListContentTypePublished.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.Users/beta/examples/Get-MgBetaUser.md b/src/Beta.Users/beta/examples/Get-MgBetaUser.md deleted file mode 100644 index 6a9831fe68..0000000000 --- a/src/Beta.Users/beta/examples/Get-MgBetaUser.md +++ /dev/null @@ -1,45 +0,0 @@ -### Example 1: Get the properties of the signed-in user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -# A UPN can also be used as -UserId. -Get-MgBetaUser -UserId $userId - -``` -This example will get the properties of the signed-in user - -### Example 2: Get the properties of the specified user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -Get-MgBetaUser -UserId $userId - -``` -This example will get the properties of the specified user - -### Example 3: Get the custom security attribute assignments for a user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -Get-MgBetaUser -UserId $userId -Property "customSecurityAttributes" - -``` -This example will get the custom security attribute assignments for a user - -### Example 4: Get the value of a schema extension for a user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -Get-MgBetaUser -UserId $userId -Property "ext55gb1l09_msLearnCourses" - -``` -This example will get the value of a schema extension for a user - diff --git a/src/Beta.Users/beta/examples/New-MgBetaUser.md b/src/Beta.Users/beta/examples/New-MgBetaUser.md deleted file mode 100644 index a949dc9772..0000000000 --- a/src/Beta.Users/beta/examples/New-MgBetaUser.md +++ /dev/null @@ -1,59 +0,0 @@ -### Example 1: Create a user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -$params = @{ - accountEnabled = $true - displayName = "Adele Vance" - mailNickname = "AdeleV" - userPrincipalName = "AdeleV@contoso.com" - passwordProfile = @{ - forceChangePasswordNextSignIn = $true - password = "xWwvJ]6NMw+bWH-d" - } -} - -New-MgBetaUser -BodyParameter $params - -``` -This example will create a user - -### Example 2: Create a user with social and local account identities - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -$params = @{ - displayName = "John Smith" - identities = @( - @{ - signInType = "userName" - issuer = "contoso.com" - issuerAssignedId = "johnsmith" - } - @{ - signInType = "emailAddress" - issuer = "contoso.com" - issuerAssignedId = "jsmith@yahoo.com" - } - @{ - signInType = "federated" - issuer = "facebook.com" - issuerAssignedId = "5eecb0cd" - } - ) - passwordProfile = @{ - password = "password-value" - forceChangePasswordNextSignIn = $false - } - passwordPolicies = "DisablePasswordExpiration" -} - -New-MgBetaUser -BodyParameter $params - -``` -This example will create a user with social and local account identities - diff --git a/src/Beta.Users/beta/examples/Remove-MgBetaUser.md b/src/Beta.Users/beta/examples/Remove-MgBetaUser.md deleted file mode 100644 index 8b37ec8e99..0000000000 --- a/src/Beta.Users/beta/examples/Remove-MgBetaUser.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -Remove-MgBetaUser -UserId $userId - -``` -This example shows how to use the Remove-MgBetaUser Cmdlet. - diff --git a/src/Beta.Users/beta/examples/Update-MgBetaUser.md b/src/Beta.Users/beta/examples/Update-MgBetaUser.md deleted file mode 100644 index 3dc8a9fc44..0000000000 --- a/src/Beta.Users/beta/examples/Update-MgBetaUser.md +++ /dev/null @@ -1,97 +0,0 @@ -### Example 1: Update properties of the signed-in user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -$params = @{ - businessPhones = @( - "+1 425 555 0109" -) -officeLocation = "18/2111" -} - -# A UPN can also be used as -UserId. -Update-MgBetaUser -UserId $userId -BodyParameter $params - -``` -This example will update properties of the signed-in user - -### Example 2: Update properties of the specified user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -$params = @{ - businessPhones = @( - "+1 425 555 0109" -) -officeLocation = "18/2111" -authorizationInfo = @{ - certificateUserIds = @( - "5432109876543210@mil" -) -} -} - -Update-MgBetaUser -UserId $userId -BodyParameter $params - -``` -This example will update properties of the specified user - -### Example 3: Update the passwordProfile of a user and reset their password - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -$params = @{ - passwordProfile = @{ - forceChangePasswordNextSignIn = $true - password = "xWwvJ]6NMw+bWH-d" - } -} - -Update-MgBetaUser -UserId $userId -BodyParameter $params - -``` -This example will update the passwordprofile of a user and reset their password - -### Example 4: Assign a custom security attribute with a string value to a user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -$params = @{ - customSecurityAttributes = @{ - Engineering = @{ - "@odata.type" = "#Microsoft.DirectoryServices.CustomSecurityAttributeValue" - ProjectDate = "2022-10-01" - } - } -} - -Update-MgBetaUser -UserId $userId -BodyParameter $params - -``` -This example will assign a custom security attribute with a string value to a user - -### Example 5: Add or update the values of a schema extension for a user - -```powershell - -Import-Module Microsoft.Graph.Beta.Users - -$params = @{ - ext55gb1l09_msLearnCourses = @{ - courseType = "Admin" - } -} - -Update-MgBetaUser -UserId $userId -BodyParameter $params - -``` -This example will add or update the values of a schema extension for a user - diff --git a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById.md b/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesDeploymentAudienceMember.md b/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesDeploymentAudienceMember.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesDeploymentAudienceMember.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesDeploymentAudienceMemberById.md b/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesDeploymentAudienceMemberById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesDeploymentAudienceMemberById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceExclusionMember.md b/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceExclusionMember.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceExclusionMember.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceExclusionMemberById.md b/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceExclusionMemberById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceExclusionMemberById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceMember.md b/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceMember.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceMember.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceMemberById.md b/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceMemberById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesPolicyAudienceMemberById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesUpdatableAssetMember.md b/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesUpdatableAssetMember.md deleted file mode 100644 index 6eb2fac2b2..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesUpdatableAssetMember.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.WindowsUpdates - -$params = @{ - assets = @( - @{ - "@odata.type" = "#microsoft.graph.windowsUpdates.azureADDevice" - id = "String (identifier)" - } - ) -} - -Add-MgBetaWindowsUpdatesUpdatableAssetMember -UpdatableAssetId $updatableAssetId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaWindowsUpdatesUpdatableAssetMember Cmdlet. - diff --git a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesUpdatableAssetMemberById.md b/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesUpdatableAssetMemberById.md deleted file mode 100644 index 01128cae22..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Add-MgBetaWindowsUpdatesUpdatableAssetMemberById.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.WindowsUpdates - -$params = @{ - ids = @( - "String" -"String" -"String" -) -memberEntityType = "#microsoft.graph.windowsUpdates.azureADDevice" -} - -Add-MgBetaWindowsUpdatesUpdatableAssetMemberById -UpdatableAssetId $updatableAssetId -BodyParameter $params - -``` -This example shows how to use the Add-MgBetaWindowsUpdatesUpdatableAssetMemberById Cmdlet. - diff --git a/src/Beta.WindowsUpdates/beta/examples/Get-MgBetaWindowsUpdatesProductKnownIssueByTimeRange.md b/src/Beta.WindowsUpdates/beta/examples/Get-MgBetaWindowsUpdatesProductKnownIssueByTimeRange.md deleted file mode 100644 index 073e06f39c..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Get-MgBetaWindowsUpdatesProductKnownIssueByTimeRange.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.WindowsUpdates - -Get-MgBetaWindowsUpdatesProductKnownIssueByTimeRange -ProductId $productId -DaysInPast $daysInPastId -IncludeAllActive $includeAllActiveId - -``` -This example shows how to use the Get-MgBetaWindowsUpdatesProductKnownIssueByTimeRange Cmdlet. - diff --git a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById.md b/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById.md b/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMember.md b/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMember.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMember.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMemberById.md b/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMemberById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMemberById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceMemberById.md b/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceMemberById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceMemberById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesUpdatableAssetMember.md b/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesUpdatableAssetMember.md deleted file mode 100644 index 537dcddd4b..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesUpdatableAssetMember.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.WindowsUpdates - -$params = @{ - assets = @( - @{ - "@odata.type" = "#microsoft.graph.windowsUpdates.azureADDevice" - id = "String (identifier)" - } - ) -} - -Remove-MgBetaWindowsUpdatesUpdatableAssetMember -UpdatableAssetId $updatableAssetId -BodyParameter $params - -``` -This example shows how to use the Remove-MgBetaWindowsUpdatesUpdatableAssetMember Cmdlet. - diff --git a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesUpdatableAssetMemberById.md b/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesUpdatableAssetMemberById.md deleted file mode 100644 index b1a5d6c69f..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesUpdatableAssetMemberById.md +++ /dev/null @@ -1,20 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.WindowsUpdates - -$params = @{ - ids = @( - "String" -"String" -"String" -) -memberEntityType = "#microsoft.graph.windowsUpdates.azureADDevice" -} - -Remove-MgBetaWindowsUpdatesUpdatableAssetMemberById -UpdatableAssetId $updatableAssetId -BodyParameter $params - -``` -This example shows how to use the Remove-MgBetaWindowsUpdatesUpdatableAssetMemberById Cmdlet. - diff --git a/src/Beta.WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesDeploymentAudience.md b/src/Beta.WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesDeploymentAudience.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Beta.WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesDeploymentAudienceById.md b/src/Beta.WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesDeploymentAudienceById.md deleted file mode 100644 index 943935ae4d..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesDeploymentAudienceById.md +++ /dev/null @@ -1,27 +0,0 @@ -### Example 1: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.WindowsUpdates - -$params = @{ - memberEntityType = "String" - addMembers = @( - "String" -) -removeMembers = @( -"String" -) -addExclusions = @( -"String" -) -removeExclusions = @( -"String" -) -} - -Update-MgBetaWindowsUpdatesDeploymentAudienceById -DeploymentId $deploymentId -BodyParameter $params - -``` -This example shows how to use the Update-MgBetaWindowsUpdatesDeploymentAudienceById Cmdlet. - diff --git a/src/Beta.WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesPolicyAudienceById.md b/src/Beta.WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesPolicyAudienceById.md deleted file mode 100644 index 8b13789179..0000000000 --- a/src/Beta.WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesPolicyAudienceById.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/DeviceManagement.Actions/beta/examples/Update-MgBetaDeviceManagementVirtualEndpointOnPremisConnectionAdDomainPassword.md b/src/DeviceManagement.Actions/beta/examples/Update-MgBetaDeviceManagementVirtualEndpointOnPremisConnectionAdDomainPassword.md deleted file mode 100644 index f1dd415d94..0000000000 --- a/src/DeviceManagement.Actions/beta/examples/Update-MgBetaDeviceManagementVirtualEndpointOnPremisConnectionAdDomainPassword.md +++ /dev/null @@ -1,10 +0,0 @@ -### Example 1: Using the Update-MgBetaDeviceManagementVirtualEndpointOnPremisConnectionAdDomainPassword Cmdlet -```powershell -Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions -$params = @{ - AdDomainPassword = "AdDomainPassword value" -} -Update-MgBetaDeviceManagementVirtualEndpointOnPremisConnectionAdDomainPassword -CloudPcOnPremisesConnectionId $cloudPcOnPremisesConnectionId -BodyParameter $params -``` -This example shows how to use the Update-MgBetaDeviceManagementVirtualEndpointOnPremisConnectionAdDomainPassword Cmdlet. -To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/beta/examples/Get-MgBetaGroupMemberByRef.md b/src/Groups/beta/examples/Get-MgBetaGroupMemberByRef.md index e69de29bb2..8b13789179 100644 --- a/src/Groups/beta/examples/Get-MgBetaGroupMemberByRef.md +++ b/src/Groups/beta/examples/Get-MgBetaGroupMemberByRef.md @@ -0,0 +1 @@ + diff --git a/src/Groups/beta/examples/Get-MgBetaGroupMemberGroup.md b/src/Groups/beta/examples/Get-MgBetaGroupMemberGroup.md index e69de29bb2..8b13789179 100644 --- a/src/Groups/beta/examples/Get-MgBetaGroupMemberGroup.md +++ b/src/Groups/beta/examples/Get-MgBetaGroupMemberGroup.md @@ -0,0 +1 @@ + diff --git a/src/Groups/beta/examples/Get-MgBetaGroupOnenoteNotebookFromWebUrl.md b/src/Groups/beta/examples/Get-MgBetaGroupOnenoteNotebookFromWebUrl.md index e69de29bb2..8b13789179 100644 --- a/src/Groups/beta/examples/Get-MgBetaGroupOnenoteNotebookFromWebUrl.md +++ b/src/Groups/beta/examples/Get-MgBetaGroupOnenoteNotebookFromWebUrl.md @@ -0,0 +1 @@ + diff --git a/src/Groups/beta/examples/Get-MgBetaGroupOwnerByRef.md b/src/Groups/beta/examples/Get-MgBetaGroupOwnerByRef.md index e69de29bb2..8b13789179 100644 --- a/src/Groups/beta/examples/Get-MgBetaGroupOwnerByRef.md +++ b/src/Groups/beta/examples/Get-MgBetaGroupOwnerByRef.md @@ -0,0 +1 @@ + diff --git a/src/Groups/beta/examples/Get-MgBetaGroupRejectedSenderByRef.md b/src/Groups/beta/examples/Get-MgBetaGroupRejectedSenderByRef.md index e69de29bb2..8b13789179 100644 --- a/src/Groups/beta/examples/Get-MgBetaGroupRejectedSenderByRef.md +++ b/src/Groups/beta/examples/Get-MgBetaGroupRejectedSenderByRef.md @@ -0,0 +1 @@ + diff --git a/src/Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAssignmentRequest.md index f7f202d316..7531ce2db9 100644 --- a/src/Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAssignmentRequest.md @@ -1,4 +1,4 @@ -### Example scenarios for using query parameters +### Example 1cenario1 for u1ing query parameter1 ```powershell diff --git a/src/Users.Actions/beta/examples/Copy-MgBetaUserDriveListContentTypeToDefaultContentLocation.md b/src/Users.Actions/beta/examples/Copy-MgBetaUserDriveListContentTypeToDefaultContentLocation.md index e69de29bb2..8b13789179 100644 --- a/src/Users.Actions/beta/examples/Copy-MgBetaUserDriveListContentTypeToDefaultContentLocation.md +++ b/src/Users.Actions/beta/examples/Copy-MgBetaUserDriveListContentTypeToDefaultContentLocation.md @@ -0,0 +1 @@ + diff --git a/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolder.md b/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolder.md index e69de29bb2..8b13789179 100644 --- a/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolder.md +++ b/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolder.md @@ -0,0 +1 @@ + diff --git a/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolderMessage.md b/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolderMessage.md index e69de29bb2..8b13789179 100644 --- a/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolderMessage.md +++ b/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderChildFolderMessage.md @@ -0,0 +1 @@ + diff --git a/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderMessage.md b/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderMessage.md index e69de29bb2..8b13789179 100644 --- a/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderMessage.md +++ b/src/Users.Actions/beta/examples/Copy-MgBetaUserMailFolderMessage.md @@ -0,0 +1 @@ + diff --git a/tools/ImportExamples.ps1 b/tools/ImportExamples.ps1 index 7d767483ad..aa2ccb8a4c 100644 --- a/tools/ImportExamples.ps1 +++ b/tools/ImportExamples.ps1 @@ -17,63 +17,71 @@ function Start-Generator { [string] $ProfilePath = "v1.0", [string] $ManualExternalDocsUrl = "https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0&tabs=powershell" ) - - if ($GenerationMode -eq "auto") { - #Test path first - if (Test-Path $CommandMetadataPath) { - $CommandMetadataContent = Get-Content $CommandMetadataPath | ConvertFrom-Json - $CommandMetadataContent | ForEach-Object { - $GraphCommand = $_.Command - $GraphModule = $_.Module - $UriPath = $_.Uri - $ExternalDocsUrl = $_.ApiReferenceLink - $ApiVersion = $_.ApiVersion - $ProfilePathMapping = "v1.0\examples" - if ($ApiVersion -eq "beta") { - $ProfilePathMapping = "beta\examples" - $GraphModule = $GraphModule.Replace("Beta.", "") - } - $ModulePath = Join-Path $PSScriptRoot "..\src\$GraphModule\$ProfilePathMapping" - - $ExampleFile = "$ModulePath\$GraphCommand.md" - Test-Commands -Command $GraphCommand -CommandPath $ExampleFile - if ($null -ne $ExternalDocsUrl) { - if (-not (Test-Path $ExampleFile)) { - New-Item -Path $ExampleFile -ItemType File -Force + try { + if ($GenerationMode -eq "auto") { + #Test path first + if (Test-Path $CommandMetadataPath) { + $CommandMetadataContent = Get-Content $CommandMetadataPath | ConvertFrom-Json + $CommandMetadataContent | ForEach-Object { + $GraphCommand = $_.Command + $GraphModule = $_.Module + $UriPath = $_.Uri + $ExternalDocsUrl = $_.ApiReferenceLink + $ApiVersion = $_.ApiVersion + $ProfilePathMapping = "v1.0\examples" + if ($ApiVersion -eq "beta") { + $ProfilePathMapping = "beta\examples" + $GraphModule = $GraphModule.Replace("Beta.", "") } - $IntuneUrl = $ExternalDocsUrl.Replace("intune-onboarding-", "") - $IntuneUrl = $IntuneUrl.Replace("intune-mam-", "") - $IsValid = IsValidEndPoint -GraphEndpoint $IntuneUrl - if ($IsValid) { - $ExternalDocsUrl = $IntuneUrl + $ModulePath = Join-Path $PSScriptRoot "..\src\$GraphModule\$ProfilePathMapping" + + $ExampleFile = "$ModulePath\$GraphCommand.md" + Write-Host $ExampleFile + Test-Commands -Command $GraphCommand -CommandPath $ExampleFile + if ($null -ne $ExternalDocsUrl) { + if (-not (Test-Path $ExampleFile)) { + New-Item -Path $ExampleFile -ItemType File -Force + } + $IntuneUrl = $ExternalDocsUrl.Replace("intune-onboarding-", "") + $IntuneUrl = $IntuneUrl.Replace("intune-mam-", "") + $IsValid = IsValidEndPoint -GraphEndpoint $IntuneUrl + if ($IsValid) { + $ExternalDocsUrl = $IntuneUrl + } + Start-WebScrapping -GraphProfile $ApiVersion -ExternalDocUrl $ExternalDocsUrl -Command $GraphCommand -GraphProfilePath $ModulePath -UriPath $UriPath -Module $GraphModule } - Start-WebScrapping -GraphProfile $ApiVersion -ExternalDocUrl $ExternalDocsUrl -Command $GraphCommand -GraphProfilePath $ModulePath -UriPath $UriPath -Module $GraphModule - } - else { - if (Test-Path $ExampleFile) { - #Check file content and retain correct examples - $Content = Get-Content -Path $ExampleFile - Clear-Content $ExampleFile -Force - if ($Content | Select-String -pattern $GraphCommand) { - Retain-ExistingCorrectExamples -Content $Content -File $ExampleFile -CommandPattern $GraphCommand - } + else { + if (Test-Path $ExampleFile) { + #Check file content and retain correct examples + $Content = Get-Content -Path $ExampleFile + Clear-Content $ExampleFile -Force + if ($Content | Select-String -pattern $GraphCommand) { + Retain-ExistingCorrectExamples -Content $Content -File $ExampleFile -CommandPattern $GraphCommand + } + } } - } + } + } + else { + Write-Host "The path to the command metadata file is invalid. Please ensure that the path is correct" } } else { - Write-Host "The path to the command metadata file is invalid. Please ensure that the path is correct" - } - } - else { - $ProfilePathMapping = "v1.0\examples" - if ($ProfilePath -eq "beta") { - $ProfilePathMapping = "beta\examples" + $ProfilePathMapping = "v1.0\examples" + if ($ProfilePath -eq "beta") { + $ProfilePathMapping = "beta\examples" + } + $ModulePath = Join-Path $PSScriptRoot "..\src\$GraphModule\$ProfilePathMapping" + Start-WebScrapping -GraphProfile $ProfilePath -ExternalDocUrl $ManualExternalDocsUrl -Command $GraphCommand -GraphProfilePath $ModulePath -Module $GraphModule } - $ModulePath = Join-Path $PSScriptRoot "..\src\$GraphModule\$ProfilePathMapping" - Start-WebScrapping -GraphProfile $ProfilePath -ExternalDocUrl $ManualExternalDocsUrl -Command $GraphCommand -GraphProfilePath $ModulePath -Module $GraphModule + } + catch { + Write-Host "`nError Message: " $_.Exception.Message + Write-Host "`nError in Line: " $_.InvocationInfo.Line + Write-Host "`nError in Line Number: "$_.InvocationInfo.ScriptLineNumber + Write-Host "`nError Item Name: "$_.Exception.ItemName } } function Test-Commands { @@ -137,54 +145,55 @@ function Start-WebScrapping { $ExampleLinks = New-Object -TypeName 'System.Collections.ArrayList'; $Snippets = New-Object -TypeName 'System.Collections.ArrayList'; try { - ($readStream, $HttpWebResponse) = FetchStream -GraphDocsUrl $GraphDocsUrl - - while (-not $readStream.EndOfStream) { - $Line = $readStream.ReadLine() - if ($Line -match "^### Example") { - $H = $HeaderList.Add($Line) - } - if ($Line -match "/includes/snippets/powershell/") { - $Line = $Line.Replace("[!INCLUDE [sample-code](..", "") - $SnippetPath = $Line.Replace(")", "").Replace("]", "") - $SnippetUrl = $GraphDocsUrl.Replace("/api/$LastPathSegment", $SnippetPath) - $E = $ExampleLinks.Add($SnippetUrl) + ($readStream, $HttpWebResponse, $IsSuccess) = FetchStream -GraphDocsUrl $GraphDocsUrl + if ($IsSuccess) { + while (-not $readStream.EndOfStream) { + $Line = $readStream.ReadLine() + if ($Line -match "^### Example") { + $H = $HeaderList.Add($Line) + } + if ($Line -match "/includes/snippets/powershell/") { + $Line = $Line.Replace("[!INCLUDE [sample-code](..", "") + $SnippetPath = $Line.Replace(")", "").Replace("]", "") + $SnippetUrl = $GraphDocsUrl.Replace("/api/$LastPathSegment", $SnippetPath) + $E = $ExampleLinks.Add($SnippetUrl) + } } - } - $HttpWebResponse.Close() - $readStream.Close() + $HttpWebResponse.Close() + $readStream.Close() - foreach ($Link in $ExampleLinks) { - $ConstructedSnippet = ""; + foreach ($Link in $ExampleLinks) { + $ConstructedSnippet = ""; ($Rs, $HttpResponse) = FetchStream -GraphDocsUrl $Link - while (-not $Rs.EndOfStream) { - $Snippet = $Rs.ReadLine() + while (-not $Rs.EndOfStream) { + $Snippet = $Rs.ReadLine() - #Write-Host $desc - $Snippet = $Snippet.Replace("---", "") - $Snippet = $Snippet.Replace('description: "Automatically generated file. DO NOT MODIFY"', "") - $ConstructedSnippet += $Snippet + "`n" + #Write-Host $desc + $Snippet = $Snippet.Replace("---", "") + $Snippet = $Snippet.Replace('description: "Automatically generated file. DO NOT MODIFY"', "") + $ConstructedSnippet += $Snippet + "`n" + } + $S = $Snippets.Add($ConstructedSnippet) } - $S = $Snippets.Add($ConstructedSnippet) - } - if ($HeaderList.Count -ne $Snippets.Count) { - $HeaderList.Clear() - for ($d = 0; $d -lt $Snippets.Count; $d++) { - $sum = $d + 1 - $H = $HeaderList.Add("### Example " + $sum + ": Code snippet".Trim()) + if ($HeaderList.Count -ne $Snippets.Count) { + $HeaderList.Clear() + for ($d = 0; $d -lt $Snippets.Count; $d++) { + $sum = $d + 1 + $H = $HeaderList.Add("### Example " + $sum + ": Code snippet".Trim()) + } } - } - $ExampleFile = "$GraphProfilePath/$Command.md" - $url = $ExternalDocUrl - if ($GraphProfile -eq "beta") { - $url = $url.Replace("graph-rest-1.0", "graph-rest-beta") - } - $DescriptionCommand = $Command - $Description = "This example shows how to use the $DescriptionCommand Cmdlet." + $ExampleFile = "$GraphProfilePath/$Command.md" + $url = $ExternalDocUrl + if ($GraphProfile -eq "beta") { + $url = $url.Replace("graph-rest-1.0", "graph-rest-beta") + } + $DescriptionCommand = $Command + $Description = "This example shows how to use the $DescriptionCommand Cmdlet." - Update-ExampleFile -GraphProfile $GraphProfile -HeaderList $HeaderList -ExampleList $Snippets -ExampleFile $ExampleFile -Description $Description -Command $Command -ExternalDocUrl $url -UriPath $UriPath -Module $Module + Update-ExampleFile -GraphProfile $GraphProfile -HeaderList $HeaderList -ExampleList $Snippets -ExampleFile $ExampleFile -Description $Description -Command $Command -ExternalDocUrl $url -UriPath $UriPath -Module $Module + } } catch { Write-Host "`nError Message: " $_.Exception.Message @@ -223,12 +232,21 @@ function FetchStream { param( [string]$GraphDocsUrl ) - $HttpWebRequest = [System.Net.WebRequest]::Create($GraphDocsUrl) - $HttpWebResponse = $HttpWebRequest.GetResponse() - $ReceiveStream = $HttpWebResponse.GetResponseStream() - $Encode = [System.Text.Encoding]::GetEncoding("utf-8") - $ReadStream = [System.IO.StreamReader]::new($ReceiveStream, $Encode) - return ($ReadStream, $HttpWebResponse) + try { + $HttpWebRequest = [System.Net.WebRequest]::Create($GraphDocsUrl) + $HttpWebResponse = $HttpWebRequest.GetResponse() + $ReceiveStream = $HttpWebResponse.GetResponseStream() + $Encode = [System.Text.Encoding]::GetEncoding("utf-8") + $ReadStream = [System.IO.StreamReader]::new($ReceiveStream, $Encode) + return ($ReadStream, $HttpWebResponse, $True) + } + catch { + return ($null, $null, $False) + Write-Host "`nError Message: " $_.Exception.Message + Write-Host "`nError in Line: " $_.InvocationInfo.Line + Write-Host "`nError in Line Number: "$_.InvocationInfo.ScriptLineNumber + Write-Host "`nError Item Name: "$_.Exception.ItemName + } } function Update-ExampleFile { param(