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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
### Example

```powershell

Import-Module Microsoft.Graph.Beta.Applications

Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId

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

Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
### Example 1: Code snippet
### Example 1: Get a list of reading assignment submissions from the last 24 hours

```powershell

Import-Module Microsoft.Graph.Beta.Education

Get-MgBetaEducationReportReadingAssignmentSubmission -Filter "submitDateTime gt 2023-10-10T00:00:00.000Z"
Get-MgBetaEducationReportReadingAssignmentSubmission

```
This example shows how to use the Get-MgBetaEducationReportReadingAssignmentSubmission Cmdlet.
This example will get a list of reading assignment submissions from the last 24 hours

### Example 2: Get a list of the reading assignment submissions for a specific date using $filter

```powershell

Import-Module Microsoft.Graph.Beta.Education

Get-MgBetaEducationReportReadingAssignmentSubmission -Filter "submissionDateTime gt 2023-10-10T00:00:00.000Z and submissionDateTime lt 2023-10-11T00:00:00Z"

```
This example will get a list of the reading assignment submissions for a specific date using $filter

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
### Example 1: Get a list of the Reading Coach passages from the last 24 hours

```powershell

Import-Module Microsoft.Graph.Beta.Education

Get-MgBetaEducationReportReadingCoachPassage

```
This example will get a list of the reading coach passages from the last 24 hours

### Example 2: Get a list of the Reading Coach passages for a specific date using $filter

```powershell

Import-Module Microsoft.Graph.Beta.Education

Get-MgBetaEducationReportReadingCoachPassage -Filter "practicedAtDateTime gt 2025-06-22T00:00:00Z and practicedAtDateTime lt 2025-06-23T00:00:00Z"

```
This example will get a list of the reading coach passages for a specific date using $filter

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

```powershell

Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement

Get-MgBetaAdminPeoplePhotoUpdateSetting

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

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Import-Module Microsoft.Graph.Beta.Identity.SignIns

Get-MgBetaPolicyMobileAppManagementPolicyIncludedGroup -MobilityManagementPolicyId $mobilityManagementPolicyId
Get-MgBetaPolicyMobileAppManagementPolicyIncludedGroup -MobileAppManagementPolicyId $mobileAppManagementPolicyId

```
This example shows how to use the Get-MgBetaPolicyMobileAppManagementPolicyIncludedGroup Cmdlet.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Import-Module Microsoft.Graph.Beta.Identity.SignIns

Get-MgBetaPolicyMobileDeviceManagementPolicyIncludedGroup -MobilityManagementPolicyId $mobilityManagementPolicyId
Get-MgBetaPolicyMobileDeviceManagementPolicyIncludedGroup -MobileDeviceManagementPolicyId $mobileDeviceManagementPolicyId

```
This example shows how to use the Get-MgBetaPolicyMobileDeviceManagementPolicyIncludedGroup Cmdlet.
Expand Down
11 changes: 11 additions & 0 deletions src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessAlert.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Example 1: Code snippet

```powershell

Import-Module Microsoft.Graph.Beta.NetworkAccess

Get-MgBetaNetworkAccessAlert

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

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

```powershell

Import-Module Microsoft.Graph.Beta.NetworkAccess

Get-MgBetaNetworkAccessFilteringProfilePolicy -FilteringProfileId $filteringProfileId -Filter "isof('microsoft.graph.networkaccess.securityProviderPolicyLink')"

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

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

```powershell

Import-Module Microsoft.Graph.Beta.NetworkAccess

Get-MgBetaNetworkAccessThreatIntelligencePolicy

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

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

```powershell

Import-Module Microsoft.Graph.Beta.NetworkAccess

Get-MgBetaNetworkAccessTlExternalCertificateAuthorityCertificate

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

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

```powershell

Import-Module Microsoft.Graph.Beta.NetworkAccess

Get-MgBetaNetworkAccessTlInspectionPolicy

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

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

```powershell

Import-Module Microsoft.Graph.Beta.NetworkAccess

Get-MgBetaNetworkAccessTlInspectionPolicyRule -TlsInspectionPolicyId $tlsInspectionPolicyId

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

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

```powershell

Import-Module Microsoft.Graph.Beta.Reports

Get-MgBetaReportAuthenticationMethodUserEventSummary

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

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

```powershell

Import-Module Microsoft.Graph.Beta.Reports

Get-MgBetaReportAuthenticationMethodUserMfaSignInSummary

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

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

```powershell

Import-Module Microsoft.Graph.Beta.Reports

Get-MgBetaReportAuthenticationMethodUserPasswordResetAndChangeSummary

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
### Example 1: Code snippet

```powershell

Import-Module Microsoft.Graph.Reports

$params = @{
attributeSet = "full"
billingPeriod = "current"
currencyCode = "USD"
}

Export-MgReportPartnerBillingReconciliationUnbilled -BodyParameter $params

```
This example shows how to use the Export-MgReportPartnerBillingReconciliationUnbilled Cmdlet.

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
### Example 1: Code snippet

```powershell

Import-Module Microsoft.Graph.Search

$params = @{
activities = @(
@{
"@odata.type" = "#microsoft.graph.externalConnectors.externalActivity"
type = "created"
startDateTime = [System.DateTime]::Parse("2021-04-06T18:04:31.033Z")
performedBy = @{
type = "user"
id = "1f0c997e-99f7-43f1-8cca-086f8d42be8d"
}
}
)
}

Add-MgExternalConnectionItemActivity -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId -BodyParameter $params

```
This example shows how to use the Add-MgExternalConnectionItemActivity Cmdlet.

11 changes: 11 additions & 0 deletions src/Security/beta/examples/Get-MgBetaSecurityIncidentTask.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Example 1: Code snippet

```powershell

Import-Module Microsoft.Graph.Beta.Security

Get-MgBetaSecurityIncidentTask

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

Loading