diff --git a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md index e69de29bb2d..d05037861a5 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 shows how to use the Get-MgBetaServicePrincipalSynchronizationTemplate Cmdlet. + diff --git a/src/Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationJobSchemaOperator.md b/src/Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationJobSchemaOperator.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationJobSchemaOperator.md +++ b/src/Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationJobSchemaOperator.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationTemplateSchemaOperator.md b/src/Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationTemplateSchemaOperator.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationTemplateSchemaOperator.md +++ b/src/Applications/beta/examples/Invoke-MgBetaFilterApplicationSynchronizationTemplateSchemaOperator.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Invoke-MgBetaFilterServicePrincipalSynchronizationTemplateSchemaOperator.md b/src/Applications/beta/examples/Invoke-MgBetaFilterServicePrincipalSynchronizationTemplateSchemaOperator.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Invoke-MgBetaFilterServicePrincipalSynchronizationTemplateSchemaOperator.md +++ b/src/Applications/beta/examples/Invoke-MgBetaFilterServicePrincipalSynchronizationTemplateSchemaOperator.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationJobSchema.md b/src/Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationJobSchema.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationJobSchema.md +++ b/src/Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationJobSchema.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationTemplateSchema.md b/src/Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationTemplateSchema.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationTemplateSchema.md +++ b/src/Applications/beta/examples/Invoke-MgBetaFunctionApplicationSynchronizationTemplateSchema.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Invoke-MgBetaFunctionServicePrincipalSynchronizationTemplateSchema.md b/src/Applications/beta/examples/Invoke-MgBetaFunctionServicePrincipalSynchronizationTemplateSchema.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Invoke-MgBetaFunctionServicePrincipalSynchronizationTemplateSchema.md +++ b/src/Applications/beta/examples/Invoke-MgBetaFunctionServicePrincipalSynchronizationTemplateSchema.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Remove-MgBetaApplicationByAppId.md b/src/Applications/beta/examples/Remove-MgBetaApplicationByAppId.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Remove-MgBetaApplicationByAppId.md +++ b/src/Applications/beta/examples/Remove-MgBetaApplicationByAppId.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Remove-MgBetaApplicationByUniqueName.md b/src/Applications/beta/examples/Remove-MgBetaApplicationByUniqueName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Remove-MgBetaApplicationByUniqueName.md +++ b/src/Applications/beta/examples/Remove-MgBetaApplicationByUniqueName.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Remove-MgBetaApplicationFederatedIdentityCredentialByName.md b/src/Applications/beta/examples/Remove-MgBetaApplicationFederatedIdentityCredentialByName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Remove-MgBetaApplicationFederatedIdentityCredentialByName.md +++ b/src/Applications/beta/examples/Remove-MgBetaApplicationFederatedIdentityCredentialByName.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Remove-MgBetaServicePrincipalByAppId.md b/src/Applications/beta/examples/Remove-MgBetaServicePrincipalByAppId.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Remove-MgBetaServicePrincipalByAppId.md +++ b/src/Applications/beta/examples/Remove-MgBetaServicePrincipalByAppId.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Remove-MgBetaServicePrincipalOwnerDirectoryObjectByRef.md b/src/Applications/beta/examples/Remove-MgBetaServicePrincipalOwnerDirectoryObjectByRef.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Remove-MgBetaServicePrincipalOwnerDirectoryObjectByRef.md +++ b/src/Applications/beta/examples/Remove-MgBetaServicePrincipalOwnerDirectoryObjectByRef.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Restart-MgBetaApplicationSynchronizationJob.md b/src/Applications/beta/examples/Restart-MgBetaApplicationSynchronizationJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Restart-MgBetaApplicationSynchronizationJob.md +++ b/src/Applications/beta/examples/Restart-MgBetaApplicationSynchronizationJob.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Start-MgBetaApplicationSynchronizationJob.md b/src/Applications/beta/examples/Start-MgBetaApplicationSynchronizationJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Start-MgBetaApplicationSynchronizationJob.md +++ b/src/Applications/beta/examples/Start-MgBetaApplicationSynchronizationJob.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Suspend-MgBetaApplicationSynchronizationJob.md b/src/Applications/beta/examples/Suspend-MgBetaApplicationSynchronizationJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Suspend-MgBetaApplicationSynchronizationJob.md +++ b/src/Applications/beta/examples/Suspend-MgBetaApplicationSynchronizationJob.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Test-MgBetaApplicationSynchronizationJobCredential.md b/src/Applications/beta/examples/Test-MgBetaApplicationSynchronizationJobCredential.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Test-MgBetaApplicationSynchronizationJobCredential.md +++ b/src/Applications/beta/examples/Test-MgBetaApplicationSynchronizationJobCredential.md @@ -1 +0,0 @@ - diff --git a/src/Applications/beta/examples/Update-MgBetaServicePrincipalClaimPolicy.md b/src/Applications/beta/examples/Update-MgBetaServicePrincipalClaimPolicy.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Update-MgBetaServicePrincipalClaimPolicy.md +++ b/src/Applications/beta/examples/Update-MgBetaServicePrincipalClaimPolicy.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Get-MgServicePrincipalSynchronizationTemplate.md b/src/Applications/v1.0/examples/Get-MgServicePrincipalSynchronizationTemplate.md index e69de29bb2d..ce3990f381e 100644 --- a/src/Applications/v1.0/examples/Get-MgServicePrincipalSynchronizationTemplate.md +++ b/src/Applications/v1.0/examples/Get-MgServicePrincipalSynchronizationTemplate.md @@ -0,0 +1,11 @@ +### Example + +```powershell + +Import-Module Microsoft.Graph.Applications + +Get-MgServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId + +``` +This example shows how to use the Get-MgServicePrincipalSynchronizationTemplate Cmdlet. + diff --git a/src/Applications/v1.0/examples/Invoke-MgFilterApplicationSynchronizationJobSchemaOperator.md b/src/Applications/v1.0/examples/Invoke-MgFilterApplicationSynchronizationJobSchemaOperator.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Invoke-MgFilterApplicationSynchronizationJobSchemaOperator.md +++ b/src/Applications/v1.0/examples/Invoke-MgFilterApplicationSynchronizationJobSchemaOperator.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Invoke-MgFilterApplicationSynchronizationTemplateSchemaOperator.md b/src/Applications/v1.0/examples/Invoke-MgFilterApplicationSynchronizationTemplateSchemaOperator.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Invoke-MgFilterApplicationSynchronizationTemplateSchemaOperator.md +++ b/src/Applications/v1.0/examples/Invoke-MgFilterApplicationSynchronizationTemplateSchemaOperator.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Invoke-MgFilterServicePrincipalSynchronizationTemplateSchemaOperator.md b/src/Applications/v1.0/examples/Invoke-MgFilterServicePrincipalSynchronizationTemplateSchemaOperator.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Invoke-MgFilterServicePrincipalSynchronizationTemplateSchemaOperator.md +++ b/src/Applications/v1.0/examples/Invoke-MgFilterServicePrincipalSynchronizationTemplateSchemaOperator.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Invoke-MgFunctionApplicationSynchronizationJobSchema.md b/src/Applications/v1.0/examples/Invoke-MgFunctionApplicationSynchronizationJobSchema.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Invoke-MgFunctionApplicationSynchronizationJobSchema.md +++ b/src/Applications/v1.0/examples/Invoke-MgFunctionApplicationSynchronizationJobSchema.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Invoke-MgFunctionApplicationSynchronizationTemplateSchema.md b/src/Applications/v1.0/examples/Invoke-MgFunctionApplicationSynchronizationTemplateSchema.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Invoke-MgFunctionApplicationSynchronizationTemplateSchema.md +++ b/src/Applications/v1.0/examples/Invoke-MgFunctionApplicationSynchronizationTemplateSchema.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Invoke-MgFunctionServicePrincipalSynchronizationTemplateSchema.md b/src/Applications/v1.0/examples/Invoke-MgFunctionServicePrincipalSynchronizationTemplateSchema.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Invoke-MgFunctionServicePrincipalSynchronizationTemplateSchema.md +++ b/src/Applications/v1.0/examples/Invoke-MgFunctionServicePrincipalSynchronizationTemplateSchema.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Remove-MgApplicationByAppId.md b/src/Applications/v1.0/examples/Remove-MgApplicationByAppId.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Remove-MgApplicationByAppId.md +++ b/src/Applications/v1.0/examples/Remove-MgApplicationByAppId.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Remove-MgApplicationByUniqueName.md b/src/Applications/v1.0/examples/Remove-MgApplicationByUniqueName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Remove-MgApplicationByUniqueName.md +++ b/src/Applications/v1.0/examples/Remove-MgApplicationByUniqueName.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Remove-MgApplicationFederatedIdentityCredentialByName.md b/src/Applications/v1.0/examples/Remove-MgApplicationFederatedIdentityCredentialByName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Remove-MgApplicationFederatedIdentityCredentialByName.md +++ b/src/Applications/v1.0/examples/Remove-MgApplicationFederatedIdentityCredentialByName.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Remove-MgServicePrincipalByAppId.md b/src/Applications/v1.0/examples/Remove-MgServicePrincipalByAppId.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Remove-MgServicePrincipalByAppId.md +++ b/src/Applications/v1.0/examples/Remove-MgServicePrincipalByAppId.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Restart-MgApplicationSynchronizationJob.md b/src/Applications/v1.0/examples/Restart-MgApplicationSynchronizationJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Restart-MgApplicationSynchronizationJob.md +++ b/src/Applications/v1.0/examples/Restart-MgApplicationSynchronizationJob.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Start-MgApplicationSynchronizationJob.md b/src/Applications/v1.0/examples/Start-MgApplicationSynchronizationJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Start-MgApplicationSynchronizationJob.md +++ b/src/Applications/v1.0/examples/Start-MgApplicationSynchronizationJob.md @@ -1 +0,0 @@ - diff --git a/src/Applications/v1.0/examples/Suspend-MgApplicationSynchronizationJob.md b/src/Applications/v1.0/examples/Suspend-MgApplicationSynchronizationJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Applications/v1.0/examples/Suspend-MgApplicationSynchronizationJob.md +++ b/src/Applications/v1.0/examples/Suspend-MgApplicationSynchronizationJob.md @@ -1 +0,0 @@ - diff --git a/src/Bookings/beta/examples/Get-MgBetaVirtualEventTownhallSessionAttendanceReport.md b/src/Bookings/beta/examples/Get-MgBetaVirtualEventTownhallSessionAttendanceReport.md new file mode 100644 index 00000000000..af3b3c23416 --- /dev/null +++ b/src/Bookings/beta/examples/Get-MgBetaVirtualEventTownhallSessionAttendanceReport.md @@ -0,0 +1,11 @@ +### Example 2: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Bookings + +Get-MgBetaVirtualEventTownhallSessionAttendanceReport -VirtualEventTownhallId $virtualEventTownhallId -VirtualEventSessionId $virtualEventSessionId + +``` +This example shows how to use the Get-MgBetaVirtualEventTownhallSessionAttendanceReport Cmdlet. + diff --git a/src/Bookings/beta/examples/New-MgBetaVirtualEventWebinarRegistration.md b/src/Bookings/beta/examples/New-MgBetaVirtualEventWebinarRegistration.md index 7b166d2c07d..f9c293ad5bf 100644 --- a/src/Bookings/beta/examples/New-MgBetaVirtualEventWebinarRegistration.md +++ b/src/Bookings/beta/examples/New-MgBetaVirtualEventWebinarRegistration.md @@ -6,7 +6,7 @@ Import-Module Microsoft.Graph.Beta.Bookings $params = @{ externalRegistrationInformation = @{ - referrer = "Facebook" + referrer = "Fabrikam" registrationId = "myExternalRegistrationId" } preferredTimezone = "Pacific Standard Time" @@ -56,7 +56,7 @@ $params = @{ lastName = "Demoss" email = "DianeDemoss@contoso.com" externalRegistrationInformation = @{ - referrer = "Facebook" + referrer = "Fabrikam" registrationId = "myExternalRegistrationId" } preferredTimezone = "Pacific Standard Time" diff --git a/src/Bookings/beta/examples/Stop-MgBetaBookingBusinessCalendarView.md b/src/Bookings/beta/examples/Stop-MgBetaBookingBusinessCalendarView.md index 8b137891791..e69de29bb2d 100644 --- a/src/Bookings/beta/examples/Stop-MgBetaBookingBusinessCalendarView.md +++ b/src/Bookings/beta/examples/Stop-MgBetaBookingBusinessCalendarView.md @@ -1 +0,0 @@ - diff --git a/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallByUserIdAndRole.md b/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallByUserIdAndRole.md index 8b137891791..e69de29bb2d 100644 --- a/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallByUserIdAndRole.md +++ b/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallByUserIdAndRole.md @@ -1 +0,0 @@ - diff --git a/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallByUserRole.md b/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallByUserRole.md index 8b137891791..e69de29bb2d 100644 --- a/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallByUserRole.md +++ b/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallByUserRole.md @@ -1 +0,0 @@ - diff --git a/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallSessionAttendanceReport.md b/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallSessionAttendanceReport.md new file mode 100644 index 00000000000..4f77a89ef8a --- /dev/null +++ b/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallSessionAttendanceReport.md @@ -0,0 +1,11 @@ +### Example 1: Get the attendance report for a town hall session by ID + +```powershell + +Import-Module Microsoft.Graph.Bookings + +Get-MgVirtualEventTownhallSessionAttendanceReport -VirtualEventTownhallId $virtualEventTownhallId -VirtualEventSessionId $virtualEventSessionId -MeetingAttendanceReportId $meetingAttendanceReportId + +``` +This example will get the attendance report for a town hall session by id + diff --git a/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallSessionAttendanceReportAttendanceRecord.md b/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallSessionAttendanceReportAttendanceRecord.md new file mode 100644 index 00000000000..75f5e8cec63 --- /dev/null +++ b/src/Bookings/v1.0/examples/Get-MgVirtualEventTownhallSessionAttendanceReportAttendanceRecord.md @@ -0,0 +1,11 @@ +### Example 1: List attendance records for the attendance report of a town hall session + +```powershell + +Import-Module Microsoft.Graph.Bookings + +Get-MgVirtualEventTownhallSessionAttendanceReportAttendanceRecord -VirtualEventTownhallId $virtualEventTownhallId -VirtualEventSessionId $virtualEventSessionId -MeetingAttendanceReportId $meetingAttendanceReportId + +``` +This example will list attendance records for the attendance report of a town hall session + diff --git a/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarByUserIdAndRole.md b/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarByUserIdAndRole.md index 8b137891791..e69de29bb2d 100644 --- a/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarByUserIdAndRole.md +++ b/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarByUserIdAndRole.md @@ -1 +0,0 @@ - diff --git a/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarRegistrationByEmail.md b/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarRegistrationByEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarRegistrationByEmail.md +++ b/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarRegistrationByEmail.md @@ -1 +0,0 @@ - diff --git a/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarRegistrationByUserId.md b/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarRegistrationByUserId.md index 8b137891791..e69de29bb2d 100644 --- a/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarRegistrationByUserId.md +++ b/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarRegistrationByUserId.md @@ -1 +0,0 @@ - diff --git a/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarSessionAttendanceReportAttendanceRecord.md b/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarSessionAttendanceReportAttendanceRecord.md new file mode 100644 index 00000000000..45f56e9b9f1 --- /dev/null +++ b/src/Bookings/v1.0/examples/Get-MgVirtualEventWebinarSessionAttendanceReportAttendanceRecord.md @@ -0,0 +1,11 @@ +### Example 2: List attendance records of a webinar session's attendance report + +```powershell + +Import-Module Microsoft.Graph.Bookings + +Get-MgVirtualEventWebinarSessionAttendanceReportAttendanceRecord -VirtualEventWebinarId $virtualEventWebinarId -VirtualEventSessionId $virtualEventSessionId -MeetingAttendanceReportId $meetingAttendanceReportId + +``` +This example will list attendance records of a webinar session's attendance report + diff --git a/src/Bookings/v1.0/examples/New-MgVirtualEventWebinarRegistration.md b/src/Bookings/v1.0/examples/New-MgVirtualEventWebinarRegistration.md index fe83e9c84ac..2aed317a0f4 100644 --- a/src/Bookings/v1.0/examples/New-MgVirtualEventWebinarRegistration.md +++ b/src/Bookings/v1.0/examples/New-MgVirtualEventWebinarRegistration.md @@ -6,7 +6,7 @@ Import-Module Microsoft.Graph.Bookings $params = @{ externalRegistrationInformation = @{ - referrer = "Facebook" + referrer = "Fabrikam" registrationId = "myExternalRegistrationId" } preferredTimezone = "Pacific Standard Time" @@ -56,7 +56,7 @@ $params = @{ lastName = "Demoss" email = "DianeDemoss@contoso.com" externalRegistrationInformation = @{ - referrer = "Facebook" + referrer = "Fabrikam" registrationId = "myExternalRegistrationId" } preferredTimezone = "Pacific Standard Time" diff --git a/src/Bookings/v1.0/examples/Stop-MgBookingBusinessCalendarView.md b/src/Bookings/v1.0/examples/Stop-MgBookingBusinessCalendarView.md index 8b137891791..e69de29bb2d 100644 --- a/src/Bookings/v1.0/examples/Stop-MgBookingBusinessCalendarView.md +++ b/src/Bookings/v1.0/examples/Stop-MgBookingBusinessCalendarView.md @@ -1 +0,0 @@ - diff --git a/src/BusinessScenario/beta/examples/Remove-MgBetaSolutionBusinessScenarioByUniqueName.md b/src/BusinessScenario/beta/examples/Remove-MgBetaSolutionBusinessScenarioByUniqueName.md index 8b137891791..e69de29bb2d 100644 --- a/src/BusinessScenario/beta/examples/Remove-MgBetaSolutionBusinessScenarioByUniqueName.md +++ b/src/BusinessScenario/beta/examples/Remove-MgBetaSolutionBusinessScenarioByUniqueName.md @@ -1 +0,0 @@ - diff --git a/src/BusinessScenario/beta/examples/Update-MgBetaSolutionBusinessScenarioByUniqueName.md b/src/BusinessScenario/beta/examples/Update-MgBetaSolutionBusinessScenarioByUniqueName.md index 8b137891791..e69de29bb2d 100644 --- a/src/BusinessScenario/beta/examples/Update-MgBetaSolutionBusinessScenarioByUniqueName.md +++ b/src/BusinessScenario/beta/examples/Update-MgBetaSolutionBusinessScenarioByUniqueName.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/beta/examples/Get-MgBetaUserCalendarDelta.md b/src/Calendar/beta/examples/Get-MgBetaUserCalendarDelta.md new file mode 100644 index 00000000000..e3d48e14881 --- /dev/null +++ b/src/Calendar/beta/examples/Get-MgBetaUserCalendarDelta.md @@ -0,0 +1,12 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +# A UPN can also be used as -UserId. +Get-MgBetaUserCalendarDelta -UserId $userId + +``` +This example shows how to use the Get-MgBetaUserCalendarDelta Cmdlet. + diff --git a/src/Calendar/beta/examples/Invoke-MgBetaAcceptGroupEvent.md b/src/Calendar/beta/examples/Invoke-MgBetaAcceptGroupEvent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/beta/examples/Invoke-MgBetaAcceptGroupEvent.md +++ b/src/Calendar/beta/examples/Invoke-MgBetaAcceptGroupEvent.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/beta/examples/Invoke-MgBetaAcceptGroupEventTentatively.md b/src/Calendar/beta/examples/Invoke-MgBetaAcceptGroupEventTentatively.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/beta/examples/Invoke-MgBetaAcceptGroupEventTentatively.md +++ b/src/Calendar/beta/examples/Invoke-MgBetaAcceptGroupEventTentatively.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/beta/examples/Invoke-MgBetaDeclineGroupEvent.md b/src/Calendar/beta/examples/Invoke-MgBetaDeclineGroupEvent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/beta/examples/Invoke-MgBetaDeclineGroupEvent.md +++ b/src/Calendar/beta/examples/Invoke-MgBetaDeclineGroupEvent.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/beta/examples/Invoke-MgBetaDismissGroupEventReminder.md b/src/Calendar/beta/examples/Invoke-MgBetaDismissGroupEventReminder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/beta/examples/Invoke-MgBetaDismissGroupEventReminder.md +++ b/src/Calendar/beta/examples/Invoke-MgBetaDismissGroupEventReminder.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/beta/examples/Invoke-MgBetaForwardGroupEvent.md b/src/Calendar/beta/examples/Invoke-MgBetaForwardGroupEvent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/beta/examples/Invoke-MgBetaForwardGroupEvent.md +++ b/src/Calendar/beta/examples/Invoke-MgBetaForwardGroupEvent.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/beta/examples/Invoke-MgBetaSnoozeGroupEventReminder.md b/src/Calendar/beta/examples/Invoke-MgBetaSnoozeGroupEventReminder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/beta/examples/Invoke-MgBetaSnoozeGroupEventReminder.md +++ b/src/Calendar/beta/examples/Invoke-MgBetaSnoozeGroupEventReminder.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/beta/examples/Remove-MgBetaGroupCalendarPermanent.md b/src/Calendar/beta/examples/Remove-MgBetaGroupCalendarPermanent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/beta/examples/Remove-MgBetaGroupCalendarPermanent.md +++ b/src/Calendar/beta/examples/Remove-MgBetaGroupCalendarPermanent.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/beta/examples/Remove-MgBetaGroupEventPermanent.md b/src/Calendar/beta/examples/Remove-MgBetaGroupEventPermanent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/beta/examples/Remove-MgBetaGroupEventPermanent.md +++ b/src/Calendar/beta/examples/Remove-MgBetaGroupEventPermanent.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/beta/examples/Stop-MgBetaGroupEvent.md b/src/Calendar/beta/examples/Stop-MgBetaGroupEvent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/beta/examples/Stop-MgBetaGroupEvent.md +++ b/src/Calendar/beta/examples/Stop-MgBetaGroupEvent.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/beta/examples/Update-MgBetaPlace.md b/src/Calendar/beta/examples/Update-MgBetaPlace.md index 1b69ff06399..6da5d6897fa 100644 --- a/src/Calendar/beta/examples/Update-MgBetaPlace.md +++ b/src/Calendar/beta/examples/Update-MgBetaPlace.md @@ -4,6 +4,75 @@ Import-Module Microsoft.Graph.Beta.Calendar +$params = @{ + "@odata.type" = "microsoft.graph.building" + tags = @( + "most popular building" +) +} + +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.floor" + isWheelChairAccessible = $true + sortOrder = +} + +Update-MgBetaPlace -PlaceId $placeId -BodyParameter $params + +``` +This example shows how to use the Update-MgBetaPlace Cmdlet. + +### Example 3: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +$params = @{ + "@odata.type" = "microsoft.graph.section" + label = "discuss area" +} + +Update-MgBetaPlace -PlaceId $placeId -BodyParameter $params + +``` +This example shows how to use the Update-MgBetaPlace Cmdlet. + +### Example 4: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +$params = @{ + "@odata.type" = "microsoft.graph.desk" + mode = @{ + "@odata.type" = "microsoft.graph.dropInPlaceMode" + } +} + +Update-MgBetaPlace -PlaceId $placeId -BodyParameter $params + +``` +This example shows how to use the Update-MgBetaPlace Cmdlet. + +### Example 5: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + $params = @{ "@odata.type" = "microsoft.graph.room" nickname = "Conf Room" @@ -18,7 +87,7 @@ Update-MgBetaPlace -PlaceId $placeId -BodyParameter $params ``` This example shows how to use the Update-MgBetaPlace Cmdlet. -### Example 2: Code snippet +### Example 6: Code snippet ```powershell diff --git a/src/Calendar/v1.0/examples/Invoke-MgAcceptGroupEvent.md b/src/Calendar/v1.0/examples/Invoke-MgAcceptGroupEvent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/v1.0/examples/Invoke-MgAcceptGroupEvent.md +++ b/src/Calendar/v1.0/examples/Invoke-MgAcceptGroupEvent.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/v1.0/examples/Invoke-MgAcceptGroupEventTentatively.md b/src/Calendar/v1.0/examples/Invoke-MgAcceptGroupEventTentatively.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/v1.0/examples/Invoke-MgAcceptGroupEventTentatively.md +++ b/src/Calendar/v1.0/examples/Invoke-MgAcceptGroupEventTentatively.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/v1.0/examples/Invoke-MgDeclineGroupEvent.md b/src/Calendar/v1.0/examples/Invoke-MgDeclineGroupEvent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/v1.0/examples/Invoke-MgDeclineGroupEvent.md +++ b/src/Calendar/v1.0/examples/Invoke-MgDeclineGroupEvent.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/v1.0/examples/Invoke-MgDismissGroupEventReminder.md b/src/Calendar/v1.0/examples/Invoke-MgDismissGroupEventReminder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/v1.0/examples/Invoke-MgDismissGroupEventReminder.md +++ b/src/Calendar/v1.0/examples/Invoke-MgDismissGroupEventReminder.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/v1.0/examples/Invoke-MgForwardGroupEvent.md b/src/Calendar/v1.0/examples/Invoke-MgForwardGroupEvent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/v1.0/examples/Invoke-MgForwardGroupEvent.md +++ b/src/Calendar/v1.0/examples/Invoke-MgForwardGroupEvent.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/v1.0/examples/Invoke-MgSnoozeGroupEventReminder.md b/src/Calendar/v1.0/examples/Invoke-MgSnoozeGroupEventReminder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/v1.0/examples/Invoke-MgSnoozeGroupEventReminder.md +++ b/src/Calendar/v1.0/examples/Invoke-MgSnoozeGroupEventReminder.md @@ -1 +0,0 @@ - diff --git a/src/Calendar/v1.0/examples/Remove-MgUserCalendarPermanent.md b/src/Calendar/v1.0/examples/Remove-MgUserCalendarPermanent.md index e69de29bb2d..ac66894688b 100644 --- a/src/Calendar/v1.0/examples/Remove-MgUserCalendarPermanent.md +++ b/src/Calendar/v1.0/examples/Remove-MgUserCalendarPermanent.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Calendar + +Remove-MgUserCalendarPermanent -UserId $userId + +``` +This example shows how to use the Remove-MgUserCalendarPermanent Cmdlet. + diff --git a/src/Calendar/v1.0/examples/Stop-MgGroupEvent.md b/src/Calendar/v1.0/examples/Stop-MgGroupEvent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Calendar/v1.0/examples/Stop-MgGroupEvent.md +++ b/src/Calendar/v1.0/examples/Stop-MgGroupEvent.md @@ -1 +0,0 @@ - diff --git a/src/CloudCommunications/v1.0/examples/Remove-MgCommunicationCallParticipant.md b/src/CloudCommunications/v1.0/examples/Remove-MgCommunicationCallParticipant.md index 459d897df90..1299df3b4c5 100644 --- a/src/CloudCommunications/v1.0/examples/Remove-MgCommunicationCallParticipant.md +++ b/src/CloudCommunications/v1.0/examples/Remove-MgCommunicationCallParticipant.md @@ -9,7 +9,7 @@ Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participan ``` This example shows how to use the Remove-MgCommunicationCallParticipant Cmdlet. -### Example 2: Code snippet +### Example 3: Code snippet ```powershell diff --git a/src/CloudCommunications/v1.0/examples/Send-MgCommunicationOnlineMeetingVirtualAppointmentReminderSm.md b/src/CloudCommunications/v1.0/examples/Send-MgCommunicationOnlineMeetingVirtualAppointmentReminderSm.md index 8b137891791..e69de29bb2d 100644 --- a/src/CloudCommunications/v1.0/examples/Send-MgCommunicationOnlineMeetingVirtualAppointmentReminderSm.md +++ b/src/CloudCommunications/v1.0/examples/Send-MgCommunicationOnlineMeetingVirtualAppointmentReminderSm.md @@ -1 +0,0 @@ - diff --git a/src/CloudCommunications/v1.0/examples/Send-MgCommunicationOnlineMeetingVirtualAppointmentSm.md b/src/CloudCommunications/v1.0/examples/Send-MgCommunicationOnlineMeetingVirtualAppointmentSm.md index 8b137891791..e69de29bb2d 100644 --- a/src/CloudCommunications/v1.0/examples/Send-MgCommunicationOnlineMeetingVirtualAppointmentSm.md +++ b/src/CloudCommunications/v1.0/examples/Send-MgCommunicationOnlineMeetingVirtualAppointmentSm.md @@ -1 +0,0 @@ - diff --git a/src/CloudCommunications/v1.0/examples/Set-MgCommunicationPresence.md b/src/CloudCommunications/v1.0/examples/Set-MgCommunicationPresence.md index 8b137891791..e69de29bb2d 100644 --- a/src/CloudCommunications/v1.0/examples/Set-MgCommunicationPresence.md +++ b/src/CloudCommunications/v1.0/examples/Set-MgCommunicationPresence.md @@ -1 +0,0 @@ - diff --git a/src/CloudCommunications/v1.0/examples/Set-MgCommunicationPresenceUserPreferredPresence.md b/src/CloudCommunications/v1.0/examples/Set-MgCommunicationPresenceUserPreferredPresence.md index 8b137891791..e69de29bb2d 100644 --- a/src/CloudCommunications/v1.0/examples/Set-MgCommunicationPresenceUserPreferredPresence.md +++ b/src/CloudCommunications/v1.0/examples/Set-MgCommunicationPresenceUserPreferredPresence.md @@ -1 +0,0 @@ - diff --git a/src/DeviceManagement.Enrollment/beta/examples/Remove-MgBetaRoleManagementCloudPcRoleDefinition.md b/src/DeviceManagement.Enrollment/beta/examples/Remove-MgBetaRoleManagementCloudPcRoleDefinition.md index e565749bcb7..9596631708f 100644 --- a/src/DeviceManagement.Enrollment/beta/examples/Remove-MgBetaRoleManagementCloudPcRoleDefinition.md +++ b/src/DeviceManagement.Enrollment/beta/examples/Remove-MgBetaRoleManagementCloudPcRoleDefinition.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 2: Code snippet ```powershell diff --git a/src/DeviceManagement.Enrollment/beta/examples/Remove-MgBetaRoleManagementExchangeRoleAssignment.md b/src/DeviceManagement.Enrollment/beta/examples/Remove-MgBetaRoleManagementExchangeRoleAssignment.md index c2b45747bf7..866d1a3b0ce 100644 --- a/src/DeviceManagement.Enrollment/beta/examples/Remove-MgBetaRoleManagementExchangeRoleAssignment.md +++ b/src/DeviceManagement.Enrollment/beta/examples/Remove-MgBetaRoleManagementExchangeRoleAssignment.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 2: Code snippet ```powershell diff --git a/src/DeviceManagement.Enrollment/beta/examples/Update-MgBetaRoleManagementCloudPcRoleAssignment.md b/src/DeviceManagement.Enrollment/beta/examples/Update-MgBetaRoleManagementCloudPcRoleAssignment.md index 8a3472ef293..c92c47177d0 100644 --- a/src/DeviceManagement.Enrollment/beta/examples/Update-MgBetaRoleManagementCloudPcRoleAssignment.md +++ b/src/DeviceManagement.Enrollment/beta/examples/Update-MgBetaRoleManagementCloudPcRoleAssignment.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 2: Code snippet ```powershell diff --git a/src/DeviceManagement/beta/examples/Publish-MgBetaAdminEdgeInternetExplorerModeSiteList.md b/src/DeviceManagement/beta/examples/Publish-MgBetaAdminEdgeInternetExplorerModeSiteList.md index e69de29bb2d..88e45649068 100644 --- a/src/DeviceManagement/beta/examples/Publish-MgBetaAdminEdgeInternetExplorerModeSiteList.md +++ b/src/DeviceManagement/beta/examples/Publish-MgBetaAdminEdgeInternetExplorerModeSiteList.md @@ -0,0 +1,43 @@ +### Example 1: Publish all sites and shared cookies + +```powershell + +Import-Module Microsoft.Graph.Beta.DeviceManagement + +$params = @{ + revision = "1.0" +} + +Publish-MgBetaAdminEdgeInternetExplorerModeSiteList -BrowserSiteListId $browserSiteListId -BodyParameter $params + +``` +This example will publish all sites and shared cookies + +### Example 2: Publish specific sites and shared cookies + +```powershell + +Import-Module Microsoft.Graph.Beta.DeviceManagement + +$params = @{ + revision = "1.0" + sites = @( + @{ + id = "53e5f971-fc7b-4cd3-a1bf-34d7c0416882" + } + @{ + id = "2e27cc86-3662-447e-b751-274fb9f869ea" + } + ) + sharedCookies = @( + @{ + id = "7f639835-23ab-4793-b1e6-1a06fad127a2" + } + ) +} + +Publish-MgBetaAdminEdgeInternetExplorerModeSiteList -BrowserSiteListId $browserSiteListId -BodyParameter $params + +``` +This example will publish specific sites and shared cookies + diff --git a/src/DeviceManagement/beta/examples/Set-MgBetaDeviceManagementMonitoringAlertRecordPortalNotificationAsSent.md b/src/DeviceManagement/beta/examples/Set-MgBetaDeviceManagementMonitoringAlertRecordPortalNotificationAsSent.md index e69de29bb2d..c12f32da186 100644 --- a/src/DeviceManagement/beta/examples/Set-MgBetaDeviceManagementMonitoringAlertRecordPortalNotificationAsSent.md +++ b/src/DeviceManagement/beta/examples/Set-MgBetaDeviceManagementMonitoringAlertRecordPortalNotificationAsSent.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.DeviceManagement + +Set-MgBetaDeviceManagementMonitoringAlertRecordPortalNotificationAsSent -AlertRecordId $alertRecordId + +``` +This example shows how to use the Set-MgBetaDeviceManagementMonitoringAlertRecordPortalNotificationAsSent Cmdlet. + diff --git a/src/DeviceManagement/v1.0/examples/New-MgDeviceManagementDeviceConfiguration.md b/src/DeviceManagement/v1.0/examples/New-MgDeviceManagementDeviceConfiguration.md index 8c750c5b111..aaa37e5a5ad 100644 --- a/src/DeviceManagement/v1.0/examples/New-MgDeviceManagementDeviceConfiguration.md +++ b/src/DeviceManagement/v1.0/examples/New-MgDeviceManagementDeviceConfiguration.md @@ -5,12 +5,32 @@ Import-Module Microsoft.Graph.DeviceManagement $params = @{ - "@odata.type" = "#microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration" + "@odata.type" = "#microsoft.graph.macOSGeneralDeviceConfiguration" description = "Description value" displayName = "Display Name value" version = 7 - allowSampleSharing = $true - enableExpeditedTelemetryReporting = $true + compliantAppsList = @( + @{ + "@odata.type" = "microsoft.graph.appListItem" + name = "Name value" + publisher = "Publisher value" + appStoreUrl = "https://example.com/appStoreUrl/" + appId = "App Id value" + } + ) + compliantAppListType = "appsInListCompliant" + emailInDomainSuffixes = @( + "Email In Domain Suffixes value" +) +passwordBlockSimple = $true +passwordExpirationDays = +passwordMinimumCharacterSetCount = +passwordMinimumLength = +passwordMinutesOfInactivityBeforeLock = +passwordMinutesOfInactivityBeforeScreenTimeout = +passwordPreviousPasswordBlockCount = +passwordRequiredType = "alphanumeric" +passwordRequired = $true } New-MgDeviceManagementDeviceConfiguration -BodyParameter $params diff --git a/src/DeviceManagement/v1.0/examples/Update-MgDeviceManagementDeviceCompliancePolicy.md b/src/DeviceManagement/v1.0/examples/Update-MgDeviceManagementDeviceCompliancePolicy.md index 917f4b15e53..53388332597 100644 --- a/src/DeviceManagement/v1.0/examples/Update-MgDeviceManagementDeviceCompliancePolicy.md +++ b/src/DeviceManagement/v1.0/examples/Update-MgDeviceManagementDeviceCompliancePolicy.md @@ -5,25 +5,20 @@ Import-Module Microsoft.Graph.DeviceManagement $params = @{ - "@odata.type" = "#microsoft.graph.windows10MobileCompliancePolicy" + "@odata.type" = "#microsoft.graph.windows81CompliancePolicy" description = "Description value" displayName = "Display Name value" version = 7 passwordRequired = $true passwordBlockSimple = $true + passwordExpirationDays = passwordMinimumLength = + passwordMinutesOfInactivityBeforeLock = passwordMinimumCharacterSetCount = passwordRequiredType = "alphanumeric" passwordPreviousPasswordBlockCount = - passwordExpirationDays = - passwordMinutesOfInactivityBeforeLock = - passwordRequireToUnlockFromIdle = $true osMinimumVersion = "Os Minimum Version value" osMaximumVersion = "Os Maximum Version value" - earlyLaunchAntiMalwareDriverEnabled = $true - bitLockerEnabled = $true - secureBootEnabled = $true - codeIntegrityEnabled = $true storageRequireEncryption = $true } diff --git a/src/DeviceManagement/v1.0/examples/Update-MgDeviceManagementDeviceConfiguration.md b/src/DeviceManagement/v1.0/examples/Update-MgDeviceManagementDeviceConfiguration.md index af3178d3a5c..6b78229b0e5 100644 --- a/src/DeviceManagement/v1.0/examples/Update-MgDeviceManagementDeviceConfiguration.md +++ b/src/DeviceManagement/v1.0/examples/Update-MgDeviceManagementDeviceConfiguration.md @@ -5,18 +5,13 @@ Import-Module Microsoft.Graph.DeviceManagement $params = @{ - "@odata.type" = "#microsoft.graph.windows10CustomConfiguration" + "@odata.type" = "#microsoft.graph.macOSCustomConfiguration" description = "Description value" displayName = "Display Name value" version = 7 - omaSettings = @( - @{ - "@odata.type" = "microsoft.graph.omaSetting" - displayName = "Display Name value" - description = "Description value" - omaUri = "Oma Uri value" - } - ) + payloadName = "Payload Name value" + payloadFileName = "Payload File Name value" + payload = "cGF5bG9hZA==" } Update-MgDeviceManagementDeviceConfiguration -DeviceConfigurationId $deviceConfigurationId -BodyParameter $params diff --git a/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintPrinterShareJob.md b/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintPrinterShareJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintPrinterShareJob.md +++ b/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintPrinterShareJob.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintShareJob.md b/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintShareJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintShareJob.md +++ b/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaAbortPrintShareJob.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintPrinterShareJob.md b/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintPrinterShareJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintPrinterShareJob.md +++ b/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintPrinterShareJob.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintShareJob.md b/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintShareJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintShareJob.md +++ b/src/Devices.CloudPrint/beta/examples/Invoke-MgBetaRedirectPrintShareJob.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterJobDocumentUploadSession.md b/src/Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterJobDocumentUploadSession.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterJobDocumentUploadSession.md +++ b/src/Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterJobDocumentUploadSession.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterShareJobDocumentUploadSession.md b/src/Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterShareJobDocumentUploadSession.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterShareJobDocumentUploadSession.md +++ b/src/Devices.CloudPrint/beta/examples/New-MgBetaPrintPrinterShareJobDocumentUploadSession.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/beta/examples/Stop-MgBetaPrintPrinterShareJob.md b/src/Devices.CloudPrint/beta/examples/Stop-MgBetaPrintPrinterShareJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/beta/examples/Stop-MgBetaPrintPrinterShareJob.md +++ b/src/Devices.CloudPrint/beta/examples/Stop-MgBetaPrintPrinterShareJob.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/beta/examples/Stop-MgBetaPrintShareJob.md b/src/Devices.CloudPrint/beta/examples/Stop-MgBetaPrintShareJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/beta/examples/Stop-MgBetaPrintShareJob.md +++ b/src/Devices.CloudPrint/beta/examples/Stop-MgBetaPrintShareJob.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/v1.0/examples/Invoke-MgAbortPrintShareJob.md b/src/Devices.CloudPrint/v1.0/examples/Invoke-MgAbortPrintShareJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/v1.0/examples/Invoke-MgAbortPrintShareJob.md +++ b/src/Devices.CloudPrint/v1.0/examples/Invoke-MgAbortPrintShareJob.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/v1.0/examples/Invoke-MgRedirectPrintShareJob.md b/src/Devices.CloudPrint/v1.0/examples/Invoke-MgRedirectPrintShareJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/v1.0/examples/Invoke-MgRedirectPrintShareJob.md +++ b/src/Devices.CloudPrint/v1.0/examples/Invoke-MgRedirectPrintShareJob.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/v1.0/examples/New-MgPrintShareJobDocumentUploadSession.md b/src/Devices.CloudPrint/v1.0/examples/New-MgPrintShareJobDocumentUploadSession.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/v1.0/examples/New-MgPrintShareJobDocumentUploadSession.md +++ b/src/Devices.CloudPrint/v1.0/examples/New-MgPrintShareJobDocumentUploadSession.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/v1.0/examples/Start-MgPrintPrinterJob.md b/src/Devices.CloudPrint/v1.0/examples/Start-MgPrintPrinterJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/v1.0/examples/Start-MgPrintPrinterJob.md +++ b/src/Devices.CloudPrint/v1.0/examples/Start-MgPrintPrinterJob.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CloudPrint/v1.0/examples/Stop-MgPrintShareJob.md b/src/Devices.CloudPrint/v1.0/examples/Stop-MgPrintShareJob.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CloudPrint/v1.0/examples/Stop-MgPrintShareJob.md +++ b/src/Devices.CloudPrint/v1.0/examples/Stop-MgPrintShareJob.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgCleanUserManagedDeviceWindowsDevice.md b/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgCleanUserManagedDeviceWindowsDevice.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgCleanUserManagedDeviceWindowsDevice.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgCleanUserManagedDeviceWindowsDevice.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgDownUserManagedDeviceShut.md b/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgDownUserManagedDeviceShut.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgDownUserManagedDeviceShut.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgDownUserManagedDeviceShut.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgLogoutUserManagedDeviceSharedAppleDeviceActiveUser.md b/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgLogoutUserManagedDeviceSharedAppleDeviceActiveUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgLogoutUserManagedDeviceSharedAppleDeviceActiveUser.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgLogoutUserManagedDeviceSharedAppleDeviceActiveUser.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgRetireUserManagedDevice.md b/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgRetireUserManagedDevice.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgRetireUserManagedDevice.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgRetireUserManagedDevice.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgScanUserManagedDeviceWindowsDefender.md b/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgScanUserManagedDeviceWindowsDefender.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgScanUserManagedDeviceWindowsDefender.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Invoke-MgScanUserManagedDeviceWindowsDefender.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Lock-MgUserManagedDeviceRemote.md b/src/Devices.CorporateManagement/v1.0/examples/Lock-MgUserManagedDeviceRemote.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Lock-MgUserManagedDeviceRemote.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Lock-MgUserManagedDeviceRemote.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/New-MgDeviceAppManagementMobileApp.md b/src/Devices.CorporateManagement/v1.0/examples/New-MgDeviceAppManagementMobileApp.md index 5a7a9098c16..4808e3fcd9e 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/New-MgDeviceAppManagementMobileApp.md +++ b/src/Devices.CorporateManagement/v1.0/examples/New-MgDeviceAppManagementMobileApp.md @@ -5,7 +5,7 @@ Import-Module Microsoft.Graph.Devices.CorporateManagement $params = @{ - "@odata.type" = "#microsoft.graph.windowsAppX" + "@odata.type" = "#microsoft.graph.macOSLobApp" displayName = "Display Name value" description = "Description value" publisher = "Publisher value" @@ -24,18 +24,38 @@ $params = @{ committedContentVersion = "Committed Content Version value" fileName = "File Name value" size = - applicableArchitectures = "x86" - identityName = "Identity Name value" - identityPublisherHash = "Identity Publisher Hash value" - identityResourceIdentifier = "Identity Resource Identifier value" - isBundle = $true + bundleId = "Bundle Id value" minimumSupportedOperatingSystem = @{ - "@odata.type" = "microsoft.graph.windowsMinimumOperatingSystem" - v8_0 = $true - v8_1 = $true - v10_0 = $true + "@odata.type" = "microsoft.graph.macOSMinimumOperatingSystem" + v10_7 = $true + v10_8 = $true + v10_9 = $true + v10_10 = $true + v10_11 = $true + v10_12 = $true + v10_13 = $true + v10_14 = $true + v10_15 = $true + v11_0 = $true + v12_0 = $true + v13_0 = $true } - identityVersion = "Identity Version value" + buildNumber = "Build Number value" + versionNumber = "Version Number value" + childApps = @( + @{ + "@odata.type" = "microsoft.graph.macOSLobChildApp" + bundleId = "Bundle Id value" + buildNumber = "Build Number value" + versionNumber = "Version Number value" + } + ) + md5HashChunkSize = + md5Hash = @( + "Md5Hash value" +) +ignoreVersionDetection = $true +installAsManaged = $true } New-MgDeviceAppManagementMobileApp -BodyParameter $params diff --git a/src/Devices.CorporateManagement/v1.0/examples/Remove-MgUserManagedDeviceUserFromSharedAppleDevice.md b/src/Devices.CorporateManagement/v1.0/examples/Remove-MgUserManagedDeviceUserFromSharedAppleDevice.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Remove-MgUserManagedDeviceUserFromSharedAppleDevice.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Remove-MgUserManagedDeviceUserFromSharedAppleDevice.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Request-MgUserManagedDeviceRemoteAssistance.md b/src/Devices.CorporateManagement/v1.0/examples/Request-MgUserManagedDeviceRemoteAssistance.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Request-MgUserManagedDeviceRemoteAssistance.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Request-MgUserManagedDeviceRemoteAssistance.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Reset-MgUserManagedDevicePasscode.md b/src/Devices.CorporateManagement/v1.0/examples/Reset-MgUserManagedDevicePasscode.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Reset-MgUserManagedDevicePasscode.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Reset-MgUserManagedDevicePasscode.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Restart-MgUserManagedDeviceNow.md b/src/Devices.CorporateManagement/v1.0/examples/Restart-MgUserManagedDeviceNow.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Restart-MgUserManagedDeviceNow.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Restart-MgUserManagedDeviceNow.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Restore-MgUserManagedDevicePasscode.md b/src/Devices.CorporateManagement/v1.0/examples/Restore-MgUserManagedDevicePasscode.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Restore-MgUserManagedDevicePasscode.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Restore-MgUserManagedDevicePasscode.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Skip-MgUserManagedDeviceActivationLock.md b/src/Devices.CorporateManagement/v1.0/examples/Skip-MgUserManagedDeviceActivationLock.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Skip-MgUserManagedDeviceActivationLock.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Skip-MgUserManagedDeviceActivationLock.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Sync-MgUserManagedDevice.md b/src/Devices.CorporateManagement/v1.0/examples/Sync-MgUserManagedDevice.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Sync-MgUserManagedDevice.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Sync-MgUserManagedDevice.md @@ -1 +0,0 @@ - diff --git a/src/Devices.CorporateManagement/v1.0/examples/Update-MgDeviceAppManagementManagedEBookAssignment.md b/src/Devices.CorporateManagement/v1.0/examples/Update-MgDeviceAppManagementManagedEBookAssignment.md index cccce087c1b..c7d18f2c70d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Update-MgDeviceAppManagementManagedEBookAssignment.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Update-MgDeviceAppManagementManagedEBookAssignment.md @@ -5,9 +5,9 @@ Import-Module Microsoft.Graph.Devices.CorporateManagement $params = @{ - "@odata.type" = "#microsoft.graph.iosVppEBookAssignment" + "@odata.type" = "#microsoft.graph.managedEBookAssignment" target = @{ - "@odata.type" = "microsoft.graph.deviceAndAppManagementAssignmentTarget" + "@odata.type" = "microsoft.graph.allLicensedUsersAssignmentTarget" } installIntent = "required" } diff --git a/src/Devices.CorporateManagement/v1.0/examples/Update-MgDeviceAppManagementMobileApp.md b/src/Devices.CorporateManagement/v1.0/examples/Update-MgDeviceAppManagementMobileApp.md index 103aa353091..3c8e5e53bcf 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Update-MgDeviceAppManagementMobileApp.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Update-MgDeviceAppManagementMobileApp.md @@ -5,7 +5,7 @@ Import-Module Microsoft.Graph.Devices.CorporateManagement $params = @{ - "@odata.type" = "#microsoft.graph.win32LobApp" + "@odata.type" = "#microsoft.graph.iosVppApp" displayName = "Display Name value" description = "Description value" publisher = "Publisher value" @@ -21,52 +21,24 @@ $params = @{ developer = "Developer value" notes = "Notes value" publishingState = "processing" - committedContentVersion = "Committed Content Version value" - fileName = "File Name value" - size = - installCommandLine = "Install Command Line value" - uninstallCommandLine = "Uninstall Command Line value" - applicableArchitectures = "x86" - minimumFreeDiskSpaceInMB = - minimumMemoryInMB = - minimumNumberOfProcessors = - minimumCpuSpeedInMHz = - rules = @( - @{ - "@odata.type" = "microsoft.graph.win32LobAppRegistryRule" - ruleType = "requirement" - check32BitOn64System = $true - keyPath = "Key Path value" - valueName = "Value Name value" - operationType = "exists" - operator = "equal" - comparisonValue = "Comparison Value value" - } - ) - installExperience = @{ - "@odata.type" = "microsoft.graph.win32LobAppInstallExperience" - runAsAccount = "user" - deviceRestartBehavior = "allow" + usedLicenseCount = + totalLicenseCount = + releaseDateTime = "2017-01-01T00:01:34.7470482-08:00" + appStoreUrl = "https://example.com/appStoreUrl/" + licensingType = @{ + "@odata.type" = "microsoft.graph.vppLicensingType" + supportsUserLicensing = $true + supportsDeviceLicensing = $true } - returnCodes = @( - @{ - "@odata.type" = "microsoft.graph.win32LobAppReturnCode" - returnCode = - type = "success" - } - ) - msiInformation = @{ - "@odata.type" = "microsoft.graph.win32LobAppMsiInformation" - productCode = "Product Code value" - productVersion = "Product Version value" - upgradeCode = "Upgrade Code value" - requiresReboot = $true - packageType = "perUser" - productName = "Product Name value" - publisher = "Publisher value" + applicableDeviceType = @{ + "@odata.type" = "microsoft.graph.iosDeviceType" + iPad = $true + iPhoneAndIPod = $true } - setupFilePath = "Setup File Path value" - minimumSupportedWindowsRelease = "Minimum Supported Windows Release value" + vppTokenOrganizationName = "Vpp Token Organization Name value" + vppTokenAccountType = "education" + vppTokenAppleId = "Vpp Token Apple Id value" + bundleId = "Bundle Id value" } Update-MgDeviceAppManagementMobileApp -MobileAppId $mobileAppId -BodyParameter $params diff --git a/src/Devices.CorporateManagement/v1.0/examples/Update-MgUserManagedDeviceWindowsDeviceAccount.md b/src/Devices.CorporateManagement/v1.0/examples/Update-MgUserManagedDeviceWindowsDeviceAccount.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.CorporateManagement/v1.0/examples/Update-MgUserManagedDeviceWindowsDeviceAccount.md +++ b/src/Devices.CorporateManagement/v1.0/examples/Update-MgUserManagedDeviceWindowsDeviceAccount.md @@ -1 +0,0 @@ - diff --git a/src/Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaReportServiceAnnouncementHealthOverviewIssueIncident.md b/src/Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaReportServiceAnnouncementHealthOverviewIssueIncident.md index 8b137891791..e69de29bb2d 100644 --- a/src/Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaReportServiceAnnouncementHealthOverviewIssueIncident.md +++ b/src/Devices.ServiceAnnouncement/beta/examples/Invoke-MgBetaReportServiceAnnouncementHealthOverviewIssueIncident.md @@ -1 +0,0 @@ - diff --git a/src/DirectoryObjects/beta/examples/Remove-MgBetaDirectoryObject.md b/src/DirectoryObjects/beta/examples/Remove-MgBetaDirectoryObject.md index e69de29bb2d..500b2823e98 100644 --- a/src/DirectoryObjects/beta/examples/Remove-MgBetaDirectoryObject.md +++ b/src/DirectoryObjects/beta/examples/Remove-MgBetaDirectoryObject.md @@ -0,0 +1,11 @@ +### 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/DirectoryObjects/beta/examples/Test-MgBetaDirectoryObjectProperty.md b/src/DirectoryObjects/beta/examples/Test-MgBetaDirectoryObjectProperty.md index e69de29bb2d..55413a375fc 100644 --- a/src/DirectoryObjects/beta/examples/Test-MgBetaDirectoryObjectProperty.md +++ b/src/DirectoryObjects/beta/examples/Test-MgBetaDirectoryObjectProperty.md @@ -0,0 +1,36 @@ +### Example 1: A successful validation request + +```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 will a successful validation request + +### Example 2: An unsuccessful validation request + +```powershell + +Import-Module Microsoft.Graph.Beta.DirectoryObjects + +$params = @{ + entityType = "Group" + displayName = "test" + mailNickname = "test" + onBehalfOfUserId = "onBehalfOfUserId-value" +} + +Test-MgBetaDirectoryObjectProperty -BodyParameter $params + +``` +This example will an unsuccessful validation request + diff --git a/src/DirectoryObjects/v1.0/examples/Remove-MgDirectoryObject.md b/src/DirectoryObjects/v1.0/examples/Remove-MgDirectoryObject.md index e69de29bb2d..31df7220750 100644 --- a/src/DirectoryObjects/v1.0/examples/Remove-MgDirectoryObject.md +++ b/src/DirectoryObjects/v1.0/examples/Remove-MgDirectoryObject.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.DirectoryObjects + +Remove-MgDirectoryObject -DirectoryObjectId $directoryObjectId + +``` +This example shows how to use the Remove-MgDirectoryObject Cmdlet. + diff --git a/src/DirectoryObjects/v1.0/examples/Test-MgDirectoryObjectProperty.md b/src/DirectoryObjects/v1.0/examples/Test-MgDirectoryObjectProperty.md index e69de29bb2d..cfb843ac69b 100644 --- a/src/DirectoryObjects/v1.0/examples/Test-MgDirectoryObjectProperty.md +++ b/src/DirectoryObjects/v1.0/examples/Test-MgDirectoryObjectProperty.md @@ -0,0 +1,36 @@ +### Example 1: A successful validation request + +```powershell + +Import-Module Microsoft.Graph.DirectoryObjects + +$params = @{ + entityType = "Group" + displayName = "Myprefix_test_mysuffix" + mailNickname = "Myprefix_test_mysuffix" + onBehalfOfUserId = "onBehalfOfUserId-value" +} + +Test-MgDirectoryObjectProperty -BodyParameter $params + +``` +This example will a successful validation request + +### Example 2: An unsuccessful validation request + +```powershell + +Import-Module Microsoft.Graph.DirectoryObjects + +$params = @{ + entityType = "Group" + displayName = "test" + mailNickname = "test" + onBehalfOfUserId = "onBehalfOfUserId-value" +} + +Test-MgDirectoryObjectProperty -BodyParameter $params + +``` +This example will an unsuccessful validation request + diff --git a/src/Education/beta/examples/Get-MgBetaEducationReportSpeakerAssignmentSubmission.md b/src/Education/beta/examples/Get-MgBetaEducationReportSpeakerAssignmentSubmission.md index e69de29bb2d..fc9bfa1220f 100644 --- a/src/Education/beta/examples/Get-MgBetaEducationReportSpeakerAssignmentSubmission.md +++ b/src/Education/beta/examples/Get-MgBetaEducationReportSpeakerAssignmentSubmission.md @@ -0,0 +1,22 @@ +### Example 1: Get a list of the speaker assignment submissions from the last 24 hours + +```powershell + +Import-Module Microsoft.Graph.Beta.Education + +Get-MgBetaEducationReportSpeakerAssignmentSubmission + +``` +This example will get a list of the speaker assignment submissions from the last 24 hours + +### Example 2: Get a list of the speaker assignment submissions for a specific date using $filter + +```powershell + +Import-Module Microsoft.Graph.Beta.Education + +Get-MgBetaEducationReportSpeakerAssignmentSubmission -Filter "submissionDateTime gt 2025-05-28T00:00:00Z and submissionDateTime lt 2025-05-29T00:00:00Z" + +``` +This example will get a list of the speaker assignment submissions for a specific date using $filter + diff --git a/src/Education/beta/examples/Initialize-MgBetaEducationMeAssignment.md b/src/Education/beta/examples/Initialize-MgBetaEducationMeAssignment.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Initialize-MgBetaEducationMeAssignment.md +++ b/src/Education/beta/examples/Initialize-MgBetaEducationMeAssignment.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Initialize-MgBetaEducationUserAssignment.md b/src/Education/beta/examples/Initialize-MgBetaEducationUserAssignment.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Initialize-MgBetaEducationUserAssignment.md +++ b/src/Education/beta/examples/Initialize-MgBetaEducationUserAssignment.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Invoke-MgBetaReturnEducationMeAssignmentSubmission.md b/src/Education/beta/examples/Invoke-MgBetaReturnEducationMeAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Invoke-MgBetaReturnEducationMeAssignmentSubmission.md +++ b/src/Education/beta/examples/Invoke-MgBetaReturnEducationMeAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Invoke-MgBetaReturnEducationUserAssignmentSubmission.md b/src/Education/beta/examples/Invoke-MgBetaReturnEducationUserAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Invoke-MgBetaReturnEducationUserAssignmentSubmission.md +++ b/src/Education/beta/examples/Invoke-MgBetaReturnEducationUserAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Invoke-MgBetaUnsubmitEducationMeAssignmentSubmission.md b/src/Education/beta/examples/Invoke-MgBetaUnsubmitEducationMeAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Invoke-MgBetaUnsubmitEducationMeAssignmentSubmission.md +++ b/src/Education/beta/examples/Invoke-MgBetaUnsubmitEducationMeAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Invoke-MgBetaUnsubmitEducationUserAssignmentSubmission.md b/src/Education/beta/examples/Invoke-MgBetaUnsubmitEducationUserAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Invoke-MgBetaUnsubmitEducationUserAssignmentSubmission.md +++ b/src/Education/beta/examples/Invoke-MgBetaUnsubmitEducationUserAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/New-MgBetaEducationClassAssignment.md b/src/Education/beta/examples/New-MgBetaEducationClassAssignment.md index 498c027f710..56f88a096f3 100644 --- a/src/Education/beta/examples/New-MgBetaEducationClassAssignment.md +++ b/src/Education/beta/examples/New-MgBetaEducationClassAssignment.md @@ -5,8 +5,9 @@ Import-Module Microsoft.Graph.Beta.Education $params = @{ - dueDateTime = [System.DateTime]::Parse("2022-09-16T00:00:00Z") - displayName = "Reading test 09.14 Beta" + dueDateTime = [System.DateTime]::Parse("2025-09-16T00:00:00Z") + displayName = "Reading test 09.14" + languageTag = "es-MX" instructions = @{ contentType = "text" content = "Read chapter 4" diff --git a/src/Education/beta/examples/New-MgBetaEducationClassModule.md b/src/Education/beta/examples/New-MgBetaEducationClassModule.md index 215f3e6da08..13f9babac07 100644 --- a/src/Education/beta/examples/New-MgBetaEducationClassModule.md +++ b/src/Education/beta/examples/New-MgBetaEducationClassModule.md @@ -6,6 +6,7 @@ Import-Module Microsoft.Graph.Beta.Education $params = @{ displayName = "Module 2" + languageTag = "en-GB" description = "Description for Module 2" } diff --git a/src/Education/beta/examples/Publish-MgBetaEducationMeAssignment.md b/src/Education/beta/examples/Publish-MgBetaEducationMeAssignment.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Publish-MgBetaEducationMeAssignment.md +++ b/src/Education/beta/examples/Publish-MgBetaEducationMeAssignment.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Publish-MgBetaEducationUserAssignment.md b/src/Education/beta/examples/Publish-MgBetaEducationUserAssignment.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Publish-MgBetaEducationUserAssignment.md +++ b/src/Education/beta/examples/Publish-MgBetaEducationUserAssignment.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Remove-MgBetaEducationClassAssignmentRubric.md b/src/Education/beta/examples/Remove-MgBetaEducationClassAssignmentRubric.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Remove-MgBetaEducationClassAssignmentRubric.md +++ b/src/Education/beta/examples/Remove-MgBetaEducationClassAssignmentRubric.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Set-MgBetaEducationMeAssignmentUpFeedbackResourceFolder.md b/src/Education/beta/examples/Set-MgBetaEducationMeAssignmentUpFeedbackResourceFolder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Set-MgBetaEducationMeAssignmentUpFeedbackResourceFolder.md +++ b/src/Education/beta/examples/Set-MgBetaEducationMeAssignmentUpFeedbackResourceFolder.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Set-MgBetaEducationMeAssignmentUpResourceFolder.md b/src/Education/beta/examples/Set-MgBetaEducationMeAssignmentUpResourceFolder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Set-MgBetaEducationMeAssignmentUpResourceFolder.md +++ b/src/Education/beta/examples/Set-MgBetaEducationMeAssignmentUpResourceFolder.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Set-MgBetaEducationUserAssignmentUpFeedbackResourceFolder.md b/src/Education/beta/examples/Set-MgBetaEducationUserAssignmentUpFeedbackResourceFolder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Set-MgBetaEducationUserAssignmentUpFeedbackResourceFolder.md +++ b/src/Education/beta/examples/Set-MgBetaEducationUserAssignmentUpFeedbackResourceFolder.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Set-MgBetaEducationUserAssignmentUpResourceFolder.md b/src/Education/beta/examples/Set-MgBetaEducationUserAssignmentUpResourceFolder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Set-MgBetaEducationUserAssignmentUpResourceFolder.md +++ b/src/Education/beta/examples/Set-MgBetaEducationUserAssignmentUpResourceFolder.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Submit-MgBetaEducationMeAssignmentSubmission.md b/src/Education/beta/examples/Submit-MgBetaEducationMeAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Submit-MgBetaEducationMeAssignmentSubmission.md +++ b/src/Education/beta/examples/Submit-MgBetaEducationMeAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Submit-MgBetaEducationUserAssignmentSubmission.md b/src/Education/beta/examples/Submit-MgBetaEducationUserAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Submit-MgBetaEducationUserAssignmentSubmission.md +++ b/src/Education/beta/examples/Submit-MgBetaEducationUserAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Update-MgBetaEducationClassAssignment.md b/src/Education/beta/examples/Update-MgBetaEducationClassAssignment.md index 858895f60f7..2f73a938b1c 100644 --- a/src/Education/beta/examples/Update-MgBetaEducationClassAssignment.md +++ b/src/Education/beta/examples/Update-MgBetaEducationClassAssignment.md @@ -12,6 +12,7 @@ $params = @{ } dueDateTime = [System.DateTime]::Parse("2021-09-10T00:00:00Z") addedStudentAction = "none" + languageTag = "pt-BR" addToCalendarAction = "studentsAndPublisher" } diff --git a/src/Education/beta/examples/Update-MgBetaEducationClassAssignmentRubric.md b/src/Education/beta/examples/Update-MgBetaEducationClassAssignmentRubric.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/beta/examples/Update-MgBetaEducationClassAssignmentRubric.md +++ b/src/Education/beta/examples/Update-MgBetaEducationClassAssignmentRubric.md @@ -1 +0,0 @@ - diff --git a/src/Education/beta/examples/Update-MgBetaEducationClassModule.md b/src/Education/beta/examples/Update-MgBetaEducationClassModule.md index b080f844395..73919dbed7e 100644 --- a/src/Education/beta/examples/Update-MgBetaEducationClassModule.md +++ b/src/Education/beta/examples/Update-MgBetaEducationClassModule.md @@ -6,6 +6,7 @@ Import-Module Microsoft.Graph.Beta.Education $params = @{ displayName = "New_Module5 updated" + languageTag = "en-GB" description = "updated for description" } diff --git a/src/Education/beta/examples/Update-MgBetaEducationUser.md b/src/Education/beta/examples/Update-MgBetaEducationUser.md index 33c8acafbef..9754e620d10 100644 --- a/src/Education/beta/examples/Update-MgBetaEducationUser.md +++ b/src/Education/beta/examples/Update-MgBetaEducationUser.md @@ -5,10 +5,22 @@ Import-Module Microsoft.Graph.Beta.Education $params = @{ - displayName = "Rogelio Cazares" - givenName = "Rogelio" - middleName = "Fernando" - surname = "Cazares" + relatedContacts = @( + @{ + displayName = "Father Time" + emailAddress = "father@time.com" + mobilePhone = "4251231234" + relationship = "guardian" + accessConsent = $true + } + @{ + displayName = "Mother Nature" + emailAddress = "mother@nature.co.uk" + mobilePhone = "3251231234" + relationship = "parent" + accessConsent = $true + } + ) } Update-MgBetaEducationUser -EducationUserId $educationUserId -BodyParameter $params diff --git a/src/Education/v1.0/examples/Get-MgEducationClassRecentlyModifiedSubmission.md b/src/Education/v1.0/examples/Get-MgEducationClassRecentlyModifiedSubmission.md new file mode 100644 index 00000000000..6726a0ca59f --- /dev/null +++ b/src/Education/v1.0/examples/Get-MgEducationClassRecentlyModifiedSubmission.md @@ -0,0 +1,88 @@ +### Example 1: Get recently modified submissions + +```powershell + +Import-Module Microsoft.Graph.Education + +Get-MgEducationClassRecentlyModifiedSubmission -EducationClassId $educationClassId + +``` +This example will get recently modified submissions + +### Example 2: Get recently modified submissions with `$select` and `$filter` options on assignmentId property + +```powershell + +Import-Module Microsoft.Graph.Education + +Get-MgEducationClassRecentlyModifiedSubmission -EducationClassId $educationClassId -Filter "assignmentId eq 'b20d6737-f88e-4892-8174-73aa26d18784'" -Property "LastModifiedDateTime,status" + +``` +This example will get recently modified submissions with `$select` and `$filter` options on assignmentid property + +### Example 3: Get recently modified submissions with `$expand` option + +```powershell + +Import-Module Microsoft.Graph.Education + +Get-MgEducationClassRecentlyModifiedSubmission -EducationClassId $educationClassId -ExpandProperty "outcomes" + +``` +This example will get recently modified submissions with `$expand` option + +### Example 4: Get recently modified submissions with `$filter` option + +```powershell + +Import-Module Microsoft.Graph.Education + +Get-MgEducationClassRecentlyModifiedSubmission -EducationClassId $educationClassId -Filter "lastModifiedDateTime gt 2025-04-10T19:02:00.8753517Z" + +``` +This example will get recently modified submissions with `$filter` option + +### Example 5: Get recently modified submissions with `$orderby` and `$top` options + +```powershell + +Import-Module Microsoft.Graph.Education + +Get-MgEducationClassRecentlyModifiedSubmission -EducationClassId $educationClassId -Sort "lastModifiedDateTime" -Top 1 + +``` +This example will get recently modified submissions with `$orderby` and `$top` options + +### Example 6: Get recently modified submissions with `$select` option + +```powershell + +Import-Module Microsoft.Graph.Education + +Get-MgEducationClassRecentlyModifiedSubmission -EducationClassId $educationClassId -Property "excusedDateTime" + +``` +This example will get recently modified submissions with `$select` option + +### Example 7: Get recently modified submissions with `$filter` option for a range on lastModifiedDateTime property + +```powershell + +Import-Module Microsoft.Graph.Education + +Get-MgEducationClassRecentlyModifiedSubmission -EducationClassId $educationClassId -Filter "lastModifiedDateTime gt 2025-04-10T19:02:00.8753517Z and lastModifiedDateTime lt 2025-04-14T23:02:00.8753517Z" + +``` +This example will get recently modified submissions with `$filter` option for a range on lastmodifieddatetime property + +### Example 8: Get recently modified submissions with `$filter` option for lastModifiedDateTime property using less than(lt) operator + +```powershell + +Import-Module Microsoft.Graph.Education + +Get-MgEducationClassRecentlyModifiedSubmission -EducationClassId $educationClassId -Filter "lastModifiedDateTime lt 2025-04-29T15:48:31.3785886Z" + +``` +This example will get recently modified submissions with `$filter` option for lastmodifieddatetime property using less than(lt) operator + diff --git a/src/Education/v1.0/examples/Initialize-MgEducationMeAssignment.md b/src/Education/v1.0/examples/Initialize-MgEducationMeAssignment.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Initialize-MgEducationMeAssignment.md +++ b/src/Education/v1.0/examples/Initialize-MgEducationMeAssignment.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Initialize-MgEducationUserAssignment.md b/src/Education/v1.0/examples/Initialize-MgEducationUserAssignment.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Initialize-MgEducationUserAssignment.md +++ b/src/Education/v1.0/examples/Initialize-MgEducationUserAssignment.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Invoke-MgReturnEducationMeAssignmentSubmission.md b/src/Education/v1.0/examples/Invoke-MgReturnEducationMeAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Invoke-MgReturnEducationMeAssignmentSubmission.md +++ b/src/Education/v1.0/examples/Invoke-MgReturnEducationMeAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Invoke-MgReturnEducationUserAssignmentSubmission.md b/src/Education/v1.0/examples/Invoke-MgReturnEducationUserAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Invoke-MgReturnEducationUserAssignmentSubmission.md +++ b/src/Education/v1.0/examples/Invoke-MgReturnEducationUserAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Invoke-MgUnsubmitEducationMeAssignmentSubmission.md b/src/Education/v1.0/examples/Invoke-MgUnsubmitEducationMeAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Invoke-MgUnsubmitEducationMeAssignmentSubmission.md +++ b/src/Education/v1.0/examples/Invoke-MgUnsubmitEducationMeAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Invoke-MgUnsubmitEducationUserAssignmentSubmission.md b/src/Education/v1.0/examples/Invoke-MgUnsubmitEducationUserAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Invoke-MgUnsubmitEducationUserAssignmentSubmission.md +++ b/src/Education/v1.0/examples/Invoke-MgUnsubmitEducationUserAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Publish-MgEducationMeAssignment.md b/src/Education/v1.0/examples/Publish-MgEducationMeAssignment.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Publish-MgEducationMeAssignment.md +++ b/src/Education/v1.0/examples/Publish-MgEducationMeAssignment.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Publish-MgEducationUserAssignment.md b/src/Education/v1.0/examples/Publish-MgEducationUserAssignment.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Publish-MgEducationUserAssignment.md +++ b/src/Education/v1.0/examples/Publish-MgEducationUserAssignment.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Remove-MgEducationClassAssignmentRubric.md b/src/Education/v1.0/examples/Remove-MgEducationClassAssignmentRubric.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Remove-MgEducationClassAssignmentRubric.md +++ b/src/Education/v1.0/examples/Remove-MgEducationClassAssignmentRubric.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Set-MgEducationMeAssignmentUpFeedbackResourceFolder.md b/src/Education/v1.0/examples/Set-MgEducationMeAssignmentUpFeedbackResourceFolder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Set-MgEducationMeAssignmentUpFeedbackResourceFolder.md +++ b/src/Education/v1.0/examples/Set-MgEducationMeAssignmentUpFeedbackResourceFolder.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Set-MgEducationMeAssignmentUpResourceFolder.md b/src/Education/v1.0/examples/Set-MgEducationMeAssignmentUpResourceFolder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Set-MgEducationMeAssignmentUpResourceFolder.md +++ b/src/Education/v1.0/examples/Set-MgEducationMeAssignmentUpResourceFolder.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Set-MgEducationUserAssignmentUpFeedbackResourceFolder.md b/src/Education/v1.0/examples/Set-MgEducationUserAssignmentUpFeedbackResourceFolder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Set-MgEducationUserAssignmentUpFeedbackResourceFolder.md +++ b/src/Education/v1.0/examples/Set-MgEducationUserAssignmentUpFeedbackResourceFolder.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Set-MgEducationUserAssignmentUpResourceFolder.md b/src/Education/v1.0/examples/Set-MgEducationUserAssignmentUpResourceFolder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Set-MgEducationUserAssignmentUpResourceFolder.md +++ b/src/Education/v1.0/examples/Set-MgEducationUserAssignmentUpResourceFolder.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Submit-MgEducationMeAssignmentSubmission.md b/src/Education/v1.0/examples/Submit-MgEducationMeAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Submit-MgEducationMeAssignmentSubmission.md +++ b/src/Education/v1.0/examples/Submit-MgEducationMeAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Submit-MgEducationUserAssignmentSubmission.md b/src/Education/v1.0/examples/Submit-MgEducationUserAssignmentSubmission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Submit-MgEducationUserAssignmentSubmission.md +++ b/src/Education/v1.0/examples/Submit-MgEducationUserAssignmentSubmission.md @@ -1 +0,0 @@ - diff --git a/src/Education/v1.0/examples/Update-MgEducationClassAssignmentRubric.md b/src/Education/v1.0/examples/Update-MgEducationClassAssignmentRubric.md index 8b137891791..e69de29bb2d 100644 --- a/src/Education/v1.0/examples/Update-MgEducationClassAssignmentRubric.md +++ b/src/Education/v1.0/examples/Update-MgEducationClassAssignmentRubric.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaDriveItemListItemPermission.md b/src/Files/beta/examples/Grant-MgBetaDriveItemListItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaDriveItemListItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaDriveItemListItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaDriveItemPermission.md b/src/Files/beta/examples/Grant-MgBetaDriveItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaDriveItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaDriveItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaDriveListItemPermission.md b/src/Files/beta/examples/Grant-MgBetaDriveListItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaDriveListItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaDriveListItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaDriveListPermission.md b/src/Files/beta/examples/Grant-MgBetaDriveListPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaDriveListPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaDriveListPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaDriveRootListItemPermission.md b/src/Files/beta/examples/Grant-MgBetaDriveRootListItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaDriveRootListItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaDriveRootListItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaDriveRootPermission.md b/src/Files/beta/examples/Grant-MgBetaDriveRootPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaDriveRootPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaDriveRootPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaGroupDriveItemListItemPermission.md b/src/Files/beta/examples/Grant-MgBetaGroupDriveItemListItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaGroupDriveItemListItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaGroupDriveItemListItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaGroupDriveItemPermission.md b/src/Files/beta/examples/Grant-MgBetaGroupDriveItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaGroupDriveItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaGroupDriveItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaGroupDriveListItemPermission.md b/src/Files/beta/examples/Grant-MgBetaGroupDriveListItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaGroupDriveListItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaGroupDriveListItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaGroupDriveListPermission.md b/src/Files/beta/examples/Grant-MgBetaGroupDriveListPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaGroupDriveListPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaGroupDriveListPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaGroupDriveRootListItemPermission.md b/src/Files/beta/examples/Grant-MgBetaGroupDriveRootListItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaGroupDriveRootListItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaGroupDriveRootListItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaGroupDriveRootPermission.md b/src/Files/beta/examples/Grant-MgBetaGroupDriveRootPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaGroupDriveRootPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaGroupDriveRootPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaShareListPermission.md b/src/Files/beta/examples/Grant-MgBetaShareListPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaShareListPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaShareListPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaUserDriveItemListItemPermission.md b/src/Files/beta/examples/Grant-MgBetaUserDriveItemListItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaUserDriveItemListItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaUserDriveItemListItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaUserDriveItemPermission.md b/src/Files/beta/examples/Grant-MgBetaUserDriveItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaUserDriveItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaUserDriveItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaUserDriveListItemPermission.md b/src/Files/beta/examples/Grant-MgBetaUserDriveListItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaUserDriveListItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaUserDriveListItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaUserDriveListPermission.md b/src/Files/beta/examples/Grant-MgBetaUserDriveListPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaUserDriveListPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaUserDriveListPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaUserDriveRootListItemPermission.md b/src/Files/beta/examples/Grant-MgBetaUserDriveRootListItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaUserDriveRootListItemPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaUserDriveRootListItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Grant-MgBetaUserDriveRootPermission.md b/src/Files/beta/examples/Grant-MgBetaUserDriveRootPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Grant-MgBetaUserDriveRootPermission.md +++ b/src/Files/beta/examples/Grant-MgBetaUserDriveRootPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaCheckinDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaCheckinDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaCheckinDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaCheckinDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaCheckinGroupDriveItem.md b/src/Files/beta/examples/Invoke-MgBetaCheckinGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaCheckinGroupDriveItem.md +++ b/src/Files/beta/examples/Invoke-MgBetaCheckinGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaCheckinGroupDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaCheckinGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaCheckinGroupDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaCheckinGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaCheckinUserDriveItem.md b/src/Files/beta/examples/Invoke-MgBetaCheckinUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaCheckinUserDriveItem.md +++ b/src/Files/beta/examples/Invoke-MgBetaCheckinUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaCheckinUserDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaCheckinUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaCheckinUserDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaCheckinUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaCheckoutDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaCheckoutDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaCheckoutDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaCheckoutDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaCheckoutGroupDriveItem.md b/src/Files/beta/examples/Invoke-MgBetaCheckoutGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaCheckoutGroupDriveItem.md +++ b/src/Files/beta/examples/Invoke-MgBetaCheckoutGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaCheckoutGroupDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaCheckoutGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaCheckoutGroupDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaCheckoutGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaCheckoutUserDriveItem.md b/src/Files/beta/examples/Invoke-MgBetaCheckoutUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaCheckoutUserDriveItem.md +++ b/src/Files/beta/examples/Invoke-MgBetaCheckoutUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaCheckoutUserDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaCheckoutUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaCheckoutUserDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaCheckoutUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaFollowDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaFollowDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaFollowDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaFollowDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaFollowGroupDriveItem.md b/src/Files/beta/examples/Invoke-MgBetaFollowGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaFollowGroupDriveItem.md +++ b/src/Files/beta/examples/Invoke-MgBetaFollowGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaFollowGroupDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaFollowGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaFollowGroupDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaFollowGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaFollowUserDriveItem.md b/src/Files/beta/examples/Invoke-MgBetaFollowUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaFollowUserDriveItem.md +++ b/src/Files/beta/examples/Invoke-MgBetaFollowUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaFollowUserDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaFollowUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaFollowUserDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaFollowUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaInviteDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaInviteDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaInviteDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaInviteDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaInviteGroupDriveItem.md b/src/Files/beta/examples/Invoke-MgBetaInviteGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaInviteGroupDriveItem.md +++ b/src/Files/beta/examples/Invoke-MgBetaInviteGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaInviteGroupDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaInviteGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaInviteGroupDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaInviteGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaInviteUserDriveItem.md b/src/Files/beta/examples/Invoke-MgBetaInviteUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaInviteUserDriveItem.md +++ b/src/Files/beta/examples/Invoke-MgBetaInviteUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaInviteUserDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaInviteUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaInviteUserDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaInviteUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveItemSubscription.md b/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveItemSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveItemSubscription.md +++ b/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveItemSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveListSubscription.md b/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveListSubscription.md +++ b/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveRootSubscription.md b/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveRootSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveRootSubscription.md +++ b/src/Files/beta/examples/Invoke-MgBetaReauthorizeDriveRootSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveItemSubscription.md b/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveItemSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveItemSubscription.md +++ b/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveItemSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveListSubscription.md b/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveListSubscription.md +++ b/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveRootSubscription.md b/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveRootSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveRootSubscription.md +++ b/src/Files/beta/examples/Invoke-MgBetaReauthorizeGroupDriveRootSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaReauthorizeShareListSubscription.md b/src/Files/beta/examples/Invoke-MgBetaReauthorizeShareListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaReauthorizeShareListSubscription.md +++ b/src/Files/beta/examples/Invoke-MgBetaReauthorizeShareListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveItemSubscription.md b/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveItemSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveItemSubscription.md +++ b/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveItemSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveListSubscription.md b/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveListSubscription.md +++ b/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveRootSubscription.md b/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveRootSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveRootSubscription.md +++ b/src/Files/beta/examples/Invoke-MgBetaReauthorizeUserDriveRootSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaRecentGroupDrive.md b/src/Files/beta/examples/Invoke-MgBetaRecentGroupDrive.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaRecentGroupDrive.md +++ b/src/Files/beta/examples/Invoke-MgBetaRecentGroupDrive.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaRecentUserDrive.md b/src/Files/beta/examples/Invoke-MgBetaRecentUserDrive.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaRecentUserDrive.md +++ b/src/Files/beta/examples/Invoke-MgBetaRecentUserDrive.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaUnfollowDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaUnfollowDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaUnfollowDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaUnfollowDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaUnfollowGroupDriveItem.md b/src/Files/beta/examples/Invoke-MgBetaUnfollowGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaUnfollowGroupDriveItem.md +++ b/src/Files/beta/examples/Invoke-MgBetaUnfollowGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaUnfollowGroupDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaUnfollowGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaUnfollowGroupDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaUnfollowGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaUnfollowUserDriveItem.md b/src/Files/beta/examples/Invoke-MgBetaUnfollowUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaUnfollowUserDriveItem.md +++ b/src/Files/beta/examples/Invoke-MgBetaUnfollowUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Invoke-MgBetaUnfollowUserDriveRoot.md b/src/Files/beta/examples/Invoke-MgBetaUnfollowUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Invoke-MgBetaUnfollowUserDriveRoot.md +++ b/src/Files/beta/examples/Invoke-MgBetaUnfollowUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Join-MgBetaDriveListContentTypeWithHubSite.md b/src/Files/beta/examples/Join-MgBetaDriveListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Join-MgBetaDriveListContentTypeWithHubSite.md +++ b/src/Files/beta/examples/Join-MgBetaDriveListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Join-MgBetaGroupDriveListContentTypeWithHubSite.md b/src/Files/beta/examples/Join-MgBetaGroupDriveListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Join-MgBetaGroupDriveListContentTypeWithHubSite.md +++ b/src/Files/beta/examples/Join-MgBetaGroupDriveListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Join-MgBetaShareListContentTypeWithHubSite.md b/src/Files/beta/examples/Join-MgBetaShareListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Join-MgBetaShareListContentTypeWithHubSite.md +++ b/src/Files/beta/examples/Join-MgBetaShareListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Join-MgBetaUserDriveListContentTypeWithHubSite.md b/src/Files/beta/examples/Join-MgBetaUserDriveListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Join-MgBetaUserDriveListContentTypeWithHubSite.md +++ b/src/Files/beta/examples/Join-MgBetaUserDriveListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Publish-MgBetaDriveListContentType.md b/src/Files/beta/examples/Publish-MgBetaDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Publish-MgBetaDriveListContentType.md +++ b/src/Files/beta/examples/Publish-MgBetaDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Publish-MgBetaGroupDriveListContentType.md b/src/Files/beta/examples/Publish-MgBetaGroupDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Publish-MgBetaGroupDriveListContentType.md +++ b/src/Files/beta/examples/Publish-MgBetaGroupDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Publish-MgBetaShareListContentType.md b/src/Files/beta/examples/Publish-MgBetaShareListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Publish-MgBetaShareListContentType.md +++ b/src/Files/beta/examples/Publish-MgBetaShareListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Publish-MgBetaUserDriveListContentType.md b/src/Files/beta/examples/Publish-MgBetaUserDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Publish-MgBetaUserDriveListContentType.md +++ b/src/Files/beta/examples/Publish-MgBetaUserDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Remove-MgBetaDriveRootCheckout.md b/src/Files/beta/examples/Remove-MgBetaDriveRootCheckout.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Remove-MgBetaDriveRootCheckout.md +++ b/src/Files/beta/examples/Remove-MgBetaDriveRootCheckout.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Remove-MgBetaGroupDriveItemCheckout.md b/src/Files/beta/examples/Remove-MgBetaGroupDriveItemCheckout.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Remove-MgBetaGroupDriveItemCheckout.md +++ b/src/Files/beta/examples/Remove-MgBetaGroupDriveItemCheckout.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Remove-MgBetaGroupDriveRootCheckout.md b/src/Files/beta/examples/Remove-MgBetaGroupDriveRootCheckout.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Remove-MgBetaGroupDriveRootCheckout.md +++ b/src/Files/beta/examples/Remove-MgBetaGroupDriveRootCheckout.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Remove-MgBetaUserDriveItemCheckout.md b/src/Files/beta/examples/Remove-MgBetaUserDriveItemCheckout.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Remove-MgBetaUserDriveItemCheckout.md +++ b/src/Files/beta/examples/Remove-MgBetaUserDriveItemCheckout.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Remove-MgBetaUserDriveRootCheckout.md b/src/Files/beta/examples/Remove-MgBetaUserDriveRootCheckout.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Remove-MgBetaUserDriveRootCheckout.md +++ b/src/Files/beta/examples/Remove-MgBetaUserDriveRootCheckout.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaDriveItemListItemDocumentSetVersion.md b/src/Files/beta/examples/Restore-MgBetaDriveItemListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaDriveItemListItemDocumentSetVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaDriveItemListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaDriveListItemDocumentSetVersion.md b/src/Files/beta/examples/Restore-MgBetaDriveListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaDriveListItemDocumentSetVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaDriveListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaDriveRoot.md b/src/Files/beta/examples/Restore-MgBetaDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaDriveRoot.md +++ b/src/Files/beta/examples/Restore-MgBetaDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaDriveRootListItemDocumentSetVersion.md b/src/Files/beta/examples/Restore-MgBetaDriveRootListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaDriveRootListItemDocumentSetVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaDriveRootListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaDriveRootVersion.md b/src/Files/beta/examples/Restore-MgBetaDriveRootVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaDriveRootVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaDriveRootVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaGroupDriveItem.md b/src/Files/beta/examples/Restore-MgBetaGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaGroupDriveItem.md +++ b/src/Files/beta/examples/Restore-MgBetaGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaGroupDriveItemListItemDocumentSetVersion.md b/src/Files/beta/examples/Restore-MgBetaGroupDriveItemListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaGroupDriveItemListItemDocumentSetVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaGroupDriveItemListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaGroupDriveItemVersion.md b/src/Files/beta/examples/Restore-MgBetaGroupDriveItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaGroupDriveItemVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaGroupDriveItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaGroupDriveListItemDocumentSetVersion.md b/src/Files/beta/examples/Restore-MgBetaGroupDriveListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaGroupDriveListItemDocumentSetVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaGroupDriveListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaGroupDriveRoot.md b/src/Files/beta/examples/Restore-MgBetaGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaGroupDriveRoot.md +++ b/src/Files/beta/examples/Restore-MgBetaGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaGroupDriveRootListItemDocumentSetVersion.md b/src/Files/beta/examples/Restore-MgBetaGroupDriveRootListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaGroupDriveRootListItemDocumentSetVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaGroupDriveRootListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaGroupDriveRootVersion.md b/src/Files/beta/examples/Restore-MgBetaGroupDriveRootVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaGroupDriveRootVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaGroupDriveRootVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaShareListItemDocumentSetVersion.md b/src/Files/beta/examples/Restore-MgBetaShareListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaShareListItemDocumentSetVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaShareListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaUserDriveItem.md b/src/Files/beta/examples/Restore-MgBetaUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaUserDriveItem.md +++ b/src/Files/beta/examples/Restore-MgBetaUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaUserDriveItemListItemDocumentSetVersion.md b/src/Files/beta/examples/Restore-MgBetaUserDriveItemListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaUserDriveItemListItemDocumentSetVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaUserDriveItemListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaUserDriveItemVersion.md b/src/Files/beta/examples/Restore-MgBetaUserDriveItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaUserDriveItemVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaUserDriveItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaUserDriveListItemDocumentSetVersion.md b/src/Files/beta/examples/Restore-MgBetaUserDriveListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaUserDriveListItemDocumentSetVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaUserDriveListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaUserDriveRoot.md b/src/Files/beta/examples/Restore-MgBetaUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaUserDriveRoot.md +++ b/src/Files/beta/examples/Restore-MgBetaUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaUserDriveRootListItemDocumentSetVersion.md b/src/Files/beta/examples/Restore-MgBetaUserDriveRootListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaUserDriveRootListItemDocumentSetVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaUserDriveRootListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Restore-MgBetaUserDriveRootVersion.md b/src/Files/beta/examples/Restore-MgBetaUserDriveRootVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Restore-MgBetaUserDriveRootVersion.md +++ b/src/Files/beta/examples/Restore-MgBetaUserDriveRootVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaDriveItemListItemPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaDriveItemListItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaDriveItemListItemPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaDriveItemListItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaDriveListItemPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaDriveListItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaDriveListItemPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaDriveListItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaDriveListPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaDriveListPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaDriveListPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaDriveListPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaDriveRootListItemPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaDriveRootListItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaDriveRootListItemPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaDriveRootListItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaDriveRootPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaDriveRootPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaDriveRootPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaDriveRootPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaGroupDriveItemListItemPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaGroupDriveItemListItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaGroupDriveItemListItemPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaGroupDriveItemListItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaGroupDriveItemPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaGroupDriveItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaGroupDriveItemPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaGroupDriveItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaGroupDriveListItemPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaGroupDriveListItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaGroupDriveListItemPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaGroupDriveListItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaGroupDriveListPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaGroupDriveListPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaGroupDriveListPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaGroupDriveListPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaGroupDriveRootListItemPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaGroupDriveRootListItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaGroupDriveRootListItemPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaGroupDriveRootListItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaGroupDriveRootPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaGroupDriveRootPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaGroupDriveRootPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaGroupDriveRootPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaShareListPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaShareListPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaShareListPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaShareListPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaSharePermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaSharePermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaSharePermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaSharePermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaUserDriveItemListItemPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaUserDriveItemListItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaUserDriveItemListItemPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaUserDriveItemListItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaUserDriveItemPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaUserDriveItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaUserDriveItemPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaUserDriveItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaUserDriveListItemPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaUserDriveListItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaUserDriveListItemPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaUserDriveListItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaUserDriveListPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaUserDriveListPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaUserDriveListPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaUserDriveListPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaUserDriveRootListItemPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaUserDriveRootListItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaUserDriveRootListItemPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaUserDriveRootListItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Revoke-MgBetaUserDriveRootPermissionGrant.md b/src/Files/beta/examples/Revoke-MgBetaUserDriveRootPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Revoke-MgBetaUserDriveRootPermissionGrant.md +++ b/src/Files/beta/examples/Revoke-MgBetaUserDriveRootPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Search-MgBetaDrive.md b/src/Files/beta/examples/Search-MgBetaDrive.md index 4717e3b7046..fc2c7084469 100644 --- a/src/Files/beta/examples/Search-MgBetaDrive.md +++ b/src/Files/beta/examples/Search-MgBetaDrive.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 2: Code snippet ```powershell diff --git a/src/Files/beta/examples/Test-MgBetaDriveListContentTypePublished.md b/src/Files/beta/examples/Test-MgBetaDriveListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Test-MgBetaDriveListContentTypePublished.md +++ b/src/Files/beta/examples/Test-MgBetaDriveListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Test-MgBetaGroupDriveListContentTypePublished.md b/src/Files/beta/examples/Test-MgBetaGroupDriveListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Test-MgBetaGroupDriveListContentTypePublished.md +++ b/src/Files/beta/examples/Test-MgBetaGroupDriveListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Test-MgBetaShareListContentTypePublished.md b/src/Files/beta/examples/Test-MgBetaShareListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Test-MgBetaShareListContentTypePublished.md +++ b/src/Files/beta/examples/Test-MgBetaShareListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Test-MgBetaUserDriveListContentTypePublished.md b/src/Files/beta/examples/Test-MgBetaUserDriveListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Test-MgBetaUserDriveListContentTypePublished.md +++ b/src/Files/beta/examples/Test-MgBetaUserDriveListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Unpublish-MgBetaDriveListContentType.md b/src/Files/beta/examples/Unpublish-MgBetaDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Unpublish-MgBetaDriveListContentType.md +++ b/src/Files/beta/examples/Unpublish-MgBetaDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Unpublish-MgBetaGroupDriveListContentType.md b/src/Files/beta/examples/Unpublish-MgBetaGroupDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Unpublish-MgBetaGroupDriveListContentType.md +++ b/src/Files/beta/examples/Unpublish-MgBetaGroupDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Unpublish-MgBetaShareListContentType.md b/src/Files/beta/examples/Unpublish-MgBetaShareListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Unpublish-MgBetaShareListContentType.md +++ b/src/Files/beta/examples/Unpublish-MgBetaShareListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Unpublish-MgBetaUserDriveListContentType.md b/src/Files/beta/examples/Unpublish-MgBetaUserDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/beta/examples/Unpublish-MgBetaUserDriveListContentType.md +++ b/src/Files/beta/examples/Unpublish-MgBetaUserDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/beta/examples/Update-MgBetaDriveItemRetentionLabel.md b/src/Files/beta/examples/Update-MgBetaDriveItemRetentionLabel.md index 50f0d9d2200..f87bb75b398 100644 --- a/src/Files/beta/examples/Update-MgBetaDriveItemRetentionLabel.md +++ b/src/Files/beta/examples/Update-MgBetaDriveItemRetentionLabel.md @@ -5,7 +5,9 @@ Import-Module Microsoft.Graph.Beta.Files $params = @{ - name = "Retention label for Contracts" + retentionSettings = @{ + isRecordLocked = $true + } } Update-MgBetaDriveItemRetentionLabel -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params diff --git a/src/Files/v1.0/examples/Get-MgShareDriveItem.md b/src/Files/v1.0/examples/Get-MgShareDriveItem.md index 8d026ef1430..17fd2d06a1e 100644 --- a/src/Files/v1.0/examples/Get-MgShareDriveItem.md +++ b/src/Files/v1.0/examples/Get-MgShareDriveItem.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 2: Code snippet ```powershell @@ -9,7 +9,7 @@ Get-MgShareDriveItem -SharedDriveItemId $sharedDriveItemId ``` This example shows how to use the Get-MgShareDriveItem Cmdlet. -### Example 2: Code snippet +### Example 3: Code snippet ```powershell diff --git a/src/Files/v1.0/examples/Get-MgShareListContentTypeCompatibleHubContentType.md b/src/Files/v1.0/examples/Get-MgShareListContentTypeCompatibleHubContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Get-MgShareListContentTypeCompatibleHubContentType.md +++ b/src/Files/v1.0/examples/Get-MgShareListContentTypeCompatibleHubContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Get-MgUserDriveListContentTypeCompatibleHubContentType.md b/src/Files/v1.0/examples/Get-MgUserDriveListContentTypeCompatibleHubContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Get-MgUserDriveListContentTypeCompatibleHubContentType.md +++ b/src/Files/v1.0/examples/Get-MgUserDriveListContentTypeCompatibleHubContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Grant-MgDriveItemPermission.md b/src/Files/v1.0/examples/Grant-MgDriveItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Grant-MgDriveItemPermission.md +++ b/src/Files/v1.0/examples/Grant-MgDriveItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Grant-MgDriveRootPermission.md b/src/Files/v1.0/examples/Grant-MgDriveRootPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Grant-MgDriveRootPermission.md +++ b/src/Files/v1.0/examples/Grant-MgDriveRootPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Grant-MgGroupDriveItemPermission.md b/src/Files/v1.0/examples/Grant-MgGroupDriveItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Grant-MgGroupDriveItemPermission.md +++ b/src/Files/v1.0/examples/Grant-MgGroupDriveItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Grant-MgGroupDriveRootPermission.md b/src/Files/v1.0/examples/Grant-MgGroupDriveRootPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Grant-MgGroupDriveRootPermission.md +++ b/src/Files/v1.0/examples/Grant-MgGroupDriveRootPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Grant-MgUserDriveItemPermission.md b/src/Files/v1.0/examples/Grant-MgUserDriveItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Grant-MgUserDriveItemPermission.md +++ b/src/Files/v1.0/examples/Grant-MgUserDriveItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Grant-MgUserDriveRootPermission.md b/src/Files/v1.0/examples/Grant-MgUserDriveRootPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Grant-MgUserDriveRootPermission.md +++ b/src/Files/v1.0/examples/Grant-MgUserDriveRootPermission.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgCheckinDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgCheckinDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgCheckinDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgCheckinDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgCheckinGroupDriveItem.md b/src/Files/v1.0/examples/Invoke-MgCheckinGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgCheckinGroupDriveItem.md +++ b/src/Files/v1.0/examples/Invoke-MgCheckinGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgCheckinGroupDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgCheckinGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgCheckinGroupDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgCheckinGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgCheckinUserDriveItem.md b/src/Files/v1.0/examples/Invoke-MgCheckinUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgCheckinUserDriveItem.md +++ b/src/Files/v1.0/examples/Invoke-MgCheckinUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgCheckinUserDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgCheckinUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgCheckinUserDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgCheckinUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgCheckoutDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgCheckoutDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgCheckoutDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgCheckoutDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgCheckoutGroupDriveItem.md b/src/Files/v1.0/examples/Invoke-MgCheckoutGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgCheckoutGroupDriveItem.md +++ b/src/Files/v1.0/examples/Invoke-MgCheckoutGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgCheckoutGroupDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgCheckoutGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgCheckoutGroupDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgCheckoutGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgCheckoutUserDriveItem.md b/src/Files/v1.0/examples/Invoke-MgCheckoutUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgCheckoutUserDriveItem.md +++ b/src/Files/v1.0/examples/Invoke-MgCheckoutUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgCheckoutUserDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgCheckoutUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgCheckoutUserDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgCheckoutUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgFollowDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgFollowDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgFollowDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgFollowDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgFollowGroupDriveItem.md b/src/Files/v1.0/examples/Invoke-MgFollowGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgFollowGroupDriveItem.md +++ b/src/Files/v1.0/examples/Invoke-MgFollowGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgFollowGroupDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgFollowGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgFollowGroupDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgFollowGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgFollowUserDriveItem.md b/src/Files/v1.0/examples/Invoke-MgFollowUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgFollowUserDriveItem.md +++ b/src/Files/v1.0/examples/Invoke-MgFollowUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgFollowUserDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgFollowUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgFollowUserDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgFollowUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgInviteDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgInviteDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgInviteDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgInviteDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgInviteGroupDriveItem.md b/src/Files/v1.0/examples/Invoke-MgInviteGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgInviteGroupDriveItem.md +++ b/src/Files/v1.0/examples/Invoke-MgInviteGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgInviteGroupDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgInviteGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgInviteGroupDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgInviteGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgInviteUserDriveItem.md b/src/Files/v1.0/examples/Invoke-MgInviteUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgInviteUserDriveItem.md +++ b/src/Files/v1.0/examples/Invoke-MgInviteUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgInviteUserDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgInviteUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgInviteUserDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgInviteUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveItemSubscription.md b/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveItemSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveItemSubscription.md +++ b/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveItemSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveListSubscription.md b/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveListSubscription.md +++ b/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveRootSubscription.md b/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveRootSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveRootSubscription.md +++ b/src/Files/v1.0/examples/Invoke-MgReauthorizeDriveRootSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveItemSubscription.md b/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveItemSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveItemSubscription.md +++ b/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveItemSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveListSubscription.md b/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveListSubscription.md +++ b/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveRootSubscription.md b/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveRootSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveRootSubscription.md +++ b/src/Files/v1.0/examples/Invoke-MgReauthorizeGroupDriveRootSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgReauthorizeShareListSubscription.md b/src/Files/v1.0/examples/Invoke-MgReauthorizeShareListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgReauthorizeShareListSubscription.md +++ b/src/Files/v1.0/examples/Invoke-MgReauthorizeShareListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveItemSubscription.md b/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveItemSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveItemSubscription.md +++ b/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveItemSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveListSubscription.md b/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveListSubscription.md +++ b/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveRootSubscription.md b/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveRootSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveRootSubscription.md +++ b/src/Files/v1.0/examples/Invoke-MgReauthorizeUserDriveRootSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgRecentGroupDrive.md b/src/Files/v1.0/examples/Invoke-MgRecentGroupDrive.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgRecentGroupDrive.md +++ b/src/Files/v1.0/examples/Invoke-MgRecentGroupDrive.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgRecentUserDrive.md b/src/Files/v1.0/examples/Invoke-MgRecentUserDrive.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgRecentUserDrive.md +++ b/src/Files/v1.0/examples/Invoke-MgRecentUserDrive.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgUnfollowDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgUnfollowDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgUnfollowDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgUnfollowDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgUnfollowGroupDriveItem.md b/src/Files/v1.0/examples/Invoke-MgUnfollowGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgUnfollowGroupDriveItem.md +++ b/src/Files/v1.0/examples/Invoke-MgUnfollowGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgUnfollowGroupDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgUnfollowGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgUnfollowGroupDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgUnfollowGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgUnfollowUserDriveItem.md b/src/Files/v1.0/examples/Invoke-MgUnfollowUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgUnfollowUserDriveItem.md +++ b/src/Files/v1.0/examples/Invoke-MgUnfollowUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Invoke-MgUnfollowUserDriveRoot.md b/src/Files/v1.0/examples/Invoke-MgUnfollowUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Invoke-MgUnfollowUserDriveRoot.md +++ b/src/Files/v1.0/examples/Invoke-MgUnfollowUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Join-MgDriveListContentTypeWithHubSite.md b/src/Files/v1.0/examples/Join-MgDriveListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Join-MgDriveListContentTypeWithHubSite.md +++ b/src/Files/v1.0/examples/Join-MgDriveListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Join-MgGroupDriveListContentTypeWithHubSite.md b/src/Files/v1.0/examples/Join-MgGroupDriveListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Join-MgGroupDriveListContentTypeWithHubSite.md +++ b/src/Files/v1.0/examples/Join-MgGroupDriveListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Join-MgShareListContentTypeWithHubSite.md b/src/Files/v1.0/examples/Join-MgShareListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Join-MgShareListContentTypeWithHubSite.md +++ b/src/Files/v1.0/examples/Join-MgShareListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Join-MgUserDriveListContentTypeWithHubSite.md b/src/Files/v1.0/examples/Join-MgUserDriveListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Join-MgUserDriveListContentTypeWithHubSite.md +++ b/src/Files/v1.0/examples/Join-MgUserDriveListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Publish-MgDriveListContentType.md b/src/Files/v1.0/examples/Publish-MgDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Publish-MgDriveListContentType.md +++ b/src/Files/v1.0/examples/Publish-MgDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Publish-MgGroupDriveListContentType.md b/src/Files/v1.0/examples/Publish-MgGroupDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Publish-MgGroupDriveListContentType.md +++ b/src/Files/v1.0/examples/Publish-MgGroupDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Publish-MgShareListContentType.md b/src/Files/v1.0/examples/Publish-MgShareListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Publish-MgShareListContentType.md +++ b/src/Files/v1.0/examples/Publish-MgShareListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Publish-MgUserDriveListContentType.md b/src/Files/v1.0/examples/Publish-MgUserDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Publish-MgUserDriveListContentType.md +++ b/src/Files/v1.0/examples/Publish-MgUserDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Remove-MgDriveRootCheckout.md b/src/Files/v1.0/examples/Remove-MgDriveRootCheckout.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Remove-MgDriveRootCheckout.md +++ b/src/Files/v1.0/examples/Remove-MgDriveRootCheckout.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Remove-MgGroupDriveItemCheckout.md b/src/Files/v1.0/examples/Remove-MgGroupDriveItemCheckout.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Remove-MgGroupDriveItemCheckout.md +++ b/src/Files/v1.0/examples/Remove-MgGroupDriveItemCheckout.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Remove-MgGroupDriveRootCheckout.md b/src/Files/v1.0/examples/Remove-MgGroupDriveRootCheckout.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Remove-MgGroupDriveRootCheckout.md +++ b/src/Files/v1.0/examples/Remove-MgGroupDriveRootCheckout.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Remove-MgUserDriveItemCheckout.md b/src/Files/v1.0/examples/Remove-MgUserDriveItemCheckout.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Remove-MgUserDriveItemCheckout.md +++ b/src/Files/v1.0/examples/Remove-MgUserDriveItemCheckout.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Remove-MgUserDriveRootCheckout.md b/src/Files/v1.0/examples/Remove-MgUserDriveRootCheckout.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Remove-MgUserDriveRootCheckout.md +++ b/src/Files/v1.0/examples/Remove-MgUserDriveRootCheckout.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgDriveItemListItemDocumentSetVersion.md b/src/Files/v1.0/examples/Restore-MgDriveItemListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgDriveItemListItemDocumentSetVersion.md +++ b/src/Files/v1.0/examples/Restore-MgDriveItemListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgDriveItemListItemVersion.md b/src/Files/v1.0/examples/Restore-MgDriveItemListItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgDriveItemListItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgDriveItemListItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgDriveListItemDocumentSetVersion.md b/src/Files/v1.0/examples/Restore-MgDriveListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgDriveListItemDocumentSetVersion.md +++ b/src/Files/v1.0/examples/Restore-MgDriveListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgDriveListItemVersion.md b/src/Files/v1.0/examples/Restore-MgDriveListItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgDriveListItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgDriveListItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgDriveRoot.md b/src/Files/v1.0/examples/Restore-MgDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgDriveRoot.md +++ b/src/Files/v1.0/examples/Restore-MgDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgDriveRootListItemDocumentSetVersion.md b/src/Files/v1.0/examples/Restore-MgDriveRootListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgDriveRootListItemDocumentSetVersion.md +++ b/src/Files/v1.0/examples/Restore-MgDriveRootListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgDriveRootListItemVersion.md b/src/Files/v1.0/examples/Restore-MgDriveRootListItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgDriveRootListItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgDriveRootListItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgDriveRootVersion.md b/src/Files/v1.0/examples/Restore-MgDriveRootVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgDriveRootVersion.md +++ b/src/Files/v1.0/examples/Restore-MgDriveRootVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgGroupDriveItem.md b/src/Files/v1.0/examples/Restore-MgGroupDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgGroupDriveItem.md +++ b/src/Files/v1.0/examples/Restore-MgGroupDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgGroupDriveItemListItemDocumentSetVersion.md b/src/Files/v1.0/examples/Restore-MgGroupDriveItemListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgGroupDriveItemListItemDocumentSetVersion.md +++ b/src/Files/v1.0/examples/Restore-MgGroupDriveItemListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgGroupDriveItemListItemVersion.md b/src/Files/v1.0/examples/Restore-MgGroupDriveItemListItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgGroupDriveItemListItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgGroupDriveItemListItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgGroupDriveItemVersion.md b/src/Files/v1.0/examples/Restore-MgGroupDriveItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgGroupDriveItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgGroupDriveItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgGroupDriveListItemDocumentSetVersion.md b/src/Files/v1.0/examples/Restore-MgGroupDriveListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgGroupDriveListItemDocumentSetVersion.md +++ b/src/Files/v1.0/examples/Restore-MgGroupDriveListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgGroupDriveListItemVersion.md b/src/Files/v1.0/examples/Restore-MgGroupDriveListItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgGroupDriveListItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgGroupDriveListItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgGroupDriveRoot.md b/src/Files/v1.0/examples/Restore-MgGroupDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgGroupDriveRoot.md +++ b/src/Files/v1.0/examples/Restore-MgGroupDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgGroupDriveRootListItemDocumentSetVersion.md b/src/Files/v1.0/examples/Restore-MgGroupDriveRootListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgGroupDriveRootListItemDocumentSetVersion.md +++ b/src/Files/v1.0/examples/Restore-MgGroupDriveRootListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgGroupDriveRootListItemVersion.md b/src/Files/v1.0/examples/Restore-MgGroupDriveRootListItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgGroupDriveRootListItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgGroupDriveRootListItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgGroupDriveRootVersion.md b/src/Files/v1.0/examples/Restore-MgGroupDriveRootVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgGroupDriveRootVersion.md +++ b/src/Files/v1.0/examples/Restore-MgGroupDriveRootVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgShareListItemDocumentSetVersion.md b/src/Files/v1.0/examples/Restore-MgShareListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgShareListItemDocumentSetVersion.md +++ b/src/Files/v1.0/examples/Restore-MgShareListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgShareListItemVersion.md b/src/Files/v1.0/examples/Restore-MgShareListItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgShareListItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgShareListItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgUserDriveItem.md b/src/Files/v1.0/examples/Restore-MgUserDriveItem.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgUserDriveItem.md +++ b/src/Files/v1.0/examples/Restore-MgUserDriveItem.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgUserDriveItemListItemDocumentSetVersion.md b/src/Files/v1.0/examples/Restore-MgUserDriveItemListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgUserDriveItemListItemDocumentSetVersion.md +++ b/src/Files/v1.0/examples/Restore-MgUserDriveItemListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgUserDriveItemListItemVersion.md b/src/Files/v1.0/examples/Restore-MgUserDriveItemListItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgUserDriveItemListItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgUserDriveItemListItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgUserDriveItemVersion.md b/src/Files/v1.0/examples/Restore-MgUserDriveItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgUserDriveItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgUserDriveItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgUserDriveListItemDocumentSetVersion.md b/src/Files/v1.0/examples/Restore-MgUserDriveListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgUserDriveListItemDocumentSetVersion.md +++ b/src/Files/v1.0/examples/Restore-MgUserDriveListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgUserDriveListItemVersion.md b/src/Files/v1.0/examples/Restore-MgUserDriveListItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgUserDriveListItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgUserDriveListItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgUserDriveRoot.md b/src/Files/v1.0/examples/Restore-MgUserDriveRoot.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgUserDriveRoot.md +++ b/src/Files/v1.0/examples/Restore-MgUserDriveRoot.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgUserDriveRootListItemDocumentSetVersion.md b/src/Files/v1.0/examples/Restore-MgUserDriveRootListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgUserDriveRootListItemDocumentSetVersion.md +++ b/src/Files/v1.0/examples/Restore-MgUserDriveRootListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgUserDriveRootListItemVersion.md b/src/Files/v1.0/examples/Restore-MgUserDriveRootListItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgUserDriveRootListItemVersion.md +++ b/src/Files/v1.0/examples/Restore-MgUserDriveRootListItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Restore-MgUserDriveRootVersion.md b/src/Files/v1.0/examples/Restore-MgUserDriveRootVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Restore-MgUserDriveRootVersion.md +++ b/src/Files/v1.0/examples/Restore-MgUserDriveRootVersion.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Search-MgDrive.md b/src/Files/v1.0/examples/Search-MgDrive.md index 6ab56a0322b..87586416944 100644 --- a/src/Files/v1.0/examples/Search-MgDrive.md +++ b/src/Files/v1.0/examples/Search-MgDrive.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 2: Code snippet ```powershell diff --git a/src/Files/v1.0/examples/Test-MgDriveListContentTypePublished.md b/src/Files/v1.0/examples/Test-MgDriveListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Test-MgDriveListContentTypePublished.md +++ b/src/Files/v1.0/examples/Test-MgDriveListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Test-MgGroupDriveListContentTypePublished.md b/src/Files/v1.0/examples/Test-MgGroupDriveListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Test-MgGroupDriveListContentTypePublished.md +++ b/src/Files/v1.0/examples/Test-MgGroupDriveListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Test-MgShareListContentTypePublished.md b/src/Files/v1.0/examples/Test-MgShareListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Test-MgShareListContentTypePublished.md +++ b/src/Files/v1.0/examples/Test-MgShareListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Test-MgUserDriveListContentTypePublished.md b/src/Files/v1.0/examples/Test-MgUserDriveListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Test-MgUserDriveListContentTypePublished.md +++ b/src/Files/v1.0/examples/Test-MgUserDriveListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Unpublish-MgDriveListContentType.md b/src/Files/v1.0/examples/Unpublish-MgDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Unpublish-MgDriveListContentType.md +++ b/src/Files/v1.0/examples/Unpublish-MgDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Unpublish-MgGroupDriveListContentType.md b/src/Files/v1.0/examples/Unpublish-MgGroupDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Unpublish-MgGroupDriveListContentType.md +++ b/src/Files/v1.0/examples/Unpublish-MgGroupDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Unpublish-MgShareListContentType.md b/src/Files/v1.0/examples/Unpublish-MgShareListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Unpublish-MgShareListContentType.md +++ b/src/Files/v1.0/examples/Unpublish-MgShareListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Unpublish-MgUserDriveListContentType.md b/src/Files/v1.0/examples/Unpublish-MgUserDriveListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Files/v1.0/examples/Unpublish-MgUserDriveListContentType.md +++ b/src/Files/v1.0/examples/Unpublish-MgUserDriveListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Files/v1.0/examples/Update-MgDriveItemRetentionLabel.md b/src/Files/v1.0/examples/Update-MgDriveItemRetentionLabel.md index 19d864c9ee6..0315a90f95f 100644 --- a/src/Files/v1.0/examples/Update-MgDriveItemRetentionLabel.md +++ b/src/Files/v1.0/examples/Update-MgDriveItemRetentionLabel.md @@ -5,7 +5,9 @@ Import-Module Microsoft.Graph.Files $params = @{ - name = "Retention label for Contracts" + retentionSettings = @{ + isRecordLocked = $true + } } Update-MgDriveItemRetentionLabel -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params diff --git a/src/Groups/beta/examples/Invoke-MgBetaArchiveGroupSiteGetByPath.md b/src/Groups/beta/examples/Invoke-MgBetaArchiveGroupSiteGetByPath.md index 8b137891791..e69de29bb2d 100644 --- a/src/Groups/beta/examples/Invoke-MgBetaArchiveGroupSiteGetByPath.md +++ b/src/Groups/beta/examples/Invoke-MgBetaArchiveGroupSiteGetByPath.md @@ -1 +0,0 @@ - diff --git a/src/Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPost.md b/src/Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPost.md index 8b137891791..e69de29bb2d 100644 --- a/src/Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPost.md +++ b/src/Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPost.md @@ -1 +0,0 @@ - diff --git a/src/Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPostInReplyTo.md b/src/Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPostInReplyTo.md index 8b137891791..e69de29bb2d 100644 --- a/src/Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPostInReplyTo.md +++ b/src/Groups/beta/examples/Invoke-MgBetaForwardGroupConversationThreadPostInReplyTo.md @@ -1 +0,0 @@ - diff --git a/src/Groups/beta/examples/Invoke-MgBetaForwardGroupThreadPostInReplyTo.md b/src/Groups/beta/examples/Invoke-MgBetaForwardGroupThreadPostInReplyTo.md index 8b137891791..e69de29bb2d 100644 --- a/src/Groups/beta/examples/Invoke-MgBetaForwardGroupThreadPostInReplyTo.md +++ b/src/Groups/beta/examples/Invoke-MgBetaForwardGroupThreadPostInReplyTo.md @@ -1 +0,0 @@ - diff --git a/src/Groups/beta/examples/Invoke-MgBetaUnarchiveGroupSiteGetByPath.md b/src/Groups/beta/examples/Invoke-MgBetaUnarchiveGroupSiteGetByPath.md index 8b137891791..e69de29bb2d 100644 --- a/src/Groups/beta/examples/Invoke-MgBetaUnarchiveGroupSiteGetByPath.md +++ b/src/Groups/beta/examples/Invoke-MgBetaUnarchiveGroupSiteGetByPath.md @@ -1 +0,0 @@ - diff --git a/src/Groups/beta/examples/Remove-MgBetaGroupByUniqueName.md b/src/Groups/beta/examples/Remove-MgBetaGroupByUniqueName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Groups/beta/examples/Remove-MgBetaGroupByUniqueName.md +++ b/src/Groups/beta/examples/Remove-MgBetaGroupByUniqueName.md @@ -1 +0,0 @@ - diff --git a/src/Groups/v1.0/examples/Invoke-MgForwardGroupConversationThreadPost.md b/src/Groups/v1.0/examples/Invoke-MgForwardGroupConversationThreadPost.md index 8b137891791..e69de29bb2d 100644 --- a/src/Groups/v1.0/examples/Invoke-MgForwardGroupConversationThreadPost.md +++ b/src/Groups/v1.0/examples/Invoke-MgForwardGroupConversationThreadPost.md @@ -1 +0,0 @@ - diff --git a/src/Groups/v1.0/examples/Invoke-MgForwardGroupConversationThreadPostInReplyTo.md b/src/Groups/v1.0/examples/Invoke-MgForwardGroupConversationThreadPostInReplyTo.md index 8b137891791..e69de29bb2d 100644 --- a/src/Groups/v1.0/examples/Invoke-MgForwardGroupConversationThreadPostInReplyTo.md +++ b/src/Groups/v1.0/examples/Invoke-MgForwardGroupConversationThreadPostInReplyTo.md @@ -1 +0,0 @@ - diff --git a/src/Groups/v1.0/examples/Invoke-MgForwardGroupThreadPostInReplyTo.md b/src/Groups/v1.0/examples/Invoke-MgForwardGroupThreadPostInReplyTo.md index 8b137891791..e69de29bb2d 100644 --- a/src/Groups/v1.0/examples/Invoke-MgForwardGroupThreadPostInReplyTo.md +++ b/src/Groups/v1.0/examples/Invoke-MgForwardGroupThreadPostInReplyTo.md @@ -1 +0,0 @@ - diff --git a/src/Groups/v1.0/examples/Remove-MgGroupByUniqueName.md b/src/Groups/v1.0/examples/Remove-MgGroupByUniqueName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Groups/v1.0/examples/Remove-MgGroupByUniqueName.md +++ b/src/Groups/v1.0/examples/Remove-MgGroupByUniqueName.md @@ -1 +0,0 @@ - diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaAdminPeopleProfilePropertySetting.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaAdminPeopleProfilePropertySetting.md index e69de29bb2d..5582b0c3c17 100644 --- a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaAdminPeopleProfilePropertySetting.md +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaAdminPeopleProfilePropertySetting.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaAdminPeopleProfilePropertySetting + +``` +This example shows how to use the Get-MgBetaAdminPeopleProfilePropertySetting Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaAdminPeopleProfileSource.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaAdminPeopleProfileSource.md index e69de29bb2d..b807effa98c 100644 --- a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaAdminPeopleProfileSource.md +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaAdminPeopleProfileSource.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaAdminPeopleProfileSource + +``` +This example shows how to use the Get-MgBetaAdminPeopleProfileSource Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRecommendationConfiguration.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRecommendationConfiguration.md index e69de29bb2d..bd3c060389f 100644 --- a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRecommendationConfiguration.md +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryRecommendationConfiguration.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaDirectoryRecommendationConfiguration + +``` +This example shows how to use the Get-MgBetaDirectoryRecommendationConfiguration Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryImpactedResource.md b/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryImpactedResource.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryImpactedResource.md +++ b/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaDismissDirectoryImpactedResource.md @@ -1 +0,0 @@ - diff --git a/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryImpactedResource.md b/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryImpactedResource.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryImpactedResource.md +++ b/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaPostponeDirectoryImpactedResource.md @@ -1 +0,0 @@ - diff --git a/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryImpactedResource.md b/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryImpactedResource.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryImpactedResource.md +++ b/src/Identity.DirectoryManagement/beta/examples/Invoke-MgBetaReactivateDirectoryImpactedResource.md @@ -1 +0,0 @@ - diff --git a/src/Identity.DirectoryManagement/beta/examples/New-MgBetaAdminPeopleProfilePropertySetting.md b/src/Identity.DirectoryManagement/beta/examples/New-MgBetaAdminPeopleProfilePropertySetting.md new file mode 100644 index 00000000000..5d3105e7c5e --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/New-MgBetaAdminPeopleProfilePropertySetting.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +$params = @{ + "@odata.type" = "#microsoft.graph.profilePropertySetting" + prioritizedSourceUrls = @( + "https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='contosohr1')" +) +} + +New-MgBetaAdminPeopleProfilePropertySetting -BodyParameter $params + +``` +This example shows how to use the New-MgBetaAdminPeopleProfilePropertySetting Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/New-MgBetaAdminPeopleProfileSource.md b/src/Identity.DirectoryManagement/beta/examples/New-MgBetaAdminPeopleProfileSource.md new file mode 100644 index 00000000000..5a20eefea93 --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/New-MgBetaAdminPeopleProfileSource.md @@ -0,0 +1,25 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +$params = @{ + sourceId = "bamboohr1" + displayName = "HR Platform" + kind = "BambooHR" + webUrl = "https://bamboohr.contoso.com/login" + localizations = @( + @{ + displayName = "HR-Plattform" + webUrl = "http://bamboohr.contoso.com/de/login" + languageTag = "de" + } + ) +} + +New-MgBetaAdminPeopleProfileSource -BodyParameter $params + +``` +This example shows how to use the New-MgBetaAdminPeopleProfileSource Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaAdminPeopleProfilePropertySetting.md b/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaAdminPeopleProfilePropertySetting.md new file mode 100644 index 00000000000..99ca6a8d68f --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaAdminPeopleProfilePropertySetting.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Remove-MgBetaAdminPeopleProfilePropertySetting -ProfilePropertySettingId $profilePropertySettingId + +``` +This example shows how to use the Remove-MgBetaAdminPeopleProfilePropertySetting Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaAdminPeopleProfileSource.md b/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaAdminPeopleProfileSource.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaAdminPeopleProfileSourceBySourceId.md b/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaAdminPeopleProfileSourceBySourceId.md new file mode 100644 index 00000000000..665d800929c --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaAdminPeopleProfileSourceBySourceId.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Remove-MgBetaAdminPeopleProfileSourceBySourceId -SourceId $sourceIdId + +``` +This example shows how to use the Remove-MgBetaAdminPeopleProfileSourceBySourceId Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaDeviceByDeviceId.md b/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaDeviceByDeviceId.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaDeviceByDeviceId.md +++ b/src/Identity.DirectoryManagement/beta/examples/Remove-MgBetaDeviceByDeviceId.md @@ -1 +0,0 @@ - diff --git a/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleNamePronunciation.md b/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleNamePronunciation.md index e69de29bb2d..5c51ff9e1af 100644 --- a/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleNamePronunciation.md +++ b/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleNamePronunciation.md @@ -0,0 +1,16 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +$params = @{ + "@odata.type" = "#microsoft.graph.namePronunciationSettings" + isEnabledInOrganization = $true +} + +Update-MgBetaAdminPeopleNamePronunciation -BodyParameter $params + +``` +This example shows how to use the Update-MgBetaAdminPeopleNamePronunciation Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleProfilePropertySetting.md b/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleProfilePropertySetting.md new file mode 100644 index 00000000000..e3cfddf27cb --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleProfilePropertySetting.md @@ -0,0 +1,19 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +$params = @{ + "@odata.type" = "#microsoft.graph.profilePropertySetting" + prioritizedSourceUrls = @( + "https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='contosohr1')" +"https://graph.microsoft.com/beta/admin/people/profileSources(sourceId='contosohr2')" +) +} + +Update-MgBetaAdminPeopleProfilePropertySetting -ProfilePropertySettingId $profilePropertySettingId -BodyParameter $params + +``` +This example shows how to use the Update-MgBetaAdminPeopleProfilePropertySetting Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleProfileSource.md b/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleProfileSource.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleProfileSourceBySourceId.md b/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleProfileSourceBySourceId.md new file mode 100644 index 00000000000..c586b0d2717 --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaAdminPeopleProfileSourceBySourceId.md @@ -0,0 +1,31 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +$params = @{ + "@odata.type" = "#microsoft.graph.profileSource" + sourceId = "bamboohr1" + kind = "BambooHR" + displayName = "BambooHR Updated" + webUrl = "https://bamboohr.contoso.com/login" + localizations = @( + @{ + displayName = "HR-Platform" + webUrl = "http://bamboohr.contoso.com/en-us/login" + languageTag = "en-us" + } + @{ + displayName = "HR-Plattform" + webUrl = "http://bamboohr.contoso.com/de/login" + languageTag = "de" + } + ) +} + +Update-MgBetaAdminPeopleProfileSourceBySourceId -BodyParameter $params -SourceId $sourceIdId + +``` +This example shows how to use the Update-MgBetaAdminPeopleProfileSourceBySourceId Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaDirectoryRecommendationConfiguration.md b/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaDirectoryRecommendationConfiguration.md new file mode 100644 index 00000000000..5ef38a72dbe --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/Update-MgBetaDirectoryRecommendationConfiguration.md @@ -0,0 +1,15 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +$params = @{ + isNotificationEnabled = $true +} + +Update-MgBetaDirectoryRecommendationConfiguration -BodyParameter $params + +``` +This example shows how to use the Update-MgBetaDirectoryRecommendationConfiguration Cmdlet. + diff --git a/src/Identity.DirectoryManagement/v1.0/examples/Get-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/v1.0/examples/Get-MgDirectoryAdministrativeUnit.md index 0c8b4864714..e3e1f21e98c 100644 --- a/src/Identity.DirectoryManagement/v1.0/examples/Get-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/v1.0/examples/Get-MgDirectoryAdministrativeUnit.md @@ -1,11 +1,22 @@ -### Example 1: Code snippet +### Example 1: Get an administrative unit ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement -Get-MgDirectoryAdministrativeUnit +Get-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId ``` -This example shows how to use the Get-MgDirectoryAdministrativeUnit Cmdlet. +This example will get an administrative unit + +### Example 2: Get a restricted management administrative unit + +```powershell + +Import-Module Microsoft.Graph.Identity.DirectoryManagement + +Get-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId + +``` +This example will get a restricted management administrative unit diff --git a/src/Identity.DirectoryManagement/v1.0/examples/Get-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md b/src/Identity.DirectoryManagement/v1.0/examples/Get-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.DirectoryManagement/v1.0/examples/Get-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority.md b/src/Identity.DirectoryManagement/v1.0/examples/Get-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.DirectoryManagement/v1.0/examples/Get-MgOrganizationBrandingLocalizationBannerLogo.md b/src/Identity.DirectoryManagement/v1.0/examples/Get-MgOrganizationBrandingLocalizationBannerLogo.md index 9324dd285c2..f71a83a96ad 100644 --- a/src/Identity.DirectoryManagement/v1.0/examples/Get-MgOrganizationBrandingLocalizationBannerLogo.md +++ b/src/Identity.DirectoryManagement/v1.0/examples/Get-MgOrganizationBrandingLocalizationBannerLogo.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 2: Code snippet ```powershell diff --git a/src/Identity.DirectoryManagement/v1.0/examples/Invoke-MgUploadDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md b/src/Identity.DirectoryManagement/v1.0/examples/Invoke-MgUploadDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.DirectoryManagement/v1.0/examples/New-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/v1.0/examples/New-MgDirectoryAdministrativeUnit.md index bbe965373ad..0164818c463 100644 --- a/src/Identity.DirectoryManagement/v1.0/examples/New-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/v1.0/examples/New-MgDirectoryAdministrativeUnit.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 1: Create an administrative unit ```powershell @@ -16,5 +16,22 @@ $params = @{ New-MgDirectoryAdministrativeUnit -BodyParameter $params ``` -This example shows how to use the New-MgDirectoryAdministrativeUnit Cmdlet. +This example will create an administrative unit + +### Example 2: Create a restricted management administrative unit + +```powershell + +Import-Module Microsoft.Graph.Identity.DirectoryManagement + +$params = @{ + displayName = "Executive Division" + description = "Executive division administration" + isMemberManagementRestricted = $true +} + +New-MgDirectoryAdministrativeUnit -BodyParameter $params + +``` +This example will create a restricted management administrative unit diff --git a/src/Identity.DirectoryManagement/v1.0/examples/New-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md b/src/Identity.DirectoryManagement/v1.0/examples/New-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.DirectoryManagement/v1.0/examples/New-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority.md b/src/Identity.DirectoryManagement/v1.0/examples/New-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.DirectoryManagement/v1.0/examples/Remove-MgDeviceByDeviceId.md b/src/Identity.DirectoryManagement/v1.0/examples/Remove-MgDeviceByDeviceId.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.DirectoryManagement/v1.0/examples/Remove-MgDeviceByDeviceId.md +++ b/src/Identity.DirectoryManagement/v1.0/examples/Remove-MgDeviceByDeviceId.md @@ -1 +0,0 @@ - diff --git a/src/Identity.DirectoryManagement/v1.0/examples/Remove-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md b/src/Identity.DirectoryManagement/v1.0/examples/Remove-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.DirectoryManagement/v1.0/examples/Remove-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority.md b/src/Identity.DirectoryManagement/v1.0/examples/Remove-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.DirectoryManagement/v1.0/examples/Update-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md b/src/Identity.DirectoryManagement/v1.0/examples/Update-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.DirectoryManagement/v1.0/examples/Update-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority.md b/src/Identity.DirectoryManagement/v1.0/examples/Update-MgDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.Governance/beta/examples/Initialize-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md b/src/Identity.Governance/beta/examples/Initialize-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Initialize-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md +++ b/src/Identity.Governance/beta/examples/Initialize-MgBetaIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAssignmentRequestByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAssignmentRequestByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAssignmentRequestByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterEntitlementManagementAssignmentRequestByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceStageByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceStageByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceStageByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterIdentityGovernanceAccessReviewDecisionInstanceStageByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleInstanceByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleInstanceByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleInstanceByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleInstanceByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleRequestByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleRequestByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleRequestByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleAssignmentScheduleRequestByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleInstanceByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleInstanceByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleInstanceByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleInstanceByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleRequestByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleRequestByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleRequestByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEnterpriseAppRoleEligibilityScheduleRequestByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleInstanceByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleInstanceByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleInstanceByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleInstanceByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleRequestByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleRequestByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleRequestByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleAssignmentScheduleRequestByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleInstanceByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleInstanceByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleInstanceByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleInstanceByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleRequestByCurrentUser.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleRequestByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleRequestByCurrentUser.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaFilterRoleManagementEntitlementManagementRoleEligibilityScheduleRequestByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseApp.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseApp.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseApp.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseApp.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseAppRole.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseAppRole.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseAppRole.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEnterpriseAppRole.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagement.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagement.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagement.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagement.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagementRole.md b/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagementRole.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagementRole.md +++ b/src/Identity.Governance/beta/examples/Invoke-MgBetaScheduleRoleManagementEntitlementManagementRole.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Remove-MgBetaEntitlementManagementAccessPackageByUniqueName.md b/src/Identity.Governance/beta/examples/Remove-MgBetaEntitlementManagementAccessPackageByUniqueName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Remove-MgBetaEntitlementManagementAccessPackageByUniqueName.md +++ b/src/Identity.Governance/beta/examples/Remove-MgBetaEntitlementManagementAccessPackageByUniqueName.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Remove-MgBetaEntitlementManagementAccessPackageCatalogByUniqueName.md b/src/Identity.Governance/beta/examples/Remove-MgBetaEntitlementManagementAccessPackageCatalogByUniqueName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Remove-MgBetaEntitlementManagementAccessPackageCatalogByUniqueName.md +++ b/src/Identity.Governance/beta/examples/Remove-MgBetaEntitlementManagementAccessPackageCatalogByUniqueName.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Reset-MgBetaAccessReviewInstanceDecision.md b/src/Identity.Governance/beta/examples/Reset-MgBetaAccessReviewInstanceDecision.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Reset-MgBetaAccessReviewInstanceDecision.md +++ b/src/Identity.Governance/beta/examples/Reset-MgBetaAccessReviewInstanceDecision.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Reset-MgBetaIdentityGovernanceAccessReviewDecisionInstanceDecision.md b/src/Identity.Governance/beta/examples/Reset-MgBetaIdentityGovernanceAccessReviewDecisionInstanceDecision.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Reset-MgBetaIdentityGovernanceAccessReviewDecisionInstanceDecision.md +++ b/src/Identity.Governance/beta/examples/Reset-MgBetaIdentityGovernanceAccessReviewDecisionInstanceDecision.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Restore-MgBetaIdentityGovernanceLifecycleWorkflow.md b/src/Identity.Governance/beta/examples/Restore-MgBetaIdentityGovernanceLifecycleWorkflow.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Restore-MgBetaIdentityGovernanceLifecycleWorkflow.md +++ b/src/Identity.Governance/beta/examples/Restore-MgBetaIdentityGovernanceLifecycleWorkflow.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest.md b/src/Identity.Governance/beta/examples/Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest.md index 0f6b88c441a..d8ab7d2c886 100644 --- a/src/Identity.Governance/beta/examples/Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest.md +++ b/src/Identity.Governance/beta/examples/Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest.md @@ -20,3 +20,25 @@ Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest -AccessPackageA ``` This example shows how to use the Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest Cmdlet. +### Example 2: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.Governance + +$params = @{ + source = "Contoso.AADProcess" + type = "microsoft.graph.accessPackageCustomExtensionStage.assignmentRequestCreated" + data = @{ + "@odata.type" = "microsoft.graph.accessPackageRequestApprovalStageCallbackConfiguration" + stage = "assignmentRequestCreated" + customExtensionStageInstanceId = "7bf58d34-b3f9-4bae-8deb-abcd25cddea1" + customExtensionStageInstanceDetail = "Completed." + } +} + +Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId -BodyParameter $params + +``` +This example shows how to use the Resume-MgBetaEntitlementManagementAccessPackageAssignmentRequest Cmdlet. + diff --git a/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowRunTaskProcessingResult.md b/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowRunTaskProcessingResult.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowRunTaskProcessingResult.md +++ b/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowRunTaskProcessingResult.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskReportTaskProcessingResult.md b/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskReportTaskProcessingResult.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskReportTaskProcessingResult.md +++ b/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTaskReportTaskProcessingResult.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTemplateTaskProcessingResult.md b/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTemplateTaskProcessingResult.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTemplateTaskProcessingResult.md +++ b/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowTemplateTaskProcessingResult.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowVersionTaskProcessingResult.md b/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowVersionTaskProcessingResult.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowVersionTaskProcessingResult.md +++ b/src/Identity.Governance/beta/examples/Resume-MgBetaIdentityGovernanceLifecycleWorkflowVersionTaskProcessingResult.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Send-MgBetaAccessReviewInstanceReminder.md b/src/Identity.Governance/beta/examples/Send-MgBetaAccessReviewInstanceReminder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Send-MgBetaAccessReviewInstanceReminder.md +++ b/src/Identity.Governance/beta/examples/Send-MgBetaAccessReviewInstanceReminder.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Send-MgBetaIdentityGovernanceAccessReviewDecisionInstanceReminder.md b/src/Identity.Governance/beta/examples/Send-MgBetaIdentityGovernanceAccessReviewDecisionInstanceReminder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Send-MgBetaIdentityGovernanceAccessReviewDecisionInstanceReminder.md +++ b/src/Identity.Governance/beta/examples/Send-MgBetaIdentityGovernanceAccessReviewDecisionInstanceReminder.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Stop-MgBetaAccessReviewInstance.md b/src/Identity.Governance/beta/examples/Stop-MgBetaAccessReviewInstance.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Stop-MgBetaAccessReviewInstance.md +++ b/src/Identity.Governance/beta/examples/Stop-MgBetaAccessReviewInstance.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Stop-MgBetaEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/beta/examples/Stop-MgBetaEntitlementManagementAssignmentRequest.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Stop-MgBetaEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/beta/examples/Stop-MgBetaEntitlementManagementAssignmentRequest.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstance.md b/src/Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstance.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstance.md +++ b/src/Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstance.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstanceStage.md b/src/Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstanceStage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstanceStage.md +++ b/src/Identity.Governance/beta/examples/Stop-MgBetaIdentityGovernanceAccessReviewDecisionInstanceStage.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleAssignmentScheduleRequest.md b/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleAssignmentScheduleRequest.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleAssignmentScheduleRequest.md +++ b/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleAssignmentScheduleRequest.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleEligibilityScheduleRequest.md b/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleEligibilityScheduleRequest.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleEligibilityScheduleRequest.md +++ b/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEnterpriseAppRoleEligibilityScheduleRequest.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleAssignmentScheduleRequest.md b/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleAssignmentScheduleRequest.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleAssignmentScheduleRequest.md +++ b/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleAssignmentScheduleRequest.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleEligibilityScheduleRequest.md b/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleEligibilityScheduleRequest.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleEligibilityScheduleRequest.md +++ b/src/Identity.Governance/beta/examples/Stop-MgBetaRoleManagementEntitlementManagementRoleEligibilityScheduleRequest.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementAccessPackageByUniqueName.md b/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementAccessPackageByUniqueName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementAccessPackageByUniqueName.md +++ b/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementAccessPackageByUniqueName.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementAccessPackageCatalogByUniqueName.md b/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementAccessPackageCatalogByUniqueName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementAccessPackageCatalogByUniqueName.md +++ b/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementAccessPackageCatalogByUniqueName.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementSubject.md b/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementSubject.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementSubject.md +++ b/src/Identity.Governance/beta/examples/Update-MgBetaEntitlementManagementSubject.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/beta/examples/Update-MgBetaIdentityGovernanceAccessReviewPolicy.md b/src/Identity.Governance/beta/examples/Update-MgBetaIdentityGovernanceAccessReviewPolicy.md index 2c1a71617d5..c1221a407d8 100644 --- a/src/Identity.Governance/beta/examples/Update-MgBetaIdentityGovernanceAccessReviewPolicy.md +++ b/src/Identity.Governance/beta/examples/Update-MgBetaIdentityGovernanceAccessReviewPolicy.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 2: Code snippet ```powershell diff --git a/src/Identity.Governance/v1.0/examples/Initialize-MgIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md b/src/Identity.Governance/v1.0/examples/Initialize-MgIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Initialize-MgIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md +++ b/src/Identity.Governance/v1.0/examples/Initialize-MgIdentityGovernanceLifecycleWorkflowDeletedItemWorkflow.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleByCurrentUser.md b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleByCurrentUser.md +++ b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleInstanceByCurrentUser.md b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleInstanceByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleInstanceByCurrentUser.md +++ b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleInstanceByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleRequestByCurrentUser.md b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleRequestByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleRequestByCurrentUser.md +++ b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleAssignmentScheduleRequestByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleByCurrentUser.md b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleByCurrentUser.md +++ b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleInstanceByCurrentUser.md b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleInstanceByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleInstanceByCurrentUser.md +++ b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleInstanceByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleRequestByCurrentUser.md b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleRequestByCurrentUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleRequestByCurrentUser.md +++ b/src/Identity.Governance/v1.0/examples/Invoke-MgFilterRoleManagementEntitlementManagementRoleEligibilityScheduleRequestByCurrentUser.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Restore-MgIdentityGovernanceLifecycleWorkflow.md b/src/Identity.Governance/v1.0/examples/Restore-MgIdentityGovernanceLifecycleWorkflow.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Restore-MgIdentityGovernanceLifecycleWorkflow.md +++ b/src/Identity.Governance/v1.0/examples/Restore-MgIdentityGovernanceLifecycleWorkflow.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowRunTaskProcessingResult.md b/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowRunTaskProcessingResult.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowRunTaskProcessingResult.md +++ b/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowRunTaskProcessingResult.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowTaskReportTaskProcessingResult.md b/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowTaskReportTaskProcessingResult.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowTaskReportTaskProcessingResult.md +++ b/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowTaskReportTaskProcessingResult.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowTemplateTaskProcessingResult.md b/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowTemplateTaskProcessingResult.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowTemplateTaskProcessingResult.md +++ b/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowTemplateTaskProcessingResult.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowVersionTaskProcessingResult.md b/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowVersionTaskProcessingResult.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowVersionTaskProcessingResult.md +++ b/src/Identity.Governance/v1.0/examples/Resume-MgIdentityGovernanceLifecycleWorkflowVersionTaskProcessingResult.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Stop-MgRoleManagementEntitlementManagementRoleAssignmentScheduleRequest.md b/src/Identity.Governance/v1.0/examples/Stop-MgRoleManagementEntitlementManagementRoleAssignmentScheduleRequest.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Stop-MgRoleManagementEntitlementManagementRoleAssignmentScheduleRequest.md +++ b/src/Identity.Governance/v1.0/examples/Stop-MgRoleManagementEntitlementManagementRoleAssignmentScheduleRequest.md @@ -1 +0,0 @@ - diff --git a/src/Identity.Governance/v1.0/examples/Stop-MgRoleManagementEntitlementManagementRoleEligibilityScheduleRequest.md b/src/Identity.Governance/v1.0/examples/Stop-MgRoleManagementEntitlementManagementRoleEligibilityScheduleRequest.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.Governance/v1.0/examples/Stop-MgRoleManagementEntitlementManagementRoleEligibilityScheduleRequest.md +++ b/src/Identity.Governance/v1.0/examples/Stop-MgRoleManagementEntitlementManagementRoleEligibilityScheduleRequest.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyUserSafe.md b/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyUserSafe.md index e69de29bb2d..85374436ba3 100644 --- a/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyUserSafe.md +++ b/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyUserSafe.md @@ -0,0 +1,19 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +$params = @{ + userIds = @( + "5a0c76d2-cb57-4ece-9bc1-c323178f116a" +"96609214-09ef-4f80-9d4a-ace5fceecaec" +"05020696-4eb8-45a3-918f-8f8bb7ad6015" +) +} + +Confirm-MgBetaRiskyUserSafe -BodyParameter $params + +``` +This example shows how to use the Confirm-MgBetaRiskyUserSafe Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaUserAuthenticationQrCodePinMethod.md b/src/Identity.SignIns/beta/examples/Get-MgBetaUserAuthenticationQrCodePinMethod.md new file mode 100644 index 00000000000..b1aba6f2ad3 --- /dev/null +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaUserAuthenticationQrCodePinMethod.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaUserAuthenticationQrCodePinMethod -UserId $userId + +``` +This example shows how to use the Get-MgBetaUserAuthenticationQrCodePinMethod Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode.md b/src/Identity.SignIns/beta/examples/Get-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode.md new file mode 100644 index 00000000000..96de5c880db --- /dev/null +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode -UserId $userId + +``` +This example shows how to use the Get-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaAndInformationProtectionSensitivityLabel.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaAndInformationProtectionSensitivityLabel.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaAndInformationProtectionSensitivityLabelSublabel.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaAndInformationProtectionSensitivityLabelSublabel.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaAndUserInformationProtectionSensitivityLabel.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaAndUserInformationProtectionSensitivityLabel.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaAndUserInformationProtectionSensitivityLabelSublabel.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaAndUserInformationProtectionSensitivityLabelSublabel.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaComputeInformationProtectionSensitivityLabelInheritance.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaComputeInformationProtectionSensitivityLabelInheritance.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaComputeInformationProtectionSensitivityLabelSublabelInheritance.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaComputeInformationProtectionSensitivityLabelSublabelInheritance.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaComputeUserInformationProtectionSensitivityLabelInheritance.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaComputeUserInformationProtectionSensitivityLabelInheritance.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaComputeUserInformationProtectionSensitivityLabelSublabelInheritance.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaComputeUserInformationProtectionSensitivityLabelSublabelInheritance.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaExtractUserInformationProtectionPolicyLabel.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaExtractUserInformationProtectionPolicyLabel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Invoke-MgBetaExtractUserInformationProtectionPolicyLabel.md +++ b/src/Identity.SignIns/beta/examples/Invoke-MgBetaExtractUserInformationProtectionPolicyLabel.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostAttributeCollectionClientCertificate.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostAttributeCollectionClientCertificate.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostAttributeCollectionClientCertificate.md +++ b/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostAttributeCollectionClientCertificate.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostFederationSignupClientCertificate.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostFederationSignupClientCertificate.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostFederationSignupClientCertificate.md +++ b/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPostFederationSignupClientCertificate.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPreTokenIssuanceClientCertificate.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPreTokenIssuanceClientCertificate.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPreTokenIssuanceClientCertificate.md +++ b/src/Identity.SignIns/beta/examples/Invoke-MgBetaUploadIdentityB2XUserFlowApiConnectorConfigurationPreTokenIssuanceClientCertificate.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Invoke-MgBetaUsageIdentityConditionalAccessAuthenticationStrengthPolicy.md b/src/Identity.SignIns/beta/examples/Invoke-MgBetaUsageIdentityConditionalAccessAuthenticationStrengthPolicy.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Invoke-MgBetaUsageIdentityConditionalAccessAuthenticationStrengthPolicy.md +++ b/src/Identity.SignIns/beta/examples/Invoke-MgBetaUsageIdentityConditionalAccessAuthenticationStrengthPolicy.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/New-MgBetaPolicyFeatureRolloutPolicyApplyTo.md b/src/Identity.SignIns/beta/examples/New-MgBetaPolicyFeatureRolloutPolicyApplyTo.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/New-MgBetaPolicyFeatureRolloutPolicyApplyTo.md +++ b/src/Identity.SignIns/beta/examples/New-MgBetaPolicyFeatureRolloutPolicyApplyTo.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Remove-MgBetaIdentityB2CUserFlowLanguageOverridePage.md b/src/Identity.SignIns/beta/examples/Remove-MgBetaIdentityB2CUserFlowLanguageOverridePage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Remove-MgBetaIdentityB2CUserFlowLanguageOverridePage.md +++ b/src/Identity.SignIns/beta/examples/Remove-MgBetaIdentityB2CUserFlowLanguageOverridePage.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Remove-MgBetaTrustFrameworkPolicyContent.md b/src/Identity.SignIns/beta/examples/Remove-MgBetaTrustFrameworkPolicyContent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Remove-MgBetaTrustFrameworkPolicyContent.md +++ b/src/Identity.SignIns/beta/examples/Remove-MgBetaTrustFrameworkPolicyContent.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Remove-MgBetaUserAuthenticationQrCodePinMethod.md b/src/Identity.SignIns/beta/examples/Remove-MgBetaUserAuthenticationQrCodePinMethod.md new file mode 100644 index 00000000000..2e8f6dba015 --- /dev/null +++ b/src/Identity.SignIns/beta/examples/Remove-MgBetaUserAuthenticationQrCodePinMethod.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Remove-MgBetaUserAuthenticationQrCodePinMethod -UserId $userId + +``` +This example shows how to use the Remove-MgBetaUserAuthenticationQrCodePinMethod Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Remove-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode.md b/src/Identity.SignIns/beta/examples/Remove-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode.md new file mode 100644 index 00000000000..fd8f3b75eda --- /dev/null +++ b/src/Identity.SignIns/beta/examples/Remove-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Remove-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode -UserId $userId + +``` +This example shows how to use the Remove-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelApplication.md b/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelApplication.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelApplication.md +++ b/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelApplication.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelClassificationResult.md b/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelClassificationResult.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelClassificationResult.md +++ b/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelClassificationResult.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelRemoval.md b/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelRemoval.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelRemoval.md +++ b/src/Identity.SignIns/beta/examples/Test-MgBetaUserInformationProtectionPolicyLabelRemoval.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Update-MgBetaIdentityB2CUserFlowLanguageOverridePage.md b/src/Identity.SignIns/beta/examples/Update-MgBetaIdentityB2CUserFlowLanguageOverridePage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Update-MgBetaIdentityB2CUserFlowLanguageOverridePage.md +++ b/src/Identity.SignIns/beta/examples/Update-MgBetaIdentityB2CUserFlowLanguageOverridePage.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Update-MgBetaIdentityConditionalAccessAuthenticationStrengthPolicyAllowedCombination.md b/src/Identity.SignIns/beta/examples/Update-MgBetaIdentityConditionalAccessAuthenticationStrengthPolicyAllowedCombination.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/beta/examples/Update-MgBetaIdentityConditionalAccessAuthenticationStrengthPolicyAllowedCombination.md +++ b/src/Identity.SignIns/beta/examples/Update-MgBetaIdentityConditionalAccessAuthenticationStrengthPolicyAllowedCombination.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/beta/examples/Update-MgBetaPolicyDefaultAppManagementPolicy.md b/src/Identity.SignIns/beta/examples/Update-MgBetaPolicyDefaultAppManagementPolicy.md index 62e0b0693a7..a1ccf501f1a 100644 --- a/src/Identity.SignIns/beta/examples/Update-MgBetaPolicyDefaultAppManagementPolicy.md +++ b/src/Identity.SignIns/beta/examples/Update-MgBetaPolicyDefaultAppManagementPolicy.md @@ -55,6 +55,16 @@ identifierUris = @{ restrictForAppsCreatedAfterDateTime = [System.DateTime]::Parse("2024-01-01T10:37:00Z") excludeAppsReceivingV2Tokens = $true excludeSaml = $true + excludeActors = @{ + customSecurityAttributes = @( + @{ + "@odata.type" = "microsoft.graph.customSecurityAttributeStringValueExemption" + id = "PolicyExemptions_AppManagementExemption" + operator = "equals" + value = "ExemptFromIdentifierUriAdditionRestriction" + } + ) + } } } } diff --git a/src/Identity.SignIns/beta/examples/Update-MgBetaUserAuthenticationQrCodePinMethodPin.md b/src/Identity.SignIns/beta/examples/Update-MgBetaUserAuthenticationQrCodePinMethodPin.md new file mode 100644 index 00000000000..3e0a605174e --- /dev/null +++ b/src/Identity.SignIns/beta/examples/Update-MgBetaUserAuthenticationQrCodePinMethodPin.md @@ -0,0 +1,16 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +$params = @{ + "@odata.type" = "#microsoft.graph.qrPin" + code = "09599786" +} + +Update-MgBetaUserAuthenticationQrCodePinMethodPin -UserId $userId -BodyParameter $params + +``` +This example shows how to use the Update-MgBetaUserAuthenticationQrCodePinMethodPin Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Update-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode.md b/src/Identity.SignIns/beta/examples/Update-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode.md new file mode 100644 index 00000000000..9f5f220a12c --- /dev/null +++ b/src/Identity.SignIns/beta/examples/Update-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode.md @@ -0,0 +1,34 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +$params = @{ + "@odata.type" = "#microsoft.graph.qrCode" + expireDateTime = [System.DateTime]::Parse("2025-12-19T12:00:00Z") + startDateTime = [System.DateTime]::Parse("2025-01-01T12:00:00Z") +} + +Update-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode -UserId $userId -BodyParameter $params + +``` +This example shows how to use the Update-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode Cmdlet. + +### Example 2: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +$params = @{ + "@odata.type" = "#microsoft.graph.qrCode" + expireDateTime = [System.DateTime]::Parse("2025-12-01T12:00:00Z") +} + +# A UPN can also be used as -UserId. +Update-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode -UserId $userId -BodyParameter $params + +``` +This example shows how to use the Update-MgBetaUserAuthenticationQrCodePinMethodStandardQrCode Cmdlet. + diff --git a/src/Identity.SignIns/v1.0/examples/Confirm-MgRiskyUserSafe.md b/src/Identity.SignIns/v1.0/examples/Confirm-MgRiskyUserSafe.md index e69de29bb2d..a8b80bcbe9a 100644 --- a/src/Identity.SignIns/v1.0/examples/Confirm-MgRiskyUserSafe.md +++ b/src/Identity.SignIns/v1.0/examples/Confirm-MgRiskyUserSafe.md @@ -0,0 +1,19 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Identity.SignIns + +$params = @{ + userIds = @( + "5a0c76d2-cb57-4ece-9bc1-c323178f116a" +"96609214-09ef-4f80-9d4a-ace5fceecaec" +"05020696-4eb8-45a3-918f-8f8bb7ad6015" +) +} + +Confirm-MgRiskyUserSafe -BodyParameter $params + +``` +This example shows how to use the Confirm-MgRiskyUserSafe Cmdlet. + diff --git a/src/Identity.SignIns/v1.0/examples/Get-MgIdentityCustomAuthenticationExtension.md b/src/Identity.SignIns/v1.0/examples/Get-MgIdentityCustomAuthenticationExtension.md index 4e5bbd65dd0..f6f6c8d843a 100644 --- a/src/Identity.SignIns/v1.0/examples/Get-MgIdentityCustomAuthenticationExtension.md +++ b/src/Identity.SignIns/v1.0/examples/Get-MgIdentityCustomAuthenticationExtension.md @@ -4,7 +4,7 @@ Import-Module Microsoft.Graph.Identity.SignIns -Get-MgIdentityCustomAuthenticationExtension -Filter "isOf('microsoft.graph.onTokenIssuanceStartCustomExtension')" +Get-MgIdentityCustomAuthenticationExtension ``` This example shows how to use the Get-MgIdentityCustomAuthenticationExtension Cmdlet. diff --git a/src/Identity.SignIns/v1.0/examples/Invoke-MgUploadIdentityB2XUserFlowApiConnectorConfigurationPostAttributeCollectionClientCertificate.md b/src/Identity.SignIns/v1.0/examples/Invoke-MgUploadIdentityB2XUserFlowApiConnectorConfigurationPostAttributeCollectionClientCertificate.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/v1.0/examples/Invoke-MgUploadIdentityB2XUserFlowApiConnectorConfigurationPostAttributeCollectionClientCertificate.md +++ b/src/Identity.SignIns/v1.0/examples/Invoke-MgUploadIdentityB2XUserFlowApiConnectorConfigurationPostAttributeCollectionClientCertificate.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/v1.0/examples/Invoke-MgUploadIdentityB2XUserFlowApiConnectorConfigurationPostFederationSignupClientCertificate.md b/src/Identity.SignIns/v1.0/examples/Invoke-MgUploadIdentityB2XUserFlowApiConnectorConfigurationPostFederationSignupClientCertificate.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/v1.0/examples/Invoke-MgUploadIdentityB2XUserFlowApiConnectorConfigurationPostFederationSignupClientCertificate.md +++ b/src/Identity.SignIns/v1.0/examples/Invoke-MgUploadIdentityB2XUserFlowApiConnectorConfigurationPostFederationSignupClientCertificate.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/v1.0/examples/Invoke-MgUsageIdentityConditionalAccessAuthenticationStrengthPolicy.md b/src/Identity.SignIns/v1.0/examples/Invoke-MgUsageIdentityConditionalAccessAuthenticationStrengthPolicy.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/v1.0/examples/Invoke-MgUsageIdentityConditionalAccessAuthenticationStrengthPolicy.md +++ b/src/Identity.SignIns/v1.0/examples/Invoke-MgUsageIdentityConditionalAccessAuthenticationStrengthPolicy.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/v1.0/examples/New-MgIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProviderByRef.md b/src/Identity.SignIns/v1.0/examples/New-MgIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProviderByRef.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/v1.0/examples/New-MgIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProviderByRef.md +++ b/src/Identity.SignIns/v1.0/examples/New-MgIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProviderByRef.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/v1.0/examples/New-MgIdentityCustomAuthenticationExtension.md b/src/Identity.SignIns/v1.0/examples/New-MgIdentityCustomAuthenticationExtension.md index f30a9f723d8..9c2ecd3680c 100644 --- a/src/Identity.SignIns/v1.0/examples/New-MgIdentityCustomAuthenticationExtension.md +++ b/src/Identity.SignIns/v1.0/examples/New-MgIdentityCustomAuthenticationExtension.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 1: Create an onTokenIssuanceStartCustomExtension object ```powershell @@ -33,5 +33,95 @@ $params = @{ New-MgIdentityCustomAuthenticationExtension -BodyParameter $params ``` -This example shows how to use the New-MgIdentityCustomAuthenticationExtension Cmdlet. +This example will create an ontokenissuancestartcustomextension object + +### Example 2: Create an onAttributeCollectionStartCustomExtension object + +```powershell + +Import-Module Microsoft.Graph.Identity.SignIns + +$params = @{ + "@odata.type" = "#microsoft.graph.onAttributeCollectionStartCustomExtension" + displayName = "attributeCollectionStartName" + description = "example description" + authenticationConfiguration = @{ + "@odata.type" = "#microsoft.graph.azureAdTokenAuthentication" + resourceId = "api://contoso.com/fb96de85-2abe-4b02-b45f-64ba122c509e" + } + endpointConfiguration = @{ + "@odata.type" = "#microsoft.graph.httpRequestEndpoint" + targetUrl = "https://contoso.com" + } + clientConfiguration = @{ + timeoutInMilliseconds = 2000 + maximumRetries = 1 + } +} + +New-MgIdentityCustomAuthenticationExtension -BodyParameter $params + +``` +This example will create an onattributecollectionstartcustomextension object + +### Example 3: Create an onAttributeCollectionSubmitCustomExtension object + +```powershell + +Import-Module Microsoft.Graph.Identity.SignIns + +$params = @{ + "@odata.type" = "#microsoft.graph.onAttributeCollectionSubmitCustomExtension" + displayName = "attributeCollectionSubmitName" + description = "example description" + authenticationConfiguration = @{ + "@odata.type" = "#microsoft.graph.azureAdTokenAuthentication" + resourceId = "api://contoso.com/fb96de85-2abe-4b02-b45f-64ba122c509e" + } + endpointConfiguration = @{ + "@odata.type" = "#microsoft.graph.httpRequestEndpoint" + targetUrl = "https://contoso.com" + } + clientConfiguration = @{ + timeoutInMilliseconds = 2000 + maximumRetries = 1 + } +} + +New-MgIdentityCustomAuthenticationExtension -BodyParameter $params + +``` +This example will create an onattributecollectionsubmitcustomextension object + +### Example 4: Create an onOtpSendCustomExtension object + +```powershell + +Import-Module Microsoft.Graph.Identity.SignIns + +$params = @{ + "@odata.type" = "#microsoft.graph.onOtpSendCustomExtension" + authenticationConfiguration = @{ + "@odata.type" = "#microsoft.graph.azureAdTokenAuthentication" + resourceId = "api://onotpsendcustomextension.b2c.expert/fb96de85-2abe-4b02-b45f-64ba122c509e" + } + clientConfiguration = @{ + timeoutInMilliseconds = 2000 + maximumRetries = 1 + } + description = "Use an external Email provider to send OTP Codes." + displayName = "onEmailOtpSendCustomExtension" + endpointConfiguration = @{ + "@odata.type" = "#microsoft.graph.httpRequestEndpoint" + targetUrl = "https://onotpsendcustomextension.b2c.expert/api/OnOTPCodeSendToTeamsDemo" + } + behaviorOnError = @{ + "@odata.type" = "microsoft.graph.customExtensionBehaviorOnError" + } +} + +New-MgIdentityCustomAuthenticationExtension -BodyParameter $params + +``` +This example will create an onotpsendcustomextension object diff --git a/src/Identity.SignIns/v1.0/examples/New-MgPolicyFeatureRolloutPolicyApplyTo.md b/src/Identity.SignIns/v1.0/examples/New-MgPolicyFeatureRolloutPolicyApplyTo.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/v1.0/examples/New-MgPolicyFeatureRolloutPolicyApplyTo.md +++ b/src/Identity.SignIns/v1.0/examples/New-MgPolicyFeatureRolloutPolicyApplyTo.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/v1.0/examples/Remove-MgIdentityB2XUserFlowLanguageOverridePage.md b/src/Identity.SignIns/v1.0/examples/Remove-MgIdentityB2XUserFlowLanguageOverridePage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/v1.0/examples/Remove-MgIdentityB2XUserFlowLanguageOverridePage.md +++ b/src/Identity.SignIns/v1.0/examples/Remove-MgIdentityB2XUserFlowLanguageOverridePage.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/v1.0/examples/Remove-MgIdentityB2XUserFlowLanguageOverridePageContent.md b/src/Identity.SignIns/v1.0/examples/Remove-MgIdentityB2XUserFlowLanguageOverridePageContent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/v1.0/examples/Remove-MgIdentityB2XUserFlowLanguageOverridePageContent.md +++ b/src/Identity.SignIns/v1.0/examples/Remove-MgIdentityB2XUserFlowLanguageOverridePageContent.md @@ -1 +0,0 @@ - diff --git a/src/Identity.SignIns/v1.0/examples/Remove-MgUserAuthenticationPlatformCredentialMethod.md b/src/Identity.SignIns/v1.0/examples/Remove-MgUserAuthenticationPlatformCredentialMethod.md new file mode 100644 index 00000000000..ed550accb1c --- /dev/null +++ b/src/Identity.SignIns/v1.0/examples/Remove-MgUserAuthenticationPlatformCredentialMethod.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Identity.SignIns + +Remove-MgUserAuthenticationPlatformCredentialMethod -UserId $userId -PlatformCredentialAuthenticationMethodId $platformCredentialAuthenticationMethodId + +``` +This example shows how to use the Remove-MgUserAuthenticationPlatformCredentialMethod Cmdlet. + diff --git a/src/Identity.SignIns/v1.0/examples/Update-MgIdentityB2XUserFlowLanguageOverridePage.md b/src/Identity.SignIns/v1.0/examples/Update-MgIdentityB2XUserFlowLanguageOverridePage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Identity.SignIns/v1.0/examples/Update-MgIdentityB2XUserFlowLanguageOverridePage.md +++ b/src/Identity.SignIns/v1.0/examples/Update-MgIdentityB2XUserFlowLanguageOverridePage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaForwardUserMailFolderChildFolderMessage.md b/src/Mail/beta/examples/Invoke-MgBetaForwardUserMailFolderChildFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaForwardUserMailFolderChildFolderMessage.md +++ b/src/Mail/beta/examples/Invoke-MgBetaForwardUserMailFolderChildFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaForwardUserMailFolderMessage.md b/src/Mail/beta/examples/Invoke-MgBetaForwardUserMailFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaForwardUserMailFolderMessage.md +++ b/src/Mail/beta/examples/Invoke-MgBetaForwardUserMailFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsJunk.md b/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsJunk.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsJunk.md +++ b/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsJunk.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsNotJunk.md b/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsNotJunk.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsNotJunk.md +++ b/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderChildFolderMessageAsNotJunk.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsJunk.md b/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsJunk.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsJunk.md +++ b/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsJunk.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsNotJunk.md b/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsNotJunk.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsNotJunk.md +++ b/src/Mail/beta/examples/Invoke-MgBetaMarkUserMailFolderMessageAsNotJunk.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaReplyAllUserMailFolderChildFolderMessage.md b/src/Mail/beta/examples/Invoke-MgBetaReplyAllUserMailFolderChildFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaReplyAllUserMailFolderChildFolderMessage.md +++ b/src/Mail/beta/examples/Invoke-MgBetaReplyAllUserMailFolderChildFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaReplyAllUserMailFolderMessage.md b/src/Mail/beta/examples/Invoke-MgBetaReplyAllUserMailFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaReplyAllUserMailFolderMessage.md +++ b/src/Mail/beta/examples/Invoke-MgBetaReplyAllUserMailFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaReplyUserMailFolderChildFolderMessage.md b/src/Mail/beta/examples/Invoke-MgBetaReplyUserMailFolderChildFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaReplyUserMailFolderChildFolderMessage.md +++ b/src/Mail/beta/examples/Invoke-MgBetaReplyUserMailFolderChildFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaReplyUserMailFolderMessage.md b/src/Mail/beta/examples/Invoke-MgBetaReplyUserMailFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaReplyUserMailFolderMessage.md +++ b/src/Mail/beta/examples/Invoke-MgBetaReplyUserMailFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderChildFolderMessage.md b/src/Mail/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderChildFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderChildFolderMessage.md +++ b/src/Mail/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderChildFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderMessage.md b/src/Mail/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderMessage.md +++ b/src/Mail/beta/examples/Invoke-MgBetaUnsubscribeUserMailFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Move-MgBetaUserMailFolderChildFolder.md b/src/Mail/beta/examples/Move-MgBetaUserMailFolderChildFolder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Move-MgBetaUserMailFolderChildFolder.md +++ b/src/Mail/beta/examples/Move-MgBetaUserMailFolderChildFolder.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Move-MgBetaUserMailFolderChildFolderMessage.md b/src/Mail/beta/examples/Move-MgBetaUserMailFolderChildFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Move-MgBetaUserMailFolderChildFolderMessage.md +++ b/src/Mail/beta/examples/Move-MgBetaUserMailFolderChildFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Move-MgBetaUserMailFolderMessage.md b/src/Mail/beta/examples/Move-MgBetaUserMailFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Move-MgBetaUserMailFolderMessage.md +++ b/src/Mail/beta/examples/Move-MgBetaUserMailFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageForward.md b/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageForward.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageForward.md +++ b/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageForward.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReply.md b/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReply.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReply.md +++ b/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReply.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReplyAll.md b/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReplyAll.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReplyAll.md +++ b/src/Mail/beta/examples/New-MgBetaUserMailFolderChildFolderMessageReplyAll.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageForward.md b/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageForward.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageForward.md +++ b/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageForward.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageReply.md b/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageReply.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageReply.md +++ b/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageReply.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageReplyAll.md b/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageReplyAll.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageReplyAll.md +++ b/src/Mail/beta/examples/New-MgBetaUserMailFolderMessageReplyAll.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Remove-MgBetaUserMailFolderChildFolderMessagePermanent.md b/src/Mail/beta/examples/Remove-MgBetaUserMailFolderChildFolderMessagePermanent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Remove-MgBetaUserMailFolderChildFolderMessagePermanent.md +++ b/src/Mail/beta/examples/Remove-MgBetaUserMailFolderChildFolderMessagePermanent.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Remove-MgBetaUserMailFolderChildFolderPermanent.md b/src/Mail/beta/examples/Remove-MgBetaUserMailFolderChildFolderPermanent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Remove-MgBetaUserMailFolderChildFolderPermanent.md +++ b/src/Mail/beta/examples/Remove-MgBetaUserMailFolderChildFolderPermanent.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Remove-MgBetaUserMailFolderMessagePermanent.md b/src/Mail/beta/examples/Remove-MgBetaUserMailFolderMessagePermanent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Remove-MgBetaUserMailFolderMessagePermanent.md +++ b/src/Mail/beta/examples/Remove-MgBetaUserMailFolderMessagePermanent.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Send-MgBetaUserMailFolderChildFolderMessage.md b/src/Mail/beta/examples/Send-MgBetaUserMailFolderChildFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Send-MgBetaUserMailFolderChildFolderMessage.md +++ b/src/Mail/beta/examples/Send-MgBetaUserMailFolderChildFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/beta/examples/Send-MgBetaUserMailFolderMessage.md b/src/Mail/beta/examples/Send-MgBetaUserMailFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/beta/examples/Send-MgBetaUserMailFolderMessage.md +++ b/src/Mail/beta/examples/Send-MgBetaUserMailFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Get-MgUserMailFolderChildFolderMessageDelta.md b/src/Mail/v1.0/examples/Get-MgUserMailFolderChildFolderMessageDelta.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Get-MgUserMailFolderChildFolderMessageDelta.md +++ b/src/Mail/v1.0/examples/Get-MgUserMailFolderChildFolderMessageDelta.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Get-MgUserMessageDelta.md b/src/Mail/v1.0/examples/Get-MgUserMessageDelta.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Get-MgUserMessageDelta.md +++ b/src/Mail/v1.0/examples/Get-MgUserMessageDelta.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Invoke-MgForwardUserMailFolderChildFolderMessage.md b/src/Mail/v1.0/examples/Invoke-MgForwardUserMailFolderChildFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Invoke-MgForwardUserMailFolderChildFolderMessage.md +++ b/src/Mail/v1.0/examples/Invoke-MgForwardUserMailFolderChildFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Invoke-MgForwardUserMailFolderMessage.md b/src/Mail/v1.0/examples/Invoke-MgForwardUserMailFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Invoke-MgForwardUserMailFolderMessage.md +++ b/src/Mail/v1.0/examples/Invoke-MgForwardUserMailFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Invoke-MgReplyAllUserMailFolderChildFolderMessage.md b/src/Mail/v1.0/examples/Invoke-MgReplyAllUserMailFolderChildFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Invoke-MgReplyAllUserMailFolderChildFolderMessage.md +++ b/src/Mail/v1.0/examples/Invoke-MgReplyAllUserMailFolderChildFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Invoke-MgReplyAllUserMailFolderMessage.md b/src/Mail/v1.0/examples/Invoke-MgReplyAllUserMailFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Invoke-MgReplyAllUserMailFolderMessage.md +++ b/src/Mail/v1.0/examples/Invoke-MgReplyAllUserMailFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Invoke-MgReplyUserMailFolderChildFolderMessage.md b/src/Mail/v1.0/examples/Invoke-MgReplyUserMailFolderChildFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Invoke-MgReplyUserMailFolderChildFolderMessage.md +++ b/src/Mail/v1.0/examples/Invoke-MgReplyUserMailFolderChildFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Invoke-MgReplyUserMailFolderMessage.md b/src/Mail/v1.0/examples/Invoke-MgReplyUserMailFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Invoke-MgReplyUserMailFolderMessage.md +++ b/src/Mail/v1.0/examples/Invoke-MgReplyUserMailFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Move-MgUserMailFolderChildFolder.md b/src/Mail/v1.0/examples/Move-MgUserMailFolderChildFolder.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Move-MgUserMailFolderChildFolder.md +++ b/src/Mail/v1.0/examples/Move-MgUserMailFolderChildFolder.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Move-MgUserMailFolderChildFolderMessage.md b/src/Mail/v1.0/examples/Move-MgUserMailFolderChildFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Move-MgUserMailFolderChildFolderMessage.md +++ b/src/Mail/v1.0/examples/Move-MgUserMailFolderChildFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Move-MgUserMailFolderMessage.md b/src/Mail/v1.0/examples/Move-MgUserMailFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Move-MgUserMailFolderMessage.md +++ b/src/Mail/v1.0/examples/Move-MgUserMailFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageForward.md b/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageForward.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageForward.md +++ b/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageForward.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageReply.md b/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageReply.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageReply.md +++ b/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageReply.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageReplyAll.md b/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageReplyAll.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageReplyAll.md +++ b/src/Mail/v1.0/examples/New-MgUserMailFolderChildFolderMessageReplyAll.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/New-MgUserMailFolderMessageForward.md b/src/Mail/v1.0/examples/New-MgUserMailFolderMessageForward.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/New-MgUserMailFolderMessageForward.md +++ b/src/Mail/v1.0/examples/New-MgUserMailFolderMessageForward.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/New-MgUserMailFolderMessageReply.md b/src/Mail/v1.0/examples/New-MgUserMailFolderMessageReply.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/New-MgUserMailFolderMessageReply.md +++ b/src/Mail/v1.0/examples/New-MgUserMailFolderMessageReply.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/New-MgUserMailFolderMessageReplyAll.md b/src/Mail/v1.0/examples/New-MgUserMailFolderMessageReplyAll.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/New-MgUserMailFolderMessageReplyAll.md +++ b/src/Mail/v1.0/examples/New-MgUserMailFolderMessageReplyAll.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Send-MgUserMailFolderChildFolderMessage.md b/src/Mail/v1.0/examples/Send-MgUserMailFolderChildFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Send-MgUserMailFolderChildFolderMessage.md +++ b/src/Mail/v1.0/examples/Send-MgUserMailFolderChildFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/Mail/v1.0/examples/Send-MgUserMailFolderMessage.md b/src/Mail/v1.0/examples/Send-MgUserMailFolderMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Mail/v1.0/examples/Send-MgUserMailFolderMessage.md +++ b/src/Mail/v1.0/examples/Send-MgUserMailFolderMessage.md @@ -1 +0,0 @@ - diff --git a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessLogConnection.md b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessLogConnection.md index e69de29bb2d..e1cb7ef34bc 100644 --- a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessLogConnection.md +++ b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessLogConnection.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.NetworkAccess + +Get-MgBetaNetworkAccessLogConnection + +``` +This example shows how to use the Get-MgBetaNetworkAccessLogConnection Cmdlet. + diff --git a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportConnectionSummary.md b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportConnectionSummary.md index e69de29bb2d..0472b0d4444 100644 --- a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportConnectionSummary.md +++ b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportConnectionSummary.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.NetworkAccess + +Get-MgBetaNetworkAccessReportConnectionSummary + +``` +This example shows how to use the Get-MgBetaNetworkAccessReportConnectionSummary Cmdlet. + diff --git a/src/NetworkAccess/beta/examples/Invoke-MgBetaUsageNetworkAccessReportProfiling.md b/src/NetworkAccess/beta/examples/Invoke-MgBetaUsageNetworkAccessReportProfiling.md new file mode 100644 index 00000000000..914e6133623 --- /dev/null +++ b/src/NetworkAccess/beta/examples/Invoke-MgBetaUsageNetworkAccessReportProfiling.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.NetworkAccess + +Invoke-MgBetaUsageNetworkAccessReportProfiling + +``` +This example shows how to use the Invoke-MgBetaUsageNetworkAccessReportProfiling Cmdlet. + diff --git a/src/Notes/v1.0/examples/Get-MgSiteOnenoteNotebookFromWebUrl.md b/src/Notes/v1.0/examples/Get-MgSiteOnenoteNotebookFromWebUrl.md index 8b137891791..e69de29bb2d 100644 --- a/src/Notes/v1.0/examples/Get-MgSiteOnenoteNotebookFromWebUrl.md +++ b/src/Notes/v1.0/examples/Get-MgSiteOnenoteNotebookFromWebUrl.md @@ -1 +0,0 @@ - diff --git a/src/Notes/v1.0/examples/Get-MgSiteOnenoteNotebookRecentNotebook.md b/src/Notes/v1.0/examples/Get-MgSiteOnenoteNotebookRecentNotebook.md index 8b137891791..e69de29bb2d 100644 --- a/src/Notes/v1.0/examples/Get-MgSiteOnenoteNotebookRecentNotebook.md +++ b/src/Notes/v1.0/examples/Get-MgSiteOnenoteNotebookRecentNotebook.md @@ -1 +0,0 @@ - diff --git a/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderChildFolderContactPermanent.md b/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderChildFolderContactPermanent.md index 8b137891791..e69de29bb2d 100644 --- a/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderChildFolderContactPermanent.md +++ b/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderChildFolderContactPermanent.md @@ -1 +0,0 @@ - diff --git a/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderChildFolderPermanent.md b/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderChildFolderPermanent.md index 8b137891791..e69de29bb2d 100644 --- a/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderChildFolderPermanent.md +++ b/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderChildFolderPermanent.md @@ -1 +0,0 @@ - diff --git a/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderContactPermanent.md b/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderContactPermanent.md index 8b137891791..e69de29bb2d 100644 --- a/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderContactPermanent.md +++ b/src/PersonalContacts/beta/examples/Remove-MgBetaUserContactFolderContactPermanent.md @@ -1 +0,0 @@ - diff --git a/src/PersonalContacts/v1.0/examples/Get-MgUserContactDelta.md b/src/PersonalContacts/v1.0/examples/Get-MgUserContactDelta.md index 8b137891791..e69de29bb2d 100644 --- a/src/PersonalContacts/v1.0/examples/Get-MgUserContactDelta.md +++ b/src/PersonalContacts/v1.0/examples/Get-MgUserContactDelta.md @@ -1 +0,0 @@ - diff --git a/src/PersonalContacts/v1.0/examples/Get-MgUserContactFolderChildFolderContactDelta.md b/src/PersonalContacts/v1.0/examples/Get-MgUserContactFolderChildFolderContactDelta.md index 8b137891791..e69de29bb2d 100644 --- a/src/PersonalContacts/v1.0/examples/Get-MgUserContactFolderChildFolderContactDelta.md +++ b/src/PersonalContacts/v1.0/examples/Get-MgUserContactFolderChildFolderContactDelta.md @@ -1 +0,0 @@ - diff --git a/src/PersonalContacts/v1.0/examples/Get-MgUserContactFolderChildFolderDelta.md b/src/PersonalContacts/v1.0/examples/Get-MgUserContactFolderChildFolderDelta.md index 8b137891791..e69de29bb2d 100644 --- a/src/PersonalContacts/v1.0/examples/Get-MgUserContactFolderChildFolderDelta.md +++ b/src/PersonalContacts/v1.0/examples/Get-MgUserContactFolderChildFolderDelta.md @@ -1 +0,0 @@ - diff --git a/src/Planner/beta/examples/Invoke-MgBetaArchiveGroupPlannerPlan.md b/src/Planner/beta/examples/Invoke-MgBetaArchiveGroupPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Planner/beta/examples/Invoke-MgBetaArchiveGroupPlannerPlan.md +++ b/src/Planner/beta/examples/Invoke-MgBetaArchiveGroupPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Planner/beta/examples/Invoke-MgBetaArchiveUserPlannerPlan.md b/src/Planner/beta/examples/Invoke-MgBetaArchiveUserPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Planner/beta/examples/Invoke-MgBetaArchiveUserPlannerPlan.md +++ b/src/Planner/beta/examples/Invoke-MgBetaArchiveUserPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Planner/beta/examples/Invoke-MgBetaUnarchiveGroupPlannerPlan.md b/src/Planner/beta/examples/Invoke-MgBetaUnarchiveGroupPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Planner/beta/examples/Invoke-MgBetaUnarchiveGroupPlannerPlan.md +++ b/src/Planner/beta/examples/Invoke-MgBetaUnarchiveGroupPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Planner/beta/examples/Invoke-MgBetaUnarchiveUserPlannerPlan.md b/src/Planner/beta/examples/Invoke-MgBetaUnarchiveUserPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Planner/beta/examples/Invoke-MgBetaUnarchiveUserPlannerPlan.md +++ b/src/Planner/beta/examples/Invoke-MgBetaUnarchiveUserPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Planner/beta/examples/Move-MgBetaGroupPlannerPlanToContainer.md b/src/Planner/beta/examples/Move-MgBetaGroupPlannerPlanToContainer.md index 8b137891791..e69de29bb2d 100644 --- a/src/Planner/beta/examples/Move-MgBetaGroupPlannerPlanToContainer.md +++ b/src/Planner/beta/examples/Move-MgBetaGroupPlannerPlanToContainer.md @@ -1 +0,0 @@ - diff --git a/src/Reports/beta/examples/Export-MgBetaReportPartnerBillingReconciliationUnbilled.md b/src/Reports/beta/examples/Export-MgBetaReportPartnerBillingReconciliationUnbilled.md index e69de29bb2d..15778629d91 100644 --- a/src/Reports/beta/examples/Export-MgBetaReportPartnerBillingReconciliationUnbilled.md +++ b/src/Reports/beta/examples/Export-MgBetaReportPartnerBillingReconciliationUnbilled.md @@ -0,0 +1,17 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +$params = @{ + currencyCode = "USD" + attributeSet = "full" + billingPeriod = "current" +} + +Export-MgBetaReportPartnerBillingReconciliationUnbilled -BodyParameter $params + +``` +This example shows how to use the Export-MgBetaReportPartnerBillingReconciliationUnbilled Cmdlet. + diff --git a/src/Reports/beta/examples/Invoke-MgBetaDismissAuditLogSignIn.md b/src/Reports/beta/examples/Invoke-MgBetaDismissAuditLogSignIn.md new file mode 100644 index 00000000000..38a95b4ef8e --- /dev/null +++ b/src/Reports/beta/examples/Invoke-MgBetaDismissAuditLogSignIn.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +$params = @{ + requestIds = @( + "29f270bb-4d23-4f68-8a57-dc73dc0d4caf" +"20f91ec9-d140-4d90-9cd9-f618587a1471" +) +} + +Invoke-MgBetaDismissAuditLogSignIn -BodyParameter $params + +``` +This example shows how to use the Invoke-MgBetaDismissAuditLogSignIn Cmdlet. + diff --git a/src/Reports/v1.0/examples/Confirm-MgAuditLogSignInCompromised.md b/src/Reports/v1.0/examples/Confirm-MgAuditLogSignInCompromised.md index e69de29bb2d..39a2513abdf 100644 --- a/src/Reports/v1.0/examples/Confirm-MgAuditLogSignInCompromised.md +++ b/src/Reports/v1.0/examples/Confirm-MgAuditLogSignInCompromised.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Reports + +$params = @{ + requestIds = @( + "29f270bb-4d23-4f68-8a57-dc73dc0d4caf" +"20f91ec9-d140-4d90-9cd9-f618587a1471" +) +} + +Confirm-MgAuditLogSignInCompromised -BodyParameter $params + +``` +This example shows how to use the Confirm-MgAuditLogSignInCompromised Cmdlet. + diff --git a/src/Reports/v1.0/examples/Confirm-MgAuditLogSignInSafe.md b/src/Reports/v1.0/examples/Confirm-MgAuditLogSignInSafe.md index e69de29bb2d..856b897842c 100644 --- a/src/Reports/v1.0/examples/Confirm-MgAuditLogSignInSafe.md +++ b/src/Reports/v1.0/examples/Confirm-MgAuditLogSignInSafe.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Reports + +$params = @{ + requestIds = @( + "29f270bb-4d23-4f68-8a57-dc73dc0d4caf" +"20f91ec9-d140-4d90-9cd9-f618587a1471" +) +} + +Confirm-MgAuditLogSignInSafe -BodyParameter $params + +``` +This example shows how to use the Confirm-MgAuditLogSignInSafe Cmdlet. + diff --git a/src/Reports/v1.0/examples/Invoke-MgDismissAuditLogSignIn.md b/src/Reports/v1.0/examples/Invoke-MgDismissAuditLogSignIn.md new file mode 100644 index 00000000000..713fe34ff8f --- /dev/null +++ b/src/Reports/v1.0/examples/Invoke-MgDismissAuditLogSignIn.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Reports + +$params = @{ + requestIds = @( + "29f270bb-4d23-4f68-8a57-dc73dc0d4caf" +"20f91ec9-d140-4d90-9cd9-f618587a1471" +) +} + +Invoke-MgDismissAuditLogSignIn -BodyParameter $params + +``` +This example shows how to use the Invoke-MgDismissAuditLogSignIn Cmdlet. + diff --git a/src/Search/beta/examples/New-MgBetaExternalIndustryDataConnector.md b/src/Search/beta/examples/New-MgBetaExternalIndustryDataConnector.md index 13ad37982f3..2dfd81cbf13 100644 --- a/src/Search/beta/examples/New-MgBetaExternalIndustryDataConnector.md +++ b/src/Search/beta/examples/New-MgBetaExternalIndustryDataConnector.md @@ -5,13 +5,23 @@ Import-Module Microsoft.Graph.Beta.Search $params = @{ - "@odata.type" = "#microsoft.graph.industryData.azureDataLakeConnector" - displayName = "CSV connector" - "sourceSystem@odata.bind" = "https://graph.microsoft.com/beta/external/industryData/sourceSystems('aa050107-5784-4a8e-1876-08daddab21bc')" - fileFormat = @{ - "@odata.type" = "microsoft.graph.industryData.fileFormatReferenceValue" - code = "schoolDataSyncV1" + "@odata.type" = "#microsoft.graph.industryData.oneRosterApiDataConnector" + displayName = "Generic OAuth2 Connector" + "sourceSystem@odata.bind" = "https://graph.microsoft.com/beta/external/industryData/sourceSystems('c93a6e02-aeb7-437f-cc52-08dc3fc158af')" + apiFormat = "oneRoster" + baseUrl = "https://fakeProvider.net/ims/oneroster/v1p1" + apiVersion = "1.1" + credential = @{ + "@odata.type" = "#microsoft.graph.industryData.oAuth2ClientCredential" + displayName = "One Roster API Credentials" + clientId = "530be723-6af3-4952-8658-668fb2598ad7" + clientSecret = "thisIsASecret" + tokenUrl = "https://login.microsoftonline.com/c27f982b-f7ee-4b8b-bb0e-3c55bd1dc02c/oauth2/token" + scope = $null } + isDemographicsEnabled = $false + isFlagsEnabled = $false + isContactsEnabled = $false } New-MgBetaExternalIndustryDataConnector -BodyParameter $params diff --git a/src/Search/beta/examples/New-MgBetaExternalIndustryDataInboundFlow.md b/src/Search/beta/examples/New-MgBetaExternalIndustryDataInboundFlow.md index c9fe2f27448..2f5dcf98d5e 100644 --- a/src/Search/beta/examples/New-MgBetaExternalIndustryDataInboundFlow.md +++ b/src/Search/beta/examples/New-MgBetaExternalIndustryDataInboundFlow.md @@ -5,7 +5,7 @@ Import-Module Microsoft.Graph.Beta.Search $params = @{ - "@odata.type" = "#microsoft.graph.industryData.inboundFileFlow" + "@odata.type" = "#microsoft.graph.industryData.inboundApiFlow" "dataConnector@odata.bind" = "https://graph.microsoft.com/beta/external/industryData/dataConnectors/51dca0a0-85f6-4478-f526-08daddab2271" dataDomain = "educationRostering" displayName = "Inbound rostering flow" diff --git a/src/Search/beta/examples/Update-MgBetaExternalIndustryDataConnector.md b/src/Search/beta/examples/Update-MgBetaExternalIndustryDataConnector.md index 068120be331..24696d95266 100644 --- a/src/Search/beta/examples/Update-MgBetaExternalIndustryDataConnector.md +++ b/src/Search/beta/examples/Update-MgBetaExternalIndustryDataConnector.md @@ -5,8 +5,8 @@ Import-Module Microsoft.Graph.Beta.Search $params = @{ - "@odata.type" = "microsoft.graph.industryData.azureDataLakeConnector" - displayName = "CSV files from SIS" + "@odata.type" = "microsoft.graph.industryData.oneRosterApiDataConnector" + displayName = "One Roster Connector" } Update-MgBetaExternalIndustryDataConnector -IndustryDataConnectorId $industryDataConnectorId -BodyParameter $params diff --git a/src/Search/beta/examples/Update-MgBetaExternalIndustryDataInboundFlow.md b/src/Search/beta/examples/Update-MgBetaExternalIndustryDataInboundFlow.md index 86a8a458b2f..99168322581 100644 --- a/src/Search/beta/examples/Update-MgBetaExternalIndustryDataInboundFlow.md +++ b/src/Search/beta/examples/Update-MgBetaExternalIndustryDataInboundFlow.md @@ -5,7 +5,7 @@ Import-Module Microsoft.Graph.Beta.Search $params = @{ - "@odata.type" = "#microsoft.graph.industryData.inboundApiFlow" + "@odata.type" = "#microsoft.graph.industryData.inboundFileFlow" displayName = "Updated flow name" } diff --git a/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md b/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md index fb9d68b525a..e06770edd3e 100644 --- a/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md +++ b/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md @@ -7,7 +7,7 @@ Import-Module Microsoft.Graph.Beta.Security $params = @{ outputName = "Export via API" description = "Export for the Contoso investigation" - exportOptions = "originalFiles, tags, splitSource, includeFolderAndPath, friendlyName, condensePaths, optimizedPartitionSize" + exportOptions = "originalFiles, tags, splitSource, includeFolderAndPath, friendlyName, condensePaths" exportStructure = "msg" } diff --git a/src/Security/beta/examples/Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabel.md b/src/Security/beta/examples/Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabel.md index e69de29bb2d..33211bb84b6 100644 --- a/src/Security/beta/examples/Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabel.md +++ b/src/Security/beta/examples/Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabel.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabel -Filter "applicableTo has 'File' and id in ('4e4234dd-377b-42a3-935b-0e42f138fa23','b7a21bba-8197-491f-a5d6-0d0f955397ca')" + +``` +This example shows how to use the Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabel Cmdlet. + diff --git a/src/Security/beta/examples/Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabelRight.md b/src/Security/beta/examples/Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabelRight.md index e69de29bb2d..73a1acc636d 100644 --- a/src/Security/beta/examples/Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabelRight.md +++ b/src/Security/beta/examples/Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabelRight.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabelRight -SensitivityLabelId $sensitivityLabelId -Owneremail "bob@contoso.com" + +``` +This example shows how to use the Get-MgBetaSecurityDataSecurityAndGovernanceSensitivityLabelRight Cmdlet. + diff --git a/src/Security/beta/examples/Invoke-MgBetaAndSecurityDataSecurityAndGovernanceSensitivityLabel.md b/src/Security/beta/examples/Invoke-MgBetaAndSecurityDataSecurityAndGovernanceSensitivityLabel.md new file mode 100644 index 00000000000..4059f26bdf8 --- /dev/null +++ b/src/Security/beta/examples/Invoke-MgBetaAndSecurityDataSecurityAndGovernanceSensitivityLabel.md @@ -0,0 +1,24 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + delegatedUserEmail = "String" + locale = "String" + protectedContents = @( + @{ + "@odata.type" = "microsoft.graph.protectedContent" + } + ) + supportedContentFormats = @( + "String" +) +} + +Invoke-MgBetaAndSecurityDataSecurityAndGovernanceSensitivityLabel -BodyParameter $params + +``` +This example shows how to use the Invoke-MgBetaAndSecurityDataSecurityAndGovernanceSensitivityLabel Cmdlet. + diff --git a/src/Security/beta/examples/Invoke-MgBetaAndSecurityDataSecurityAndGovernanceSensitivityLabelSublabel.md b/src/Security/beta/examples/Invoke-MgBetaAndSecurityDataSecurityAndGovernanceSensitivityLabelSublabel.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Security/beta/examples/Invoke-MgBetaComputeSecurityDataSecurityAndGovernanceSensitivityLabelInheritance.md b/src/Security/beta/examples/Invoke-MgBetaComputeSecurityDataSecurityAndGovernanceSensitivityLabelInheritance.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Security/beta/examples/Invoke-MgBetaComputeSecurityDataSecurityAndGovernanceSensitivityLabelSublabelInheritance.md b/src/Security/beta/examples/Invoke-MgBetaComputeSecurityDataSecurityAndGovernanceSensitivityLabelSublabelInheritance.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Security/beta/examples/Invoke-MgBetaExtractSecurityInformationProtectionSensitivityLabelContentLabel.md b/src/Security/beta/examples/Invoke-MgBetaExtractSecurityInformationProtectionSensitivityLabelContentLabel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Security/beta/examples/Invoke-MgBetaExtractSecurityInformationProtectionSensitivityLabelContentLabel.md +++ b/src/Security/beta/examples/Invoke-MgBetaExtractSecurityInformationProtectionSensitivityLabelContentLabel.md @@ -1 +0,0 @@ - diff --git a/src/Security/beta/examples/New-MgBetaSecurityCaseEdiscoveryCaseMember.md b/src/Security/beta/examples/New-MgBetaSecurityCaseEdiscoveryCaseMember.md index e69de29bb2d..d4b6e9959a4 100644 --- a/src/Security/beta/examples/New-MgBetaSecurityCaseEdiscoveryCaseMember.md +++ b/src/Security/beta/examples/New-MgBetaSecurityCaseEdiscoveryCaseMember.md @@ -0,0 +1,64 @@ +### Example 1: Add a case member of type **user** using **smtpAddress** + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + recipientType = "user" + smtpAddress = "johnadams@microsoft.com" +} + +New-MgBetaSecurityCaseEdiscoveryCaseMember -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params + +``` +This example will add a case member of type **user** using **smtpaddress** + +### Example 2: Add a case member of type **roleGroup** using **displayName** + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + recipientType = "roleGroup" + displayName = "Security Administrator" +} + +New-MgBetaSecurityCaseEdiscoveryCaseMember -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params + +``` +This example will add a case member of type **rolegroup** using **displayname** + +### Example 3: Add a case member of type **user** using **ID* + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + recipientType = "user" + id = "c4af6f9d-37f6-43f9-9e17-601544234146" +} + +New-MgBetaSecurityCaseEdiscoveryCaseMember -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params + +``` +This example will add a case member of type **user** using **id* + +### Example 4: Add a case member of type **roleGroup** using **ID** + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + recipientType = "roleGroup" + id = "b9fb4f22-5f90-47a0-b309-44fe96a959fd" +} + +New-MgBetaSecurityCaseEdiscoveryCaseMember -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params + +``` +This example will add a case member of type **rolegroup** using **id** + diff --git a/src/Security/beta/examples/Remove-MgBetaSecurityCaseEdiscoveryCaseMember.md b/src/Security/beta/examples/Remove-MgBetaSecurityCaseEdiscoveryCaseMember.md index e69de29bb2d..1895345037c 100644 --- a/src/Security/beta/examples/Remove-MgBetaSecurityCaseEdiscoveryCaseMember.md +++ b/src/Security/beta/examples/Remove-MgBetaSecurityCaseEdiscoveryCaseMember.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +Remove-MgBetaSecurityCaseEdiscoveryCaseMember -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCaseMemberId $ediscoveryCaseMemberId + +``` +This example shows how to use the Remove-MgBetaSecurityCaseEdiscoveryCaseMember Cmdlet. + diff --git a/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelApplication.md b/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelApplication.md index 8b137891791..e69de29bb2d 100644 --- a/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelApplication.md +++ b/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelApplication.md @@ -1 +0,0 @@ - diff --git a/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelClassificationResult.md b/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelClassificationResult.md index 8b137891791..e69de29bb2d 100644 --- a/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelClassificationResult.md +++ b/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelClassificationResult.md @@ -1 +0,0 @@ - diff --git a/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelRemoval.md b/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelRemoval.md index 8b137891791..e69de29bb2d 100644 --- a/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelRemoval.md +++ b/src/Security/beta/examples/Test-MgBetaSecurityInformationProtectionSensitivityLabelRemoval.md @@ -1 +0,0 @@ - diff --git a/src/Security/beta/examples/Update-MgBetaSecurityAlertV2.md b/src/Security/beta/examples/Update-MgBetaSecurityAlertV2.md index f48798dd9bf..974f97ac65c 100644 --- a/src/Security/beta/examples/Update-MgBetaSecurityAlertV2.md +++ b/src/Security/beta/examples/Update-MgBetaSecurityAlertV2.md @@ -9,6 +9,9 @@ $params = @{ classification = "truePositive" determination = "malware" status = "inProgress" + CustomDetails = @{ + newKey = "newValue" + } } Update-MgBetaSecurityAlertV2 -AlertId $alertId -BodyParameter $params diff --git a/src/Security/v1.0/examples/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md b/src/Security/v1.0/examples/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md index e79e271d879..83b26ab2f98 100644 --- a/src/Security/v1.0/examples/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md +++ b/src/Security/v1.0/examples/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md @@ -9,6 +9,8 @@ $params = @{ id = "c17e91d6-6bc0-4ecb-b388-269ea3d4ffb7" } additionalDataOptions = "linkedFiles" + cloudAttachmentVersion = "latest" + documentVersion = "recent10" } Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params diff --git a/src/Security/v1.0/examples/Export-MgSecurityCaseEdiscoveryCaseSearchResult.md b/src/Security/v1.0/examples/Export-MgSecurityCaseEdiscoveryCaseSearchResult.md index 8b137891791..956765adea6 100644 --- a/src/Security/v1.0/examples/Export-MgSecurityCaseEdiscoveryCaseSearchResult.md +++ b/src/Security/v1.0/examples/Export-MgSecurityCaseEdiscoveryCaseSearchResult.md @@ -1 +1,96 @@ +### Example 1: Export results with search hits only, excluding partially indexed items, as .pst files for each mailbox, and thread contextual chat messages into HTML transcripts + +```powershell + +Import-Module Microsoft.Graph.Security + +$params = @{ + displayName = "Export 1 - simple PST" + exportCriteria = "searchHits" + additionalOptions = "htmlTranscripts, splitSource, includeFolderAndPath, condensePaths, friendlyName" + exportFormat = "pst" +} + +Export-MgSecurityCaseEdiscoveryCaseSearchResult -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export results with search hits only, excluding partially indexed items, as .pst files for each mailbox, and thread contextual chat messages into html transcripts + +### Example 2: Export results with search hits and partially indexed items from all locations, as .pst files for each mailbox + +```powershell + +Import-Module Microsoft.Graph.Security + +$params = @{ + displayName = "Export 2" + exportCriteria = "searchHits, partiallyIndexed" + exportLocation = "responsiveLocations, nonresponsiveLocations" + additionalOptions = "splitSource" + exportFormat = "pst" +} + +Export-MgSecurityCaseEdiscoveryCaseSearchResult -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export results with search hits and partially indexed items from all locations, as .pst files for each mailbox + +### Example 3: Export results with search hits and partially indexed items from locations with search hits, with no additional options, as .msg files for each message + +```powershell + +Import-Module Microsoft.Graph.Security + +$params = @{ + displayName = "Export 3" + exportCriteria = "searchHits, partiallyIndexed" + exportLocation = "responsiveLocations" + additionalOptions = "none" + exportFormat = "msg" +} + +Export-MgSecurityCaseEdiscoveryCaseSearchResult -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export results with search hits and partially indexed items from locations with search hits, with no additional options, as .msg files for each message + +### Example 4: Export results with partially indexed items from all targeted locations, with all additional options, as .eml files for each message + +```powershell + +Import-Module Microsoft.Graph.Security + +$params = @{ + displayName = "Export 4" + exportCriteria = "partiallyIndexed" + exportLocation = "responsiveLocations, nonresponsiveLocations" + additionalOptions = "advancedIndexing, subfolderContents, allItemsInFolder, listAttachments, teamsAndYammerConversations, htmlTranscripts, cloudAttachments, includeFolderAndPath, splitSource, condensePaths, friendlyName, includeReport" + exportFormat = "eml" +} + +Export-MgSecurityCaseEdiscoveryCaseSearchResult -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export results with partially indexed items from all targeted locations, with all additional options, as .eml files for each message + +### Example 5: Export results with partially indexed items from search hit locations and cloud attachments + +```powershell + +Import-Module Microsoft.Graph.Security + +$params = @{ + displayName = "Export 5" + exportCriteria = "partiallyIndexed" + exportLocation = "responsiveLocations" + additionalOptions = "splitSource, includeFolderAndPath, condensePaths, friendlyName" + exportFormat = "eml" + cloudAttachmentVersion = "all" + documentVersion = "recent100" +} + +Export-MgSecurityCaseEdiscoveryCaseSearchResult -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export results with partially indexed items from search hit locations and cloud attachments diff --git a/src/Security/v1.0/examples/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md b/src/Security/v1.0/examples/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md index e4624aadd98..692a8b52744 100644 --- a/src/Security/v1.0/examples/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md +++ b/src/Security/v1.0/examples/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md @@ -4,7 +4,11 @@ Import-Module Microsoft.Graph.Security -Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId +$params = @{ + statisticsOptions = "includeRefiners, includeQueryStats, includeUnindexedStats, advancedIndexing, locationsWithoutHits" +} + +Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params ``` This example shows how to use the Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics Cmdlet. diff --git a/src/Security/v1.0/examples/Update-MgSecurityLabelRetentionLabel.md b/src/Security/v1.0/examples/Update-MgSecurityLabelRetentionLabel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Security/v1.0/examples/Update-MgSecurityLabelRetentionLabel.md +++ b/src/Security/v1.0/examples/Update-MgSecurityLabelRetentionLabel.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Get-MgBetaSite.md b/src/Sites/beta/examples/Get-MgBetaSite.md index eb5b687d85c..4cd9c250e8c 100644 --- a/src/Sites/beta/examples/Get-MgBetaSite.md +++ b/src/Sites/beta/examples/Get-MgBetaSite.md @@ -4,18 +4,7 @@ Import-Module Microsoft.Graph.Beta.Sites -Get-MgBetaSite -Property "siteCollection,webUrl" -Filter "siteCollection/root ne null" - -``` -This example shows how to use the Get-MgBetaSite Cmdlet. - -### Example 2: Code snippet - -```powershell - -Import-Module Microsoft.Graph.Beta.Sites - -Get-MgBetaSite +Get-MgBetaSite -Search '"{query}"' ``` This example shows how to use the Get-MgBetaSite Cmdlet. diff --git a/src/Sites/beta/examples/Grant-MgBetaGroupSiteListItemPermission.md b/src/Sites/beta/examples/Grant-MgBetaGroupSiteListItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Grant-MgBetaGroupSiteListItemPermission.md +++ b/src/Sites/beta/examples/Grant-MgBetaGroupSiteListItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Grant-MgBetaGroupSiteListPermission.md b/src/Sites/beta/examples/Grant-MgBetaGroupSiteListPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Grant-MgBetaGroupSiteListPermission.md +++ b/src/Sites/beta/examples/Grant-MgBetaGroupSiteListPermission.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Grant-MgBetaGroupSitePermission.md b/src/Sites/beta/examples/Grant-MgBetaGroupSitePermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Grant-MgBetaGroupSitePermission.md +++ b/src/Sites/beta/examples/Grant-MgBetaGroupSitePermission.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Grant-MgBetaSiteListItemPermission.md b/src/Sites/beta/examples/Grant-MgBetaSiteListItemPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Grant-MgBetaSiteListItemPermission.md +++ b/src/Sites/beta/examples/Grant-MgBetaSiteListItemPermission.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Grant-MgBetaSiteListPermission.md b/src/Sites/beta/examples/Grant-MgBetaSiteListPermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Grant-MgBetaSiteListPermission.md +++ b/src/Sites/beta/examples/Grant-MgBetaSiteListPermission.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Grant-MgBetaSitePermission.md b/src/Sites/beta/examples/Grant-MgBetaSitePermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Grant-MgBetaSitePermission.md +++ b/src/Sites/beta/examples/Grant-MgBetaSitePermission.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Invoke-MgBetaAndGroupSiteInformationProtectionSensitivityLabel.md b/src/Sites/beta/examples/Invoke-MgBetaAndGroupSiteInformationProtectionSensitivityLabel.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Sites/beta/examples/Invoke-MgBetaAndGroupSiteInformationProtectionSensitivityLabelSublabel.md b/src/Sites/beta/examples/Invoke-MgBetaAndGroupSiteInformationProtectionSensitivityLabelSublabel.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Sites/beta/examples/Invoke-MgBetaArchiveGroupSite.md b/src/Sites/beta/examples/Invoke-MgBetaArchiveGroupSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Invoke-MgBetaArchiveGroupSite.md +++ b/src/Sites/beta/examples/Invoke-MgBetaArchiveGroupSite.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Invoke-MgBetaArchiveSiteGetByPath.md b/src/Sites/beta/examples/Invoke-MgBetaArchiveSiteGetByPath.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Invoke-MgBetaArchiveSiteGetByPath.md +++ b/src/Sites/beta/examples/Invoke-MgBetaArchiveSiteGetByPath.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Invoke-MgBetaComputeGroupSiteInformationProtectionSensitivityLabelInheritance.md b/src/Sites/beta/examples/Invoke-MgBetaComputeGroupSiteInformationProtectionSensitivityLabelInheritance.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Sites/beta/examples/Invoke-MgBetaComputeGroupSiteInformationProtectionSensitivityLabelSublabelInheritance.md b/src/Sites/beta/examples/Invoke-MgBetaComputeGroupSiteInformationProtectionSensitivityLabelSublabelInheritance.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Sites/beta/examples/Invoke-MgBetaExtractGroupSiteInformationProtectionPolicyLabel.md b/src/Sites/beta/examples/Invoke-MgBetaExtractGroupSiteInformationProtectionPolicyLabel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Invoke-MgBetaExtractGroupSiteInformationProtectionPolicyLabel.md +++ b/src/Sites/beta/examples/Invoke-MgBetaExtractGroupSiteInformationProtectionPolicyLabel.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Invoke-MgBetaReauthorizeGroupSiteListSubscription.md b/src/Sites/beta/examples/Invoke-MgBetaReauthorizeGroupSiteListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Invoke-MgBetaReauthorizeGroupSiteListSubscription.md +++ b/src/Sites/beta/examples/Invoke-MgBetaReauthorizeGroupSiteListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Invoke-MgBetaReauthorizeSiteListSubscription.md b/src/Sites/beta/examples/Invoke-MgBetaReauthorizeSiteListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Invoke-MgBetaReauthorizeSiteListSubscription.md +++ b/src/Sites/beta/examples/Invoke-MgBetaReauthorizeSiteListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Invoke-MgBetaUnarchiveGroupSite.md b/src/Sites/beta/examples/Invoke-MgBetaUnarchiveGroupSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Invoke-MgBetaUnarchiveGroupSite.md +++ b/src/Sites/beta/examples/Invoke-MgBetaUnarchiveGroupSite.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Invoke-MgBetaUnarchiveSiteGetByPath.md b/src/Sites/beta/examples/Invoke-MgBetaUnarchiveSiteGetByPath.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Invoke-MgBetaUnarchiveSiteGetByPath.md +++ b/src/Sites/beta/examples/Invoke-MgBetaUnarchiveSiteGetByPath.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Join-MgBetaGroupSiteContentTypeWithHubSite.md b/src/Sites/beta/examples/Join-MgBetaGroupSiteContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Join-MgBetaGroupSiteContentTypeWithHubSite.md +++ b/src/Sites/beta/examples/Join-MgBetaGroupSiteContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Join-MgBetaGroupSiteListContentTypeWithHubSite.md b/src/Sites/beta/examples/Join-MgBetaGroupSiteListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Join-MgBetaGroupSiteListContentTypeWithHubSite.md +++ b/src/Sites/beta/examples/Join-MgBetaGroupSiteListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Join-MgBetaSiteListContentTypeWithHubSite.md b/src/Sites/beta/examples/Join-MgBetaSiteListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Join-MgBetaSiteListContentTypeWithHubSite.md +++ b/src/Sites/beta/examples/Join-MgBetaSiteListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Publish-MgBetaGroupSiteContentType.md b/src/Sites/beta/examples/Publish-MgBetaGroupSiteContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Publish-MgBetaGroupSiteContentType.md +++ b/src/Sites/beta/examples/Publish-MgBetaGroupSiteContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Publish-MgBetaGroupSiteListContentType.md b/src/Sites/beta/examples/Publish-MgBetaGroupSiteListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Publish-MgBetaGroupSiteListContentType.md +++ b/src/Sites/beta/examples/Publish-MgBetaGroupSiteListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Publish-MgBetaSiteListContentType.md b/src/Sites/beta/examples/Publish-MgBetaSiteListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Publish-MgBetaSiteListContentType.md +++ b/src/Sites/beta/examples/Publish-MgBetaSiteListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Remove-MgBetaGroupSite.md b/src/Sites/beta/examples/Remove-MgBetaGroupSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Remove-MgBetaGroupSite.md +++ b/src/Sites/beta/examples/Remove-MgBetaGroupSite.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Restore-MgBetaGroupSiteListItemDocumentSetVersion.md b/src/Sites/beta/examples/Restore-MgBetaGroupSiteListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Restore-MgBetaGroupSiteListItemDocumentSetVersion.md +++ b/src/Sites/beta/examples/Restore-MgBetaGroupSiteListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Revoke-MgBetaGroupSiteListItemPermissionGrant.md b/src/Sites/beta/examples/Revoke-MgBetaGroupSiteListItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Revoke-MgBetaGroupSiteListItemPermissionGrant.md +++ b/src/Sites/beta/examples/Revoke-MgBetaGroupSiteListItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Revoke-MgBetaGroupSiteListPermissionGrant.md b/src/Sites/beta/examples/Revoke-MgBetaGroupSiteListPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Revoke-MgBetaGroupSiteListPermissionGrant.md +++ b/src/Sites/beta/examples/Revoke-MgBetaGroupSiteListPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Revoke-MgBetaGroupSitePermissionGrant.md b/src/Sites/beta/examples/Revoke-MgBetaGroupSitePermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Revoke-MgBetaGroupSitePermissionGrant.md +++ b/src/Sites/beta/examples/Revoke-MgBetaGroupSitePermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Revoke-MgBetaSiteListItemPermissionGrant.md b/src/Sites/beta/examples/Revoke-MgBetaSiteListItemPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Revoke-MgBetaSiteListItemPermissionGrant.md +++ b/src/Sites/beta/examples/Revoke-MgBetaSiteListItemPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Revoke-MgBetaSiteListPermissionGrant.md b/src/Sites/beta/examples/Revoke-MgBetaSiteListPermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Revoke-MgBetaSiteListPermissionGrant.md +++ b/src/Sites/beta/examples/Revoke-MgBetaSiteListPermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Revoke-MgBetaSitePermissionGrant.md b/src/Sites/beta/examples/Revoke-MgBetaSitePermissionGrant.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Revoke-MgBetaSitePermissionGrant.md +++ b/src/Sites/beta/examples/Revoke-MgBetaSitePermissionGrant.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Test-MgBetaGroupSiteContentTypePublished.md b/src/Sites/beta/examples/Test-MgBetaGroupSiteContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Test-MgBetaGroupSiteContentTypePublished.md +++ b/src/Sites/beta/examples/Test-MgBetaGroupSiteContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelApplication.md b/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelApplication.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelApplication.md +++ b/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelApplication.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelClassificationResult.md b/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelClassificationResult.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelClassificationResult.md +++ b/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelClassificationResult.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelRemoval.md b/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelRemoval.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelRemoval.md +++ b/src/Sites/beta/examples/Test-MgBetaGroupSiteInformationProtectionPolicyLabelRemoval.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Test-MgBetaGroupSiteListContentTypePublished.md b/src/Sites/beta/examples/Test-MgBetaGroupSiteListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Test-MgBetaGroupSiteListContentTypePublished.md +++ b/src/Sites/beta/examples/Test-MgBetaGroupSiteListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Test-MgBetaSiteListContentTypePublished.md b/src/Sites/beta/examples/Test-MgBetaSiteListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Test-MgBetaSiteListContentTypePublished.md +++ b/src/Sites/beta/examples/Test-MgBetaSiteListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Unpublish-MgBetaGroupSiteContentType.md b/src/Sites/beta/examples/Unpublish-MgBetaGroupSiteContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Unpublish-MgBetaGroupSiteContentType.md +++ b/src/Sites/beta/examples/Unpublish-MgBetaGroupSiteContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Unpublish-MgBetaGroupSiteListContentType.md b/src/Sites/beta/examples/Unpublish-MgBetaGroupSiteListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Unpublish-MgBetaGroupSiteListContentType.md +++ b/src/Sites/beta/examples/Unpublish-MgBetaGroupSiteListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/beta/examples/Unpublish-MgBetaSiteListContentType.md b/src/Sites/beta/examples/Unpublish-MgBetaSiteListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/beta/examples/Unpublish-MgBetaSiteListContentType.md +++ b/src/Sites/beta/examples/Unpublish-MgBetaSiteListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Get-MgSiteContentTypeCompatibleHubContentType.md b/src/Sites/v1.0/examples/Get-MgSiteContentTypeCompatibleHubContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Get-MgSiteContentTypeCompatibleHubContentType.md +++ b/src/Sites/v1.0/examples/Get-MgSiteContentTypeCompatibleHubContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Get-MgSiteGetByPathApplicableContentTypeForList.md b/src/Sites/v1.0/examples/Get-MgSiteGetByPathApplicableContentTypeForList.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Get-MgSiteGetByPathApplicableContentTypeForList.md +++ b/src/Sites/v1.0/examples/Get-MgSiteGetByPathApplicableContentTypeForList.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Grant-MgGroupSitePermission.md b/src/Sites/v1.0/examples/Grant-MgGroupSitePermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Grant-MgGroupSitePermission.md +++ b/src/Sites/v1.0/examples/Grant-MgGroupSitePermission.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Grant-MgSitePermission.md b/src/Sites/v1.0/examples/Grant-MgSitePermission.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Grant-MgSitePermission.md +++ b/src/Sites/v1.0/examples/Grant-MgSitePermission.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Invoke-MgReauthorizeGroupSiteListSubscription.md b/src/Sites/v1.0/examples/Invoke-MgReauthorizeGroupSiteListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Invoke-MgReauthorizeGroupSiteListSubscription.md +++ b/src/Sites/v1.0/examples/Invoke-MgReauthorizeGroupSiteListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Invoke-MgReauthorizeSiteListSubscription.md b/src/Sites/v1.0/examples/Invoke-MgReauthorizeSiteListSubscription.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Invoke-MgReauthorizeSiteListSubscription.md +++ b/src/Sites/v1.0/examples/Invoke-MgReauthorizeSiteListSubscription.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Join-MgGroupSiteContentTypeWithHubSite.md b/src/Sites/v1.0/examples/Join-MgGroupSiteContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Join-MgGroupSiteContentTypeWithHubSite.md +++ b/src/Sites/v1.0/examples/Join-MgGroupSiteContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Join-MgGroupSiteListContentTypeWithHubSite.md b/src/Sites/v1.0/examples/Join-MgGroupSiteListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Join-MgGroupSiteListContentTypeWithHubSite.md +++ b/src/Sites/v1.0/examples/Join-MgGroupSiteListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Join-MgSiteListContentTypeWithHubSite.md b/src/Sites/v1.0/examples/Join-MgSiteListContentTypeWithHubSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Join-MgSiteListContentTypeWithHubSite.md +++ b/src/Sites/v1.0/examples/Join-MgSiteListContentTypeWithHubSite.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Publish-MgGroupSiteContentType.md b/src/Sites/v1.0/examples/Publish-MgGroupSiteContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Publish-MgGroupSiteContentType.md +++ b/src/Sites/v1.0/examples/Publish-MgGroupSiteContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Publish-MgGroupSiteListContentType.md b/src/Sites/v1.0/examples/Publish-MgGroupSiteListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Publish-MgGroupSiteListContentType.md +++ b/src/Sites/v1.0/examples/Publish-MgGroupSiteListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Publish-MgSiteListContentType.md b/src/Sites/v1.0/examples/Publish-MgSiteListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Publish-MgSiteListContentType.md +++ b/src/Sites/v1.0/examples/Publish-MgSiteListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Remove-MgGroupSite.md b/src/Sites/v1.0/examples/Remove-MgGroupSite.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Remove-MgGroupSite.md +++ b/src/Sites/v1.0/examples/Remove-MgGroupSite.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Restore-MgGroupSiteListItemDocumentSetVersion.md b/src/Sites/v1.0/examples/Restore-MgGroupSiteListItemDocumentSetVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Restore-MgGroupSiteListItemDocumentSetVersion.md +++ b/src/Sites/v1.0/examples/Restore-MgGroupSiteListItemDocumentSetVersion.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Restore-MgGroupSiteListItemVersion.md b/src/Sites/v1.0/examples/Restore-MgGroupSiteListItemVersion.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Restore-MgGroupSiteListItemVersion.md +++ b/src/Sites/v1.0/examples/Restore-MgGroupSiteListItemVersion.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Test-MgGroupSiteContentTypePublished.md b/src/Sites/v1.0/examples/Test-MgGroupSiteContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Test-MgGroupSiteContentTypePublished.md +++ b/src/Sites/v1.0/examples/Test-MgGroupSiteContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Test-MgGroupSiteListContentTypePublished.md b/src/Sites/v1.0/examples/Test-MgGroupSiteListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Test-MgGroupSiteListContentTypePublished.md +++ b/src/Sites/v1.0/examples/Test-MgGroupSiteListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Test-MgSiteListContentTypePublished.md b/src/Sites/v1.0/examples/Test-MgSiteListContentTypePublished.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Test-MgSiteListContentTypePublished.md +++ b/src/Sites/v1.0/examples/Test-MgSiteListContentTypePublished.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Unpublish-MgGroupSiteContentType.md b/src/Sites/v1.0/examples/Unpublish-MgGroupSiteContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Unpublish-MgGroupSiteContentType.md +++ b/src/Sites/v1.0/examples/Unpublish-MgGroupSiteContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Unpublish-MgGroupSiteListContentType.md b/src/Sites/v1.0/examples/Unpublish-MgGroupSiteListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Unpublish-MgGroupSiteListContentType.md +++ b/src/Sites/v1.0/examples/Unpublish-MgGroupSiteListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Sites/v1.0/examples/Unpublish-MgSiteListContentType.md b/src/Sites/v1.0/examples/Unpublish-MgSiteListContentType.md index 8b137891791..e69de29bb2d 100644 --- a/src/Sites/v1.0/examples/Unpublish-MgSiteListContentType.md +++ b/src/Sites/v1.0/examples/Unpublish-MgSiteListContentType.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Get-MgBetaTeamChannelMember.md b/src/Teams/beta/examples/Get-MgBetaTeamChannelMember.md index a7e2b862fd0..22f9c4949b8 100644 --- a/src/Teams/beta/examples/Get-MgBetaTeamChannelMember.md +++ b/src/Teams/beta/examples/Get-MgBetaTeamChannelMember.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 1: List all members of a channel ```powershell @@ -7,5 +7,16 @@ Import-Module Microsoft.Graph.Beta.Teams Get-MgBetaTeamChannelMember -TeamId $teamId -ChannelId $channelId ``` -This example shows how to use the Get-MgBetaTeamChannelMember Cmdlet. +This example will list all members of a channel + +### Example 2: Find a channel member using their Microsoft Entra user object ID + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +Get-MgBetaTeamChannelMember -TeamId $teamId -ChannelId $channelId -Filter "(microsoft.graph.aadUserConversationMember/userId eq '73761f06-2ac9-469c-9f10-279a8cc267f9')" + +``` +This example will find a channel member using their microsoft entra user object id diff --git a/src/Teams/beta/examples/Hide-MgBetaUserChatForUser.md b/src/Teams/beta/examples/Hide-MgBetaUserChatForUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Hide-MgBetaUserChatForUser.md +++ b/src/Teams/beta/examples/Hide-MgBetaUserChatForUser.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeam.md b/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeam.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeam.md +++ b/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeam.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeamChannelPlannerPlan.md b/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeamChannelPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeamChannelPlannerPlan.md +++ b/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeamChannelPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeamPrimaryChannelPlannerPlan.md b/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeamPrimaryChannelPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeamPrimaryChannelPlannerPlan.md +++ b/src/Teams/beta/examples/Invoke-MgBetaArchiveGroupTeamPrimaryChannelPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamChannelPlannerPlan.md b/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamChannelPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamChannelPlannerPlan.md +++ b/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamChannelPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamPrimaryChannelPlannerPlan.md b/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamPrimaryChannelPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamPrimaryChannelPlannerPlan.md +++ b/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamPrimaryChannelPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamworkDeletedTeamChannelPlannerPlan.md b/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamworkDeletedTeamChannelPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamworkDeletedTeamChannelPlannerPlan.md +++ b/src/Teams/beta/examples/Invoke-MgBetaArchiveTeamworkDeletedTeamChannelPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaClockGroupTeamScheduleTimeCardOut.md b/src/Teams/beta/examples/Invoke-MgBetaClockGroupTeamScheduleTimeCardOut.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaClockGroupTeamScheduleTimeCardOut.md +++ b/src/Teams/beta/examples/Invoke-MgBetaClockGroupTeamScheduleTimeCardOut.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaClockTeamScheduleTimeCardIn.md b/src/Teams/beta/examples/Invoke-MgBetaClockTeamScheduleTimeCardIn.md index c55c8603e55..795b1007de1 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaClockTeamScheduleTimeCardIn.md +++ b/src/Teams/beta/examples/Invoke-MgBetaClockTeamScheduleTimeCardIn.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 1: Clock in as yourself ```powershell @@ -15,5 +15,21 @@ $params = @{ Invoke-MgBetaClockTeamScheduleTimeCardIn -TeamId $teamId -BodyParameter $params ``` -This example shows how to use the Invoke-MgBetaClockTeamScheduleTimeCardIn Cmdlet. +This example will clock in as yourself + +### Example 2: Clock in on behalf of another user + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +$params = @{ + isAtApprovedLocation = $true + onBehalfOfUserId = "3f29c8e7-7a41-4d8e-99d6-2b1f76c9421e" +} + +Invoke-MgBetaClockTeamScheduleTimeCardIn -TeamId $teamId -BodyParameter $params + +``` +This example will clock in on behalf of another user diff --git a/src/Teams/beta/examples/Invoke-MgBetaDetermineTeamworkIfInteractionIsAllowed.md b/src/Teams/beta/examples/Invoke-MgBetaDetermineTeamworkIfInteractionIsAllowed.md new file mode 100644 index 00000000000..6a66d1a5634 --- /dev/null +++ b/src/Teams/beta/examples/Invoke-MgBetaDetermineTeamworkIfInteractionIsAllowed.md @@ -0,0 +1,114 @@ +### Example 1: Determine if the signed-in user can create a chat with another user in the same tenant using their ID + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +$params = @{ + users = @( + @{ + "@odata.type" = "microsoft.graph.teamworkUserIdentity" + id = "59b5bc69-ca73-4ffd-a2e0-88a79115d13b" + } + ) + interactionType = "createChat" +} + +Invoke-MgBetaDetermineTeamworkIfInteractionIsAllowed -BodyParameter $params + +``` +This example will determine if the signed-in user can create a chat with another user in the same tenant using their id + +### Example 2: Determine if the signed-in user can create a chat with another user in a different tenant using their ID and tenant ID + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +$params = @{ + users = @( + @{ + "@odata.type" = "microsoft.graph.teamworkUserIdentity" + id = "59b5bc69-ca73-4ffd-a2e0-88a79115d13b" + tenantId = "b11186db-6149-4b3d-95ad-23c9e1bf6853" + } + ) + interactionType = "createChat" +} + +Invoke-MgBetaDetermineTeamworkIfInteractionIsAllowed -BodyParameter $params + +``` +This example will determine if the signed-in user can create a chat with another user in a different tenant using their id and tenant id + +### Example 3: Determine if the signed-in user can create a chat with another user using their user principal name + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +$params = @{ + users = @( + @{ + "@odata.type" = "microsoft.graph.teamworkUserIdentity" + userPrincipalName = "maia@contoso.com" + } + ) + interactionType = "createChat" +} + +Invoke-MgBetaDetermineTeamworkIfInteractionIsAllowed -BodyParameter $params + +``` +This example will determine if the signed-in user can create a chat with another user using their user principal name + +### Example 4: Determine if the signed-in user can create a chat with another user using their email + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +$params = @{ + users = @( + @{ + "@odata.type" = "microsoft.graph.emailIdentity" + email = "LauraW@contoso.com" + } + ) + interactionType = "createChat" +} + +Invoke-MgBetaDetermineTeamworkIfInteractionIsAllowed -BodyParameter $params + +``` +This example will determine if the signed-in user can create a chat with another user using their email + +### Example 5: Determine if the signed-in user can create a chat with three other users + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +$params = @{ + users = @( + @{ + "@odata.type" = "microsoft.graph.emailIdentity" + email = "LauraW@foo.com" + } + @{ + "@odata.type" = "microsoft.graph.teamworkUserIdentity" + userPrincipalName = "MaiaR@foobar.com" + } + @{ + "@odata.type" = "microsoft.graph.teamworkUserIdentity" + id = "bd6a223f-59b5-46dd-90bc-0ddebaf3da5a" + } + ) + interactionType = "createChat" +} + +Invoke-MgBetaDetermineTeamworkIfInteractionIsAllowed -BodyParameter $params + +``` +This example will determine if the signed-in user can create a chat with three other users + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardChatMessageReplyToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardChatMessageReplyToChat.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardChatMessageReplyToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardChatMessageReplyToChat.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardChatMessageToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardChatMessageToChat.md index e69de29bb2d..836928e8360 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardChatMessageToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardChatMessageToChat.md @@ -0,0 +1,25 @@ +### Example 1: Forward a message from a chat to a chat + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +$params = @{ + targetChatIds = @( + "19:e2ed97baac8e4bffbb91299a38996790@thread.v2" +) +messageIds = @( +"1728088338580" +) +additionalMessage = @{ +body = @{ + content = "Hello World" +} +} +} + +Invoke-MgBetaForwardChatMessageToChat -ChatId $chatId -BodyParameter $params + +``` +This example will forward a message from a chat to a chat + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamChannelMessageReplyToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamChannelMessageReplyToChat.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamChannelMessageReplyToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamChannelMessageReplyToChat.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamChannelMessageToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamChannelMessageToChat.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamChannelMessageToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamChannelMessageToChat.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamPrimaryChannelMessageReplyToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamPrimaryChannelMessageReplyToChat.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamPrimaryChannelMessageReplyToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamPrimaryChannelMessageReplyToChat.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamPrimaryChannelMessageToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamPrimaryChannelMessageToChat.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamPrimaryChannelMessageToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardGroupTeamPrimaryChannelMessageToChat.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamChannelMessageReplyToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamChannelMessageReplyToChat.md index e69de29bb2d..0428bab16b0 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamChannelMessageReplyToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamChannelMessageReplyToChat.md @@ -0,0 +1,25 @@ +### Example 1: Forward a reply message from a channel to a chat + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +$params = @{ + targetChatIds = @( + "19:e2ed97baac8e4bffbb91299a38996790@thread.v2" +) +messageIds = @( +"1728088338580" +) +additionalMessage = @{ +body = @{ + content = "Hello World" +} +} +} + +Invoke-MgBetaForwardTeamChannelMessageReplyToChat -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -BodyParameter $params + +``` +This example will forward a reply message from a channel to a chat + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamChannelMessageToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamChannelMessageToChat.md index e69de29bb2d..ef86f99e2bb 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamChannelMessageToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamChannelMessageToChat.md @@ -0,0 +1,25 @@ +### Example 2: Forward a message from a channel to a chat + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +$params = @{ + targetChatIds = @( + "19:e2ed97baac8e4bffbb91299a38996790@thread.v2" +) +messageIds = @( +"1728088338580" +) +additionalMessage = @{ +body = @{ + content = "Hello World" +} +} +} + +Invoke-MgBetaForwardTeamChannelMessageToChat -TeamId $teamId -ChannelId $channelId -BodyParameter $params + +``` +This example will forward a message from a channel to a chat + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamPrimaryChannelMessageReplyToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamPrimaryChannelMessageReplyToChat.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamPrimaryChannelMessageReplyToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamPrimaryChannelMessageReplyToChat.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamPrimaryChannelMessageToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamPrimaryChannelMessageToChat.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamPrimaryChannelMessageToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamPrimaryChannelMessageToChat.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamworkDeletedTeamChannelMessageReplyToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamworkDeletedTeamChannelMessageReplyToChat.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamworkDeletedTeamChannelMessageReplyToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamworkDeletedTeamChannelMessageReplyToChat.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamworkDeletedTeamChannelMessageToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamworkDeletedTeamChannelMessageToChat.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardTeamworkDeletedTeamChannelMessageToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardTeamworkDeletedTeamChannelMessageToChat.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardUserChatMessageReplyToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardUserChatMessageReplyToChat.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardUserChatMessageReplyToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardUserChatMessageReplyToChat.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Invoke-MgBetaForwardUserChatMessageToChat.md b/src/Teams/beta/examples/Invoke-MgBetaForwardUserChatMessageToChat.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaForwardUserChatMessageToChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaForwardUserChatMessageToChat.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Invoke-MgBetaGraphChatMessage.md b/src/Teams/beta/examples/Invoke-MgBetaGraphChatMessage.md index e69de29bb2d..f60e478a451 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaGraphChatMessage.md +++ b/src/Teams/beta/examples/Invoke-MgBetaGraphChatMessage.md @@ -0,0 +1,22 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +$params = @{ + messageIds = @( + "1728088338580" +) +replyMessage = @{ + body = @{ + content = "Hello World" + } +} +} + +Invoke-MgBetaGraphChatMessage -ChatId $chatId -BodyParameter $params + +``` +This example shows how to use the Invoke-MgBetaGraphChatMessage Cmdlet. + diff --git a/src/Teams/beta/examples/Invoke-MgBetaGraphUserChat.md b/src/Teams/beta/examples/Invoke-MgBetaGraphUserChat.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaGraphUserChat.md +++ b/src/Teams/beta/examples/Invoke-MgBetaGraphUserChat.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaHaveGroupTeamChannel.md b/src/Teams/beta/examples/Invoke-MgBetaHaveGroupTeamChannel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaHaveGroupTeamChannel.md +++ b/src/Teams/beta/examples/Invoke-MgBetaHaveGroupTeamChannel.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaHaveGroupTeamPrimaryChannel.md b/src/Teams/beta/examples/Invoke-MgBetaHaveGroupTeamPrimaryChannel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaHaveGroupTeamPrimaryChannel.md +++ b/src/Teams/beta/examples/Invoke-MgBetaHaveGroupTeamPrimaryChannel.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaHaveTeamPrimaryChannel.md b/src/Teams/beta/examples/Invoke-MgBetaHaveTeamPrimaryChannel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaHaveTeamPrimaryChannel.md +++ b/src/Teams/beta/examples/Invoke-MgBetaHaveTeamPrimaryChannel.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaHaveTeamworkDeletedTeamChannel.md b/src/Teams/beta/examples/Invoke-MgBetaHaveTeamworkDeletedTeamChannel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaHaveTeamworkDeletedTeamChannel.md +++ b/src/Teams/beta/examples/Invoke-MgBetaHaveTeamworkDeletedTeamChannel.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaMarkUserChatReadForUser.md b/src/Teams/beta/examples/Invoke-MgBetaMarkUserChatReadForUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaMarkUserChatReadForUser.md +++ b/src/Teams/beta/examples/Invoke-MgBetaMarkUserChatReadForUser.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaMarkUserChatUnreadForUser.md b/src/Teams/beta/examples/Invoke-MgBetaMarkUserChatUnreadForUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaMarkUserChatUnreadForUser.md +++ b/src/Teams/beta/examples/Invoke-MgBetaMarkUserChatUnreadForUser.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaShareGroupTeamSchedule.md b/src/Teams/beta/examples/Invoke-MgBetaShareGroupTeamSchedule.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaShareGroupTeamSchedule.md +++ b/src/Teams/beta/examples/Invoke-MgBetaShareGroupTeamSchedule.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeam.md b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeam.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeam.md +++ b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeam.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeamChannelPlannerPlan.md b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeamChannelPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeamChannelPlannerPlan.md +++ b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeamChannelPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeamPrimaryChannelPlannerPlan.md b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeamPrimaryChannelPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeamPrimaryChannelPlannerPlan.md +++ b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveGroupTeamPrimaryChannelPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamChannelPlannerPlan.md b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamChannelPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamChannelPlannerPlan.md +++ b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamChannelPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamPrimaryChannelPlannerPlan.md b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamPrimaryChannelPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamPrimaryChannelPlannerPlan.md +++ b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamPrimaryChannelPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamworkDeletedTeamChannelPlannerPlan.md b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamworkDeletedTeamChannelPlannerPlan.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamworkDeletedTeamChannelPlannerPlan.md +++ b/src/Teams/beta/examples/Invoke-MgBetaUnarchiveTeamworkDeletedTeamChannelPlannerPlan.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Move-MgBetaGroupTeamChannelPlannerPlanToContainer.md b/src/Teams/beta/examples/Move-MgBetaGroupTeamChannelPlannerPlanToContainer.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Move-MgBetaGroupTeamChannelPlannerPlanToContainer.md +++ b/src/Teams/beta/examples/Move-MgBetaGroupTeamChannelPlannerPlanToContainer.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Move-MgBetaGroupTeamPrimaryChannelPlannerPlanToContainer.md b/src/Teams/beta/examples/Move-MgBetaGroupTeamPrimaryChannelPlannerPlanToContainer.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Move-MgBetaGroupTeamPrimaryChannelPlannerPlanToContainer.md +++ b/src/Teams/beta/examples/Move-MgBetaGroupTeamPrimaryChannelPlannerPlanToContainer.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Move-MgBetaTeamChannelPlannerPlanToContainer.md b/src/Teams/beta/examples/Move-MgBetaTeamChannelPlannerPlanToContainer.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Move-MgBetaTeamChannelPlannerPlanToContainer.md +++ b/src/Teams/beta/examples/Move-MgBetaTeamChannelPlannerPlanToContainer.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Move-MgBetaTeamPrimaryChannelPlannerPlanToContainer.md b/src/Teams/beta/examples/Move-MgBetaTeamPrimaryChannelPlannerPlanToContainer.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Move-MgBetaTeamPrimaryChannelPlannerPlanToContainer.md +++ b/src/Teams/beta/examples/Move-MgBetaTeamPrimaryChannelPlannerPlanToContainer.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Move-MgBetaTeamworkDeletedTeamChannelPlannerPlanToContainer.md b/src/Teams/beta/examples/Move-MgBetaTeamworkDeletedTeamChannelPlannerPlanToContainer.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Move-MgBetaTeamworkDeletedTeamChannelPlannerPlanToContainer.md +++ b/src/Teams/beta/examples/Move-MgBetaTeamworkDeletedTeamChannelPlannerPlanToContainer.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/New-MgBetaGroupTeamChannelEmail.md b/src/Teams/beta/examples/New-MgBetaGroupTeamChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/New-MgBetaGroupTeamChannelEmail.md +++ b/src/Teams/beta/examples/New-MgBetaGroupTeamChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/New-MgBetaGroupTeamPrimaryChannelEmail.md b/src/Teams/beta/examples/New-MgBetaGroupTeamPrimaryChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/New-MgBetaGroupTeamPrimaryChannelEmail.md +++ b/src/Teams/beta/examples/New-MgBetaGroupTeamPrimaryChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/New-MgBetaTeamPrimaryChannelEmail.md b/src/Teams/beta/examples/New-MgBetaTeamPrimaryChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/New-MgBetaTeamPrimaryChannelEmail.md +++ b/src/Teams/beta/examples/New-MgBetaTeamPrimaryChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/New-MgBetaTeamScheduleTimeCard.md b/src/Teams/beta/examples/New-MgBetaTeamScheduleTimeCard.md index 135e41064db..fa90049d406 100644 --- a/src/Teams/beta/examples/New-MgBetaTeamScheduleTimeCard.md +++ b/src/Teams/beta/examples/New-MgBetaTeamScheduleTimeCard.md @@ -5,7 +5,7 @@ Import-Module Microsoft.Graph.Beta.Teams $params = @{ - onBehalfOfUserId = "a3601044-a1b5-438e-b742-f78d01d68a67" + userId = "a3601044-a1b5-438e-b742-f78d01d68a67" clockInEvent = @{ dateTime = [System.DateTime]::Parse("2019-03-18T00:00:00.000Z") isAtApprovedLocation = $true diff --git a/src/Teams/beta/examples/New-MgBetaTeamScheduleTimeOffRequest.md b/src/Teams/beta/examples/New-MgBetaTeamScheduleTimeOffRequest.md index e69de29bb2d..9ccb6b336c4 100644 --- a/src/Teams/beta/examples/New-MgBetaTeamScheduleTimeOffRequest.md +++ b/src/Teams/beta/examples/New-MgBetaTeamScheduleTimeOffRequest.md @@ -0,0 +1,19 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +$params = @{ + senderMessage = "Need a break" + timeOffReasonId = "TOR_08c42f26-9b83-492c-bf52-f3609eb083e3" + senderUserId = "3f2504e0-4f89-11d3-9a0c-0305e82c3301" + startDateTime = [System.DateTime]::Parse("2025-05-26T07:00:00Z") + endDateTime = [System.DateTime]::Parse("2025-05-27T07:00:00Z") +} + +New-MgBetaTeamScheduleTimeOffRequest -TeamId $teamId -BodyParameter $params + +``` +This example shows how to use the New-MgBetaTeamScheduleTimeOffRequest Cmdlet. + diff --git a/src/Teams/beta/examples/New-MgBetaTeamworkDeletedTeamChannelEmail.md b/src/Teams/beta/examples/New-MgBetaTeamworkDeletedTeamChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/New-MgBetaTeamworkDeletedTeamChannelEmail.md +++ b/src/Teams/beta/examples/New-MgBetaTeamworkDeletedTeamChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Remove-MgBetaGroupTeamChannelEmail.md b/src/Teams/beta/examples/Remove-MgBetaGroupTeamChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Remove-MgBetaGroupTeamChannelEmail.md +++ b/src/Teams/beta/examples/Remove-MgBetaGroupTeamChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Remove-MgBetaGroupTeamPrimaryChannelEmail.md b/src/Teams/beta/examples/Remove-MgBetaGroupTeamPrimaryChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Remove-MgBetaGroupTeamPrimaryChannelEmail.md +++ b/src/Teams/beta/examples/Remove-MgBetaGroupTeamPrimaryChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Remove-MgBetaTeamPrimaryChannelEmail.md b/src/Teams/beta/examples/Remove-MgBetaTeamPrimaryChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Remove-MgBetaTeamPrimaryChannelEmail.md +++ b/src/Teams/beta/examples/Remove-MgBetaTeamPrimaryChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Remove-MgBetaTeamworkDeletedTeamChannelEmail.md b/src/Teams/beta/examples/Remove-MgBetaTeamworkDeletedTeamChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Remove-MgBetaTeamworkDeletedTeamChannelEmail.md +++ b/src/Teams/beta/examples/Remove-MgBetaTeamworkDeletedTeamChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Remove-MgBetaUserChatAccessForUser.md b/src/Teams/beta/examples/Remove-MgBetaUserChatAccessForUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Remove-MgBetaUserChatAccessForUser.md +++ b/src/Teams/beta/examples/Remove-MgBetaUserChatAccessForUser.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Start-MgBetaGroupTeamScheduleTimeCardBreak.md b/src/Teams/beta/examples/Start-MgBetaGroupTeamScheduleTimeCardBreak.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Start-MgBetaGroupTeamScheduleTimeCardBreak.md +++ b/src/Teams/beta/examples/Start-MgBetaGroupTeamScheduleTimeCardBreak.md @@ -1 +0,0 @@ - diff --git a/src/Teams/beta/examples/Stop-MgBetaGroupTeamScheduleTimeCardBreak.md b/src/Teams/beta/examples/Stop-MgBetaGroupTeamScheduleTimeCardBreak.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/beta/examples/Stop-MgBetaGroupTeamScheduleTimeCardBreak.md +++ b/src/Teams/beta/examples/Stop-MgBetaGroupTeamScheduleTimeCardBreak.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Get-MgTeamScheduleTimeCard.md b/src/Teams/v1.0/examples/Get-MgTeamScheduleTimeCard.md index e69de29bb2d..3e9d77a3651 100644 --- a/src/Teams/v1.0/examples/Get-MgTeamScheduleTimeCard.md +++ b/src/Teams/v1.0/examples/Get-MgTeamScheduleTimeCard.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Teams + +Get-MgTeamScheduleTimeCard -TeamId $teamId + +``` +This example shows how to use the Get-MgTeamScheduleTimeCard Cmdlet. + diff --git a/src/Teams/v1.0/examples/Get-MgTeamworkDeletedTeamChannelRetainedMessage.md b/src/Teams/v1.0/examples/Get-MgTeamworkDeletedTeamChannelRetainedMessage.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Get-MgTeamworkDeletedTeamChannelRetainedMessage.md +++ b/src/Teams/v1.0/examples/Get-MgTeamworkDeletedTeamChannelRetainedMessage.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Hide-MgUserChatForUser.md b/src/Teams/v1.0/examples/Hide-MgUserChatForUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Hide-MgUserChatForUser.md +++ b/src/Teams/v1.0/examples/Hide-MgUserChatForUser.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Invoke-MgArchiveGroupTeam.md b/src/Teams/v1.0/examples/Invoke-MgArchiveGroupTeam.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Invoke-MgArchiveGroupTeam.md +++ b/src/Teams/v1.0/examples/Invoke-MgArchiveGroupTeam.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Invoke-MgClockGroupTeamScheduleTimeCardIn.md b/src/Teams/v1.0/examples/Invoke-MgClockGroupTeamScheduleTimeCardIn.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/v1.0/examples/Invoke-MgClockGroupTeamScheduleTimeCardIn.md +++ b/src/Teams/v1.0/examples/Invoke-MgClockGroupTeamScheduleTimeCardIn.md @@ -0,0 +1 @@ + diff --git a/src/Teams/v1.0/examples/Invoke-MgClockTeamScheduleTimeCardIn.md b/src/Teams/v1.0/examples/Invoke-MgClockTeamScheduleTimeCardIn.md index e69de29bb2d..c27a08678d3 100644 --- a/src/Teams/v1.0/examples/Invoke-MgClockTeamScheduleTimeCardIn.md +++ b/src/Teams/v1.0/examples/Invoke-MgClockTeamScheduleTimeCardIn.md @@ -0,0 +1,35 @@ +### Example 1: Clock in as yourself + +```powershell + +Import-Module Microsoft.Graph.Teams + +$params = @{ + isAtApprovedLocation = $true + notes = @{ + content = "Started late due to traffic" + contentType = "text" + } +} + +Invoke-MgClockTeamScheduleTimeCardIn -TeamId $teamId -BodyParameter $params + +``` +This example will clock in as yourself + +### Example 2: Clock in on behalf of another user + +```powershell + +Import-Module Microsoft.Graph.Teams + +$params = @{ + isAtApprovedLocation = $true + onBehalfOfUserId = "3f29c8e7-7a41-4d8e-99d6-2b1f76c9421e" +} + +Invoke-MgClockTeamScheduleTimeCardIn -TeamId $teamId -BodyParameter $params + +``` +This example will clock in on behalf of another user + diff --git a/src/Teams/v1.0/examples/Invoke-MgGraphUserChat.md b/src/Teams/v1.0/examples/Invoke-MgGraphUserChat.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Invoke-MgGraphUserChat.md +++ b/src/Teams/v1.0/examples/Invoke-MgGraphUserChat.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Invoke-MgHaveGroupTeamChannel.md b/src/Teams/v1.0/examples/Invoke-MgHaveGroupTeamChannel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Invoke-MgHaveGroupTeamChannel.md +++ b/src/Teams/v1.0/examples/Invoke-MgHaveGroupTeamChannel.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Invoke-MgHaveGroupTeamPrimaryChannel.md b/src/Teams/v1.0/examples/Invoke-MgHaveGroupTeamPrimaryChannel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Invoke-MgHaveGroupTeamPrimaryChannel.md +++ b/src/Teams/v1.0/examples/Invoke-MgHaveGroupTeamPrimaryChannel.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Invoke-MgHaveTeamPrimaryChannel.md b/src/Teams/v1.0/examples/Invoke-MgHaveTeamPrimaryChannel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Invoke-MgHaveTeamPrimaryChannel.md +++ b/src/Teams/v1.0/examples/Invoke-MgHaveTeamPrimaryChannel.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Invoke-MgHaveTeamworkDeletedTeamChannel.md b/src/Teams/v1.0/examples/Invoke-MgHaveTeamworkDeletedTeamChannel.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Invoke-MgHaveTeamworkDeletedTeamChannel.md +++ b/src/Teams/v1.0/examples/Invoke-MgHaveTeamworkDeletedTeamChannel.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Invoke-MgMarkUserChatReadForUser.md b/src/Teams/v1.0/examples/Invoke-MgMarkUserChatReadForUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Invoke-MgMarkUserChatReadForUser.md +++ b/src/Teams/v1.0/examples/Invoke-MgMarkUserChatReadForUser.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Invoke-MgMarkUserChatUnreadForUser.md b/src/Teams/v1.0/examples/Invoke-MgMarkUserChatUnreadForUser.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Invoke-MgMarkUserChatUnreadForUser.md +++ b/src/Teams/v1.0/examples/Invoke-MgMarkUserChatUnreadForUser.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Invoke-MgShareGroupTeamSchedule.md b/src/Teams/v1.0/examples/Invoke-MgShareGroupTeamSchedule.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Invoke-MgShareGroupTeamSchedule.md +++ b/src/Teams/v1.0/examples/Invoke-MgShareGroupTeamSchedule.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Invoke-MgUnarchiveGroupTeam.md b/src/Teams/v1.0/examples/Invoke-MgUnarchiveGroupTeam.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Invoke-MgUnarchiveGroupTeam.md +++ b/src/Teams/v1.0/examples/Invoke-MgUnarchiveGroupTeam.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/New-MgGroupTeamChannelEmail.md b/src/Teams/v1.0/examples/New-MgGroupTeamChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/New-MgGroupTeamChannelEmail.md +++ b/src/Teams/v1.0/examples/New-MgGroupTeamChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/New-MgGroupTeamPrimaryChannelEmail.md b/src/Teams/v1.0/examples/New-MgGroupTeamPrimaryChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/New-MgGroupTeamPrimaryChannelEmail.md +++ b/src/Teams/v1.0/examples/New-MgGroupTeamPrimaryChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/New-MgTeamPrimaryChannelEmail.md b/src/Teams/v1.0/examples/New-MgTeamPrimaryChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/New-MgTeamPrimaryChannelEmail.md +++ b/src/Teams/v1.0/examples/New-MgTeamPrimaryChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/New-MgTeamScheduleOpenShiftChangeRequest.md b/src/Teams/v1.0/examples/New-MgTeamScheduleOpenShiftChangeRequest.md index bcb302159a8..9c510b7988c 100644 --- a/src/Teams/v1.0/examples/New-MgTeamScheduleOpenShiftChangeRequest.md +++ b/src/Teams/v1.0/examples/New-MgTeamScheduleOpenShiftChangeRequest.md @@ -5,6 +5,7 @@ Import-Module Microsoft.Graph.Teams $params = @{ + senderUserId = "3fe0bc21-1398-4fd9-9713-52511b434c1e" senderMessage = "Can I take this shift?" openShiftId = "577b75d2-a927-48c0-a5d1-dc984894e7b8" } diff --git a/src/Teams/v1.0/examples/New-MgTeamScheduleTimeCard.md b/src/Teams/v1.0/examples/New-MgTeamScheduleTimeCard.md index e69de29bb2d..b15bb92a6e1 100644 --- a/src/Teams/v1.0/examples/New-MgTeamScheduleTimeCard.md +++ b/src/Teams/v1.0/examples/New-MgTeamScheduleTimeCard.md @@ -0,0 +1,27 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Teams + +$params = @{ + userId = "d56f3e8a-2b0f-42b1-88b9-e2dbd12a34d2" + clockInEvent = @{ + dateTime = [System.DateTime]::Parse("2025-01-07T21:00:00.000Z") + isAtApprovedLocation = $true + notes = @{ + content = "Started late due to traffic in CA 237" + contentType = "text" + } + } + clockOutEvent = @{ + dateTime = [System.DateTime]::Parse("2025-01-07T21:30:00.000Z") + isAtApprovedLocation = $true + } +} + +New-MgTeamScheduleTimeCard -TeamId $teamId -BodyParameter $params + +``` +This example shows how to use the New-MgTeamScheduleTimeCard Cmdlet. + diff --git a/src/Teams/v1.0/examples/New-MgTeamScheduleTimeOffRequest.md b/src/Teams/v1.0/examples/New-MgTeamScheduleTimeOffRequest.md index e69de29bb2d..35020273e46 100644 --- a/src/Teams/v1.0/examples/New-MgTeamScheduleTimeOffRequest.md +++ b/src/Teams/v1.0/examples/New-MgTeamScheduleTimeOffRequest.md @@ -0,0 +1,19 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Teams + +$params = @{ + senderMessage = "Need a break" + timeOffReasonId = "TOR_08c42f26-9b83-492c-bf52-f3609eb083e3" + senderUserId = "3f2504e0-4f89-11d3-9a0c-0305e82c3301" + startDateTime = [System.DateTime]::Parse("2025-05-26T07:00:00Z") + endDateTime = [System.DateTime]::Parse("2025-05-27T07:00:00Z") +} + +New-MgTeamScheduleTimeOffRequest -TeamId $teamId -BodyParameter $params + +``` +This example shows how to use the New-MgTeamScheduleTimeOffRequest Cmdlet. + diff --git a/src/Teams/v1.0/examples/New-MgTeamworkDeletedTeamChannelEmail.md b/src/Teams/v1.0/examples/New-MgTeamworkDeletedTeamChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/New-MgTeamworkDeletedTeamChannelEmail.md +++ b/src/Teams/v1.0/examples/New-MgTeamworkDeletedTeamChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Remove-MgGroupTeamChannelEmail.md b/src/Teams/v1.0/examples/Remove-MgGroupTeamChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Remove-MgGroupTeamChannelEmail.md +++ b/src/Teams/v1.0/examples/Remove-MgGroupTeamChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Remove-MgGroupTeamPrimaryChannelEmail.md b/src/Teams/v1.0/examples/Remove-MgGroupTeamPrimaryChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Remove-MgGroupTeamPrimaryChannelEmail.md +++ b/src/Teams/v1.0/examples/Remove-MgGroupTeamPrimaryChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Remove-MgTeamPrimaryChannelEmail.md b/src/Teams/v1.0/examples/Remove-MgTeamPrimaryChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Remove-MgTeamPrimaryChannelEmail.md +++ b/src/Teams/v1.0/examples/Remove-MgTeamPrimaryChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Teams/v1.0/examples/Remove-MgTeamScheduleTimeCard.md b/src/Teams/v1.0/examples/Remove-MgTeamScheduleTimeCard.md index e69de29bb2d..4a7fd2d16a8 100644 --- a/src/Teams/v1.0/examples/Remove-MgTeamScheduleTimeCard.md +++ b/src/Teams/v1.0/examples/Remove-MgTeamScheduleTimeCard.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Teams + +Remove-MgTeamScheduleTimeCard -TeamId $teamId -TimeCardId $timeCardId + +``` +This example shows how to use the Remove-MgTeamScheduleTimeCard Cmdlet. + diff --git a/src/Teams/v1.0/examples/Remove-MgTeamworkDeletedTeamChannelEmail.md b/src/Teams/v1.0/examples/Remove-MgTeamworkDeletedTeamChannelEmail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Teams/v1.0/examples/Remove-MgTeamworkDeletedTeamChannelEmail.md +++ b/src/Teams/v1.0/examples/Remove-MgTeamworkDeletedTeamChannelEmail.md @@ -1 +0,0 @@ - diff --git a/src/Users.Actions/v1.0/examples/Get-MgUserById.md b/src/Users.Actions/v1.0/examples/Get-MgUserById.md index 8b137891791..e69de29bb2d 100644 --- a/src/Users.Actions/v1.0/examples/Get-MgUserById.md +++ b/src/Users.Actions/v1.0/examples/Get-MgUserById.md @@ -1 +0,0 @@ - diff --git a/src/Users.Actions/v1.0/examples/Get-MgUserMemberObject.md b/src/Users.Actions/v1.0/examples/Get-MgUserMemberObject.md index 8b137891791..e69de29bb2d 100644 --- a/src/Users.Actions/v1.0/examples/Get-MgUserMemberObject.md +++ b/src/Users.Actions/v1.0/examples/Get-MgUserMemberObject.md @@ -1 +0,0 @@ - diff --git a/src/Users/beta/examples/Remove-MgBetaUserByUserPrincipalName.md b/src/Users/beta/examples/Remove-MgBetaUserByUserPrincipalName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Users/beta/examples/Remove-MgBetaUserByUserPrincipalName.md +++ b/src/Users/beta/examples/Remove-MgBetaUserByUserPrincipalName.md @@ -1 +0,0 @@ - diff --git a/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskFolderTaskPermanent.md b/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskFolderTaskPermanent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskFolderTaskPermanent.md +++ b/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskFolderTaskPermanent.md @@ -1 +0,0 @@ - diff --git a/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskGroupTaskFolderPermanent.md b/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskGroupTaskFolderPermanent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskGroupTaskFolderPermanent.md +++ b/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskGroupTaskFolderPermanent.md @@ -1 +0,0 @@ - diff --git a/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskGroupTaskFolderTaskPermanent.md b/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskGroupTaskFolderTaskPermanent.md index 8b137891791..e69de29bb2d 100644 --- a/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskGroupTaskFolderTaskPermanent.md +++ b/src/Users/beta/examples/Remove-MgBetaUserOutlookTaskGroupTaskFolderTaskPermanent.md @@ -1 +0,0 @@ - diff --git a/src/Users/beta/examples/Remove-MgBetaUserSettingWindows.md b/src/Users/beta/examples/Remove-MgBetaUserSettingWindows.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Users/v1.0/examples/Get-MgUserLicenseDetailTeamLicensingDetail.md b/src/Users/v1.0/examples/Get-MgUserLicenseDetailTeamLicensingDetail.md index 8b137891791..e69de29bb2d 100644 --- a/src/Users/v1.0/examples/Get-MgUserLicenseDetailTeamLicensingDetail.md +++ b/src/Users/v1.0/examples/Get-MgUserLicenseDetailTeamLicensingDetail.md @@ -1 +0,0 @@ - diff --git a/src/Users/v1.0/examples/Get-MgUserMemberOfAsGroup.md b/src/Users/v1.0/examples/Get-MgUserMemberOfAsGroup.md index f35097c5869..43044165262 100644 --- a/src/Users/v1.0/examples/Get-MgUserMemberOfAsGroup.md +++ b/src/Users/v1.0/examples/Get-MgUserMemberOfAsGroup.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 2: Code snippet ```powershell diff --git a/src/Users/v1.0/examples/Remove-MgUserByUserPrincipalName.md b/src/Users/v1.0/examples/Remove-MgUserByUserPrincipalName.md index 8b137891791..e69de29bb2d 100644 --- a/src/Users/v1.0/examples/Remove-MgUserByUserPrincipalName.md +++ b/src/Users/v1.0/examples/Remove-MgUserByUserPrincipalName.md @@ -1 +0,0 @@ - diff --git a/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById.md b/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById.md index 8b137891791..e69de29bb2d 100644 --- a/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById.md +++ b/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceExclusionMemberById.md @@ -1 +0,0 @@ - diff --git a/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById.md b/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById.md index 8b137891791..e69de29bb2d 100644 --- a/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById.md +++ b/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesDeploymentAudienceMemberById.md @@ -1 +0,0 @@ - diff --git a/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMember.md b/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMember.md index 8b137891791..e69de29bb2d 100644 --- a/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMember.md +++ b/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMember.md @@ -1 +0,0 @@ - diff --git a/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMemberById.md b/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMemberById.md index 8b137891791..e69de29bb2d 100644 --- a/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMemberById.md +++ b/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceExclusionMemberById.md @@ -1 +0,0 @@ - diff --git a/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceMemberById.md b/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceMemberById.md index 8b137891791..e69de29bb2d 100644 --- a/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceMemberById.md +++ b/src/WindowsUpdates/beta/examples/Remove-MgBetaWindowsUpdatesPolicyAudienceMemberById.md @@ -1 +0,0 @@ - diff --git a/src/WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesPolicyAudienceById.md b/src/WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesPolicyAudienceById.md index 8b137891791..e69de29bb2d 100644 --- a/src/WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesPolicyAudienceById.md +++ b/src/WindowsUpdates/beta/examples/Update-MgBetaWindowsUpdatesPolicyAudienceById.md @@ -1 +0,0 @@ -