diff --git a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md index e69de29bb2d..3f1ed3342cb 100644 --- a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md +++ b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md @@ -0,0 +1,11 @@ +### Example + +```powershell + +Import-Module Microsoft.Graph.Beta.Applications + +Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId + +``` +This example will### example + diff --git a/src/Applications/v1.0/examples/Get-MgServicePrincipalSynchronizationTemplate.md b/src/Applications/v1.0/examples/Get-MgServicePrincipalSynchronizationTemplate.md index 5a774ca1e66..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Get-MgServicePrincipalSynchronizationTemplate.md +++ b/src/Applications/v1.0/examples/Get-MgServicePrincipalSynchronizationTemplate.md @@ -1,11 +0,0 @@ -### Example - -```powershell - -Import-Module Microsoft.Graph.Applications - -Get-MgServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId - -``` -This example will### example - diff --git a/src/Bookings/v1.0/examples/Enable-MgBackupRestore.md b/src/Bookings/v1.0/examples/Enable-MgBackupRestore.md index e69de29bb2d..d2c44666d5c 100644 --- a/src/Bookings/v1.0/examples/Enable-MgBackupRestore.md +++ b/src/Bookings/v1.0/examples/Enable-MgBackupRestore.md @@ -0,0 +1,15 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Bookings + +$params = @{ + appOwnerTenantId = "23014d8c-71fe-4d00-a01a-31850bc5b42a" +} + +Enable-MgBackupRestore -BodyParameter $params + +``` +This example shows how to use the Enable-MgBackupRestore Cmdlet. + diff --git a/src/Identity.Governance/v1.0/examples/Get-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/v1.0/examples/Get-MgEntitlementManagementAssignmentPolicy.md index ec60e4236f8..2ea159260ab 100644 --- a/src/Identity.Governance/v1.0/examples/Get-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/v1.0/examples/Get-MgEntitlementManagementAssignmentPolicy.md @@ -1,11 +1,22 @@ -### Example 1: Code snippet +### Example 1: Retrieve a policy ```powershell Import-Module Microsoft.Graph.Identity.Governance -Get-MgEntitlementManagementAssignmentPolicy +Get-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId $accessPackageAssignmentPolicyId ``` -This example shows how to use the Get-MgEntitlementManagementAssignmentPolicy Cmdlet. +This example will retrieve a policy + +### Example 2: Retrieve the custom extension stage settings for a policy + +```powershell + +Import-Module Microsoft.Graph.Identity.Governance + +Get-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId $accessPackageAssignmentPolicyId -ExpandProperty "customExtensionStageSettings(`$expand=customExtension)" + +``` +This example will retrieve the custom extension stage settings for a policy diff --git a/src/Reports/v1.0/examples/Get-MgAdminReportSetting.md b/src/Reports/v1.0/examples/Get-MgAdminReportSetting.md index e69de29bb2d..b8f70cd48d6 100644 --- a/src/Reports/v1.0/examples/Get-MgAdminReportSetting.md +++ b/src/Reports/v1.0/examples/Get-MgAdminReportSetting.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Reports + +Get-MgAdminReportSetting + +``` +This example shows how to use the Get-MgAdminReportSetting Cmdlet. + diff --git a/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScore.md b/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScore.md index e69de29bb2d..5ffa46e25a9 100644 --- a/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScore.md +++ b/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScore.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +Get-MgBetaSecurityPartnerSecurityScore + +``` +This example shows how to use the Get-MgBetaSecurityPartnerSecurityScore Cmdlet. + diff --git a/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreCustomerInsight.md b/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreCustomerInsight.md index e69de29bb2d..f9dfca8fef6 100644 --- a/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreCustomerInsight.md +++ b/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreCustomerInsight.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +Get-MgBetaSecurityPartnerSecurityScoreCustomerInsight + +``` +This example shows how to use the Get-MgBetaSecurityPartnerSecurityScoreCustomerInsight Cmdlet. + diff --git a/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreHistory.md b/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreHistory.md index e69de29bb2d..1db1caf2484 100644 --- a/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreHistory.md +++ b/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreHistory.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +Get-MgBetaSecurityPartnerSecurityScoreHistory + +``` +This example shows how to use the Get-MgBetaSecurityPartnerSecurityScoreHistory Cmdlet. + diff --git a/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreRequirement.md b/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreRequirement.md index e69de29bb2d..d465afbba47 100644 --- a/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreRequirement.md +++ b/src/Security/beta/examples/Get-MgBetaSecurityPartnerSecurityScoreRequirement.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +Get-MgBetaSecurityPartnerSecurityScoreRequirement + +``` +This example shows how to use the Get-MgBetaSecurityPartnerSecurityScoreRequirement Cmdlet. + diff --git a/src/Users.Functions/v1.0/examples/Get-MgAllUserOnlineMeetingRecording.md b/src/Users.Functions/v1.0/examples/Get-MgAllUserOnlineMeetingRecording.md index e69de29bb2d..8b137891791 100644 --- a/src/Users.Functions/v1.0/examples/Get-MgAllUserOnlineMeetingRecording.md +++ b/src/Users.Functions/v1.0/examples/Get-MgAllUserOnlineMeetingRecording.md @@ -0,0 +1 @@ + diff --git a/src/Users.Functions/v1.0/examples/Get-MgAllUserOnlineMeetingTranscript.md b/src/Users.Functions/v1.0/examples/Get-MgAllUserOnlineMeetingTranscript.md index e69de29bb2d..8b137891791 100644 --- a/src/Users.Functions/v1.0/examples/Get-MgAllUserOnlineMeetingTranscript.md +++ b/src/Users.Functions/v1.0/examples/Get-MgAllUserOnlineMeetingTranscript.md @@ -0,0 +1 @@ +